summaryrefslogtreecommitdiff
path: root/res/css/partials/input-bar.scss
diff options
context:
space:
mode:
authorOfer Lehr <ofer@oferlehr.com>2014-12-08 08:58:25 +0200
committerOfer Lehr <ofer@oferlehr.com>2014-12-08 08:58:25 +0200
commit326d3256d218323031b2b87d31ae313e73f5d2cd (patch)
tree7d9d86ec5f7940b2fdd02cb8cd5fd38701bc0e9a /res/css/partials/input-bar.scss
parentc780f13d27a23d21446cc260336cb95dc0ccb38c (diff)
better looking search suggestion
- fixes bug that hides the suggestions behind the input bar - suggestion items are now highlighted on hover - better positioning - larger font size for search bar suggestions
Diffstat (limited to 'res/css/partials/input-bar.scss')
-rw-r--r--res/css/partials/input-bar.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/res/css/partials/input-bar.scss b/res/css/partials/input-bar.scss
index 913c7e48..11a821bb 100644
--- a/res/css/partials/input-bar.scss
+++ b/res/css/partials/input-bar.scss
@@ -56,25 +56,26 @@
}
.suggestion{
+ position: relative;
color: $dark-grey;
max-height: 580px;
overflow-y: scroll;
font-size: $h3-size;
list-style-type: none;
width: inherit;
- position: relative;
margin-top: 6px;
border: 1px solid $mid-grey;
@include rz-box-sizing-border;
background: white;
- // this box should have a shadow but we need a js solution to hide it before its appears - @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) );
+ z-index: 100;
+ @include rz-box-shadow(0px, 3px, 6px, 0px, rgba(0,0,0,0.3) );
}
.suggestion-item {
padding: 6px 0px 6px 18px;
}
-.suggestion .selected {
+.suggestion-item.selected, .suggestion-item:hover {
padding-left: 16px;
background-color: $light-grey;
border-left: 2px solid $cyan;