summaryrefslogtreecommitdiff
path: root/res/css/partials/search-bar.scss
diff options
context:
space:
mode:
authorOfer Lehr <ofer@oferlehr.com>2014-12-01 22:44:03 +0200
committerAlon Levy <alon@pobox.com>2014-12-01 22:51:59 +0200
commitcb6df11ee9adb431edf5897ebed16b2483b98d29 (patch)
tree013d755d9a2a94a178c89d307b48cf5eace41518 /res/css/partials/search-bar.scss
parentbb627660a9cf0ce17375d3cdfc01274d2e559ba7 (diff)
changed position css and input bar
Diffstat (limited to 'res/css/partials/search-bar.scss')
-rw-r--r--res/css/partials/search-bar.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/res/css/partials/search-bar.scss b/res/css/partials/search-bar.scss
index b9c37f40..94566de2 100644
--- a/res/css/partials/search-bar.scss
+++ b/res/css/partials/search-bar.scss
@@ -1,6 +1,6 @@
.search-bar{
width:100%;
- height:$search-bar-height;
+ height:$four-baselines;
background: white;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
@@ -10,16 +10,16 @@
.search-input{
position: fixed;
width: 100%;
- top: $top-bar-height+($search-bar-height - $search-icon-height)/2;
- height:$search-icon-height;
+ top: $three-baselines+($four-baselines - $icon-height)/2;
+ height:$icon-height;
left: $doc-margin + 40px;
}
.search-icon {
position:fixed;
width:20px;
- height:$search-icon-height;
+ height:$icon-height;
left: $doc-margin;
- top: $top-bar-height+($search-bar-height - $search-icon-height)/2;
+ top: $three-baselines+($four-baselines - $icon-height)/2;
}
input {