158 lines
2.8 KiB
Plaintext
Executable File
158 lines
2.8 KiB
Plaintext
Executable File
@import '../../global.less';
|
|
|
|
.header {
|
|
min-width: 1200px;
|
|
[class~='ant-layout-header'] {
|
|
padding: 0;
|
|
height: 60px;
|
|
}
|
|
|
|
.logo {
|
|
height: 36px;
|
|
}
|
|
}
|
|
|
|
.headerFixed {
|
|
position: fixed;
|
|
top: 0px;
|
|
z-index: 999;
|
|
width: 100%;
|
|
|
|
& + section {
|
|
padding-top: 60px;
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
margin: 0;
|
|
padding: 0;
|
|
// margin-left: 30px;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
|
|
li {
|
|
// display: inline-block;
|
|
margin-right: 30px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
&:hover {
|
|
a {
|
|
color: @light-text;
|
|
}
|
|
}
|
|
|
|
&.actived {
|
|
a {
|
|
color: #5091ff;
|
|
}
|
|
|
|
// &::after {
|
|
// content: '';
|
|
// width: 18px;
|
|
// height: 2px;
|
|
// background-color: @primary;
|
|
// position: absolute;
|
|
// bottom: 14px;
|
|
// left: 0;
|
|
// }
|
|
}
|
|
|
|
a {
|
|
color: #fff;
|
|
position: relative;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.edu-menu {
|
|
display: flex;
|
|
width: 100%;
|
|
padding: 0 0 0 25px;
|
|
height: 60px;
|
|
min-width: 1200px;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.newslight {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 5px;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 10px;
|
|
background: @red;
|
|
}
|
|
|
|
.classromediv {
|
|
animation: glow 200ms ease-out infinite alternate;
|
|
}
|
|
|
|
@keyframes glow {
|
|
0% {
|
|
border-color: #00fff9;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
background: rgba(0, 255, 249, 0.2);
|
|
width: 80px;
|
|
box-shadow: 0 0 5px rgba(0, 255, 249, 0.2);
|
|
}
|
|
100% {
|
|
border-color: #00fff9;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
background: rgba(0, 255, 249, 0.2);
|
|
width: 80px;
|
|
box-shadow: 0 0 8px rgba(0, 255, 249, 0.6);
|
|
}
|
|
}
|
|
.spandiv {
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
background: rgba(0, 255, 249, 0.2);
|
|
width: 80px;
|
|
// box-shadow: 0 0 5px rgba(0, 255, 249, 0.6);
|
|
}
|
|
.dropLi{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
.dropDown {
|
|
position: fixed;
|
|
top: 58px;
|
|
background-color: #ffffff;
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
transition: height 0.2s ease-in-out;
|
|
overflow: hidden;
|
|
padding-left: 0px!important;
|
|
box-shadow:0px 0px 6px rgba(6, 44, 107, 0.15);
|
|
.dropDownItem {
|
|
height: 46px !important;
|
|
line-height: 46px !important;
|
|
padding-right:unset;
|
|
position: relative;
|
|
margin-right: 0px!important;
|
|
padding:0px 20px;
|
|
a {
|
|
color: #252b3a !important;
|
|
display: inline-block;
|
|
height: 100%;
|
|
max-width: 160px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
&:hover {
|
|
background-color: #ebf0ff;
|
|
}
|
|
}
|
|
}
|
|
} |