forked from kittv/web
1
0
Fork 0

Struktura navigace v hlavičce

content
Emil Miler 4 years ago
parent 5bed568213
commit b8098d962e

@ -65,11 +65,17 @@ header {
display: flex;
position: relative;
a { padding: .9rem }
a {
display: flex;
align-items: center;
padding: .9em;
white-space: nowrap;
}
li:hover { color: var(--color) }
// rolldown
&:hover>li>div {
visibility: hidden;
visibility: bhidden;
transition: none;
}
li:hover>div {
@ -88,7 +94,6 @@ header {
left: 0;
top: 100%;
width: 100%;
margin-top: .9rem;
padding: 1rem;
background-color: #FFF;
font-size: 1rem;
@ -106,23 +111,16 @@ header {
color: var(--color);
}
ul {
flex-direction: column;
a {
display: flex;
align-items: center;
padding: .5em;
[class^="ri-"], [class*=" ri-"] {
// columns
ul { flex-direction: column }
ul a { padding: .5em }
ul a [class^="ri-"], ul a [class*=" ri-"] {
color: var(--color);
margin-right: .5em;
}
}
}
}
}
}
nav.secondary {
font-size: .9rem;

Loading…
Cancel
Save