summaryrefslogtreecommitdiff
path: root/res/css/style.css
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/style.css
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/style.css')
-rw-r--r--res/css/style.css25
1 files changed, 21 insertions, 4 deletions
diff --git a/res/css/style.css b/res/css/style.css
index 155d4f25..0caedff0 100644
--- a/res/css/style.css
+++ b/res/css/style.css
@@ -383,24 +383,28 @@ body.debug .debug-ui-right {
outline: none; }
.suggestion {
+ position: relative;
color: #363636;
max-height: 580px;
overflow-y: scroll;
font-size: 18px;
list-style-type: none;
width: inherit;
- position: relative;
margin-top: 6px;
border: 1px solid #919095;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
- background: white; }
+ background: white;
+ z-index: 100;
+ -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.3);
+ 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: #f5f5fa;
border-left: 2px solid #33c2e0;
@@ -542,6 +546,7 @@ body.debug .debug-ui-right {
margin: 24px 0px 24px 0px; }
.search-bar {
+ position: relative;
width: 100%;
height: 48px;
background: white;
@@ -563,11 +568,23 @@ body.debug .debug-ui-right {
background-position: center;
background-repeat: no-repeat; }
-input {
+#search {
font-family: "Source_Regular", sans-serif;
font-size: 18px;
width: 80%; }
+#search-suggestion {
+ position: absolute;
+ width: 70%;
+ margin-left: 70px;
+ top: 42px; }
+
+#search-suggestion .suggestion-item {
+ padding: 12px 0px 12px 24px; }
+
+#search-suggestion .suggestion-item.selected, #search-suggestion .suggestion-item:hover {
+ padding: 12px 0px 12px 22px; }
+
.export {
cursor: pointer;
text-align: right;