Struktura navigace v hlavičce

content
Emil Miler 4 years ago
parent 5bed568213
commit b8098d962e

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

Loading…
Cancel
Save