forgeplus-react/src/modules/tpm/css/header.css

150 lines
2.7 KiB
CSS

.newHeader {
background: #fff;
width: 100%;
height: 60px;
min-width: 1200px;
position: fixed;
top: 0px;
left: 0px;
z-index: 99;
-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.1);
box-shadow: 0px 0px 12px rgba(0,0,0,0.1);
}
.educontent {
width: 1200px;
margin: 0 auto;
}
.head-nav {
text-align: center;
height: 60px;
box-sizing: border-box;
width:100%;
padding:0px 70px
}
.newHeader .logoimg {
margin-top: 12px;
float: left;
width: 48px;
}
.headerLeft {
-ms-flex: 1 1;
flex: 1 1;
}
.head-nav ul#header-nav {
position: absolute;
top: 0px;
z-index: 3;
height: 60px;
box-sizing: border-box;
}
.head-nav ul#header-nav li {
float: left;
height: 60px;
line-height: 60px;
padding: 0px 24px;
cursor: pointer;
position: relative;
font-size: 16px;
}
.head-nav ul#header-nav li a {
display: block;
height: 100%;
width: 100%;
color: #333;
position: relative;
}
.head-nav ul#header-nav li:hover a, .head-nav ul#header-nav li.active a{
color: #1484EF;
}
.head-nav ul#header-nav li.active a::after{
content: "";
width: 100%;
height:2px;
background-color: #1484EF;
left:0px;
bottom: 12px;
position: absolute;
}
.headRightboxuse {
-ms-flex: 2 1;
flex: 2 1;
margin-right: 15px;
}
.headRightbox, .headRightboxuse {
display: -ms-flexbox;
display: flex;
}
.edu-menu-panel {
position: relative;
cursor: pointer;
}
.edu-menu-panel:hover .edu-menu-list{
display: block;
}
ul.edu-menu-list li:hover{
background: #fafafa !important;
/* color: #1484EF !important */
}
ul.edu-menu-list li:hover > a{color: #1484EF !important;}
.headRighthint, .headRightpan, .headRightwrite {
width: 48px;
height: 60px;
line-height: 60px;
}
.color-white {
color: #ffffff!important;
}
em.vertical-line {
display: inline-block;
width: 2px;
background: #999;
height: 10px;
}
.edu-menu-list {
position: absolute;
padding: 5px 0px;
box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
display: none;
width: 120px;
background: #FFFFff;
right: -5px;
border-radius: 0px 0px 4px 4px;
color: #05101a;
font-size: 14px;
z-index: 100;
}
.edu-menu-list li {
width: 100%;
padding: 0px 15px;
box-sizing: border-box;
height: 35px;
line-height: 35px;
cursor: pointer;
}
.edu-menu-list li a, .edu-menuSmall-list li a {
width: 100%;
height: 100%;
display: block;
color: #323232;
text-align: center;
}
.currentName {
display: block;
width: 100%;
padding: 0px 15px;
height: 40px;
line-height: 40px;
font-size: 16px;
box-sizing: border-box;
cursor: default;
text-align: center;
}
.border-Bgrey-eb {
border-bottom: 1px solid #ebebeb;
}
.task-hide {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}