cyp/app/css/nav.less

26 lines
343 B
Text
Raw Normal View History

2019-03-21 17:32:58 +08:00
nav ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: row;
2019-03-29 05:52:57 +08:00
.icon {
margin-right: 4px;
}
2019-03-21 17:32:58 +08:00
li {
text-align: center;
2019-03-26 19:35:47 +08:00
flex: 1 0 0;
2019-03-21 17:32:58 +08:00
line-height: 40px;
2019-03-29 03:28:55 +08:00
cursor: pointer;
2019-03-21 17:32:58 +08:00
2019-03-29 03:28:55 +08:00
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
2019-03-22 22:35:04 +08:00
&.active {
2019-03-29 03:28:55 +08:00
border-top-color: dodgerblue;
2019-03-22 22:35:04 +08:00
}
2019-03-21 17:32:58 +08:00
}
}