cyp/app/css/nav.less

25 lines
317 B
Text
Raw Normal View History

2019-03-21 17:32:58 +08:00
nav ul {
margin: 0;
padding: 0;
list-style: none;
2019-04-03 01:19:46 +08:00
.flex-row;
2019-03-21 17:32:58 +08:00
2019-03-29 05:52:57 +08:00
.icon {
2019-03-29 23:28:26 +08:00
display: block;
margin: 4px auto;
2019-03-29 05:52:57 +08:00
}
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-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 23:28:26 +08:00
border-top-color: var(--primary);
2019-03-22 22:35:04 +08:00
}
2019-03-21 17:32:58 +08:00
}
}