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
|
|
|
|
|
|
|
li {
|
2019-03-26 19:35:47 +08:00
|
|
|
flex: 1 0 0;
|
2019-04-15 14:47:40 +08:00
|
|
|
|
|
|
|
.flex-column;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-03-29 03:28:55 +08:00
|
|
|
cursor: pointer;
|
2019-04-15 14:47:40 +08:00
|
|
|
padding: 4px 0 8px 0;
|
2019-03-21 17:32:58 +08:00
|
|
|
|
2019-03-29 03:28:55 +08:00
|
|
|
border-top: 4px solid transparent;
|
2019-04-15 14:47:40 +08:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2019-03-22 22:35:04 +08:00
|
|
|
|
|
|
|
&.active {
|
2019-03-29 23:28:26 +08:00
|
|
|
border-top-color: var(--primary);
|
2019-04-12 19:34:28 +08:00
|
|
|
color: var(--primary);
|
2019-03-22 22:35:04 +08:00
|
|
|
}
|
2019-04-15 14:47:40 +08:00
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
span:not([id]) { display: none; }
|
|
|
|
}
|
2019-03-21 17:32:58 +08:00
|
|
|
}
|
|
|
|
}
|