aboutsummaryrefslogtreecommitdiff
path: root/frontend/style.sass
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2023-08-09 23:46:30 +0200
committerLia Lenckowski <lialenck@protonmail.com>2023-08-09 23:46:30 +0200
commit07c60f4f45685bc97510e4938aef0f36b63a542e (patch)
tree8a9834a4b01d11e1c0ed8ec4f380c545f73348d7 /frontend/style.sass
parenta6a8ad317d42ad29f0902f9ae1f820d92f9bf737 (diff)
downloadfastbangs-07c60f4f45685bc97510e4938aef0f36b63a542e.tar
fastbangs-07c60f4f45685bc97510e4938aef0f36b63a542e.tar.bz2
fastbangs-07c60f4f45685bc97510e4938aef0f36b63a542e.tar.zst
css/infrastructure for bang search suggestions dropdown
Diffstat (limited to 'frontend/style.sass')
-rw-r--r--frontend/style.sass36
1 files changed, 31 insertions, 5 deletions
diff --git a/frontend/style.sass b/frontend/style.sass
index ca3921b..31827b2 100644
--- a/frontend/style.sass
+++ b/frontend/style.sass
@@ -41,7 +41,7 @@ section.engine-select
flex-direction: row
flex-wrap: wrap
li
- background-color: #000000
+ background-color: black
border-radius: 0.5em
padding: 1em
margin: 0.5em
@@ -51,6 +51,32 @@ section.engine-select
transition: background-color 0.1s ease-out
&:hover
background-color: $ac-dark
+ &#select-engine-li
+ position: relative
+ ul.dropdown
+ position: absolute
+ display: none
+ left: 1em
+ padding: 0
+ background-color: $dark
+ background-color: black
+ border: 0.15em solid $light
+ border-top: 0
+ border-radius: 0.5em
+ cursor: pointer
+ li
+ padding: 1em
+ margin: 0
+ background-color: #000
+ &:hover
+ background-color: $ac-dark
+ p
+ margin: 0
+ &.name
+ color: white
+ &.bang
+ color: gray
+ font-size: small
section.search
width: 100vw
@@ -92,7 +118,7 @@ label
margin-right: 1em
a
- color: $light
- transition: color 0.2s
- &:hover
- color: $ac-light
+ color: $light
+ transition: color 0.2s
+ &:hover
+ color: $ac-light