diff options
| author | Ofer Lehr <ofer@oferlehr.com> | 2014-12-05 23:40:06 +0200 |
|---|---|---|
| committer | Ofer Lehr <ofer@oferlehr.com> | 2014-12-05 23:41:01 +0200 |
| commit | 37aa73b88961f6188d6608dd32eee32080d6c409 (patch) | |
| tree | 0200df39d7d831672b7a04a1da456dd6efdbae7c /res/css/partials | |
| parent | bcde522ed96dc407aa4b71f6842767fe69a95d50 (diff) | |
fixes #182
Also started using mixins for browser prefixes - box shadow and box
sizing
Diffstat (limited to 'res/css/partials')
| -rw-r--r-- | res/css/partials/input-bar.scss | 14 | ||||
| -rw-r--r-- | res/css/partials/search-bar.scss | 6 | ||||
| -rw-r--r-- | res/css/partials/task-alert.scss | 2 |
3 files changed, 12 insertions, 10 deletions
diff --git a/res/css/partials/input-bar.scss b/res/css/partials/input-bar.scss index 76b3c29a..4e87c369 100644 --- a/res/css/partials/input-bar.scss +++ b/res/css/partials/input-bar.scss @@ -1,3 +1,5 @@ +@import '../modules/mixins'; + .input-container { position: fixed; margin: $two-baselines 0 0 $doc-margin; @@ -12,9 +14,10 @@ font-family: $base-font-family; color: $mid-grey; max-height: $three-baselines; - width: 260px; + width: 280px; padding: 6px 8px 5px 8px; border: 1px solid $mid-grey; + @include rz-box-sizing-border; background: white; transition-property: width; transition-duration: 200ms; @@ -22,9 +25,8 @@ &:focus { border: 1px solid $mid-grey; width: 520px; - -webkit-box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.3); - -moz-box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.3); - box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.3); } + @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) ); + } } #textanalyser.ui-autocomplete-input { @@ -33,6 +35,7 @@ } .add-button { + float: right; background: url(../img/plus-button.png); background-position: center; background-repeat: no-repeat; @@ -40,9 +43,8 @@ position:relative; height: 36px; width: 36px; - left: -39px; + left: -36px; border: 0; - top: 9px; } .add-button:hover { diff --git a/res/css/partials/search-bar.scss b/res/css/partials/search-bar.scss index 3fcbe378..cd671f33 100644 --- a/res/css/partials/search-bar.scss +++ b/res/css/partials/search-bar.scss @@ -1,10 +1,10 @@ +@import '../modules/mixins'; + .search-bar{ width:100%; 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); - box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3); + @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) ); z-index: 100; } diff --git a/res/css/partials/task-alert.scss b/res/css/partials/task-alert.scss index b33a2da6..211bc58f 100644 --- a/res/css/partials/task-alert.scss +++ b/res/css/partials/task-alert.scss @@ -7,7 +7,7 @@ color: $darker-cyan; border-top: 1px solid $dark-cyan; border-bottom: 1px solid $dark-cyan; - z-index: 1; + z-index: -1; } .task-desc{ |
