cyp/app/css/nav.less

37 lines
578 B
Text
Raw Permalink 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
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 {
2019-04-16 14:40:16 +08:00
margin-right: var(--icon-spacing);
2019-04-15 14:47:40 +08:00
}
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-04-15 15:48:27 +08:00
background-color: rgb(var(--primary-raw), 0.1);
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;
2019-04-16 04:32:40 +08:00
&:not([data-for=queue]) .icon { margin-right: 0; }
2019-04-15 14:47:40 +08:00
span:not([id]) { display: none; }
}
2019-03-21 17:32:58 +08:00
}
}