search field working
This commit is contained in:
parent
4a310dcbbe
commit
4142493f0e
3 changed files with 51 additions and 18 deletions
|
|
@ -62,27 +62,33 @@
|
|||
}
|
||||
|
||||
.search {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
width: calc(100% - 2 * var(--unit--horizontal));
|
||||
background-color: #000;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
padding-top: calc(var(--unit--vertical) * 5);
|
||||
}
|
||||
.search__input {
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
padding-bottom: calc(var(--unit--vertical) / 4);
|
||||
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;
|
||||
bottom: calc(var(--unit--vertical) / 4);
|
||||
right: calc(var(--unit--horizontal) / 2);
|
||||
}
|
||||
|
||||
.panel__result .panel__items {
|
||||
.panel__items {
|
||||
margin-top: calc(var(--unit--vertical) * 2);
|
||||
margin-bottom: calc(var(--unit--vertical) * 4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue