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/input-bar.scss | |
| parent | bcde522ed96dc407aa4b71f6842767fe69a95d50 (diff) | |
fixes #182
Also started using mixins for browser prefixes - box shadow and box
sizing
Diffstat (limited to 'res/css/partials/input-bar.scss')
| -rw-r--r-- | res/css/partials/input-bar.scss | 14 |
1 files changed, 8 insertions, 6 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 { |
