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; 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,23 +111,16 @@ 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;
align-items: center;
padding: .5em;
[class^="ri-"], [class*=" ri-"] {
color: var(--color); color: var(--color);
margin-right: .5em; margin-right: .5em;
} }
} }
} }
} }
}
}
nav.secondary { nav.secondary {
font-size: .9rem; font-size: .9rem;

Loading…
Cancel
Save