fr
/
web
forked from kittv/web
1
0
Fork 0

Základní styly pro search bar

search
Emil Miler 4 years ago
parent 2d6c53ea87
commit e77e6af42c

@ -113,12 +113,29 @@ header {
} }
nav.secondary { nav.secondary {
display: flex;
align-items: center;
font-size: .9rem; font-size: .9rem;
color: #4C566A; color: #4C566A;
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
.search {
display: flex;
align-items: center;
margin-left: auto;
padding: .4em;
border: 1px solid #D8DEE9;
font-size: 1.2em;
input {
margin-right: .1em;
border: none;
outline: none;
}
}
} }
nav.primary { nav.primary {

@ -7,6 +7,10 @@
<section> <section>
<nav class="secondary"> <nav class="secondary">
{{ macro::nav_list_items(items=config.extra.nav_secondary) }} {{ macro::nav_list_items(items=config.extra.nav_secondary) }}
<div class="search">
<input type="text">
<span class="icon-search-line"></span>
</div>
</nav> </nav>
<nav class="primary"> <nav class="primary">
{{ macro::nav_list_items_main(items=config.extra.nav_primary) }} {{ macro::nav_list_items_main(items=config.extra.nav_primary) }}

Loading…
Cancel
Save