1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

Adding _sass/component/_search.scss

This commit is contained in:
Henrik Hautakoski 2022-01-25 12:47:01 +01:00
parent d89171b830
commit b688dfcd8c
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -0,0 +1,59 @@
.search {
input {
width: 100%;
border: 1px solid $border-gray-light;
border-radius: 2px;
padding: .4em .6em;
}
&-results {
width: 100%;
position: relative;
ul {
position: absolute;
top: .2em;
width: 100%;
z-index: 50;
list-style: none;
li {
padding: .4em .6em;
border: 1px solid $border-gray-light;
background: white;
> div {
display: flex;
justify-content: space-between;
}
&:hover {
background: $gray-100;
}
}
li + li {
border-top-width: 0px;
border-bottom-width: 1px;
}
}
&-name {
font-weight: bold;
}
&-version {
font-size: $font-size-small;
}
&-archive {
font-family: $mono-font;
font-size: $font-size-small;
}
&-description {
font-size: $font-size-small;
color: $text-gray;
}
}
}