add icon to search field
This commit is contained in:
parent
4a742b81ec
commit
4a310dcbbe
7 changed files with 57 additions and 12 deletions
|
|
@ -61,7 +61,28 @@
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
.panel > ul {
|
||||
.search {
|
||||
position: relative;
|
||||
}
|
||||
.search__input {
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid #fff;
|
||||
color: #fff;
|
||||
font-size: var(--font-size-m);
|
||||
font-weight: var(--font-weight-light);
|
||||
margin-bottom: var(--unit--vertical);
|
||||
}
|
||||
.search__icon {
|
||||
position: absolute;
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
top: 0;
|
||||
right: calc(var(--unit--horizontal) / 2);
|
||||
}
|
||||
|
||||
.panel__result .panel__items {
|
||||
margin-bottom: calc(var(--unit--vertical) * 4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue