Add $input-shadow variable (#925)

* Add $input-shadow variable

* Remove unnecessary :
This commit is contained in:
Wikiki 2017-07-26 22:22:30 +02:00 committed by Jeremy Thomas
parent aa2fc0d527
commit 459d544c8c

View File

@ -1,6 +1,7 @@
$input: $grey-darker !default $input: $grey-darker !default
$input-background: $white !default $input-background: $white !default
$input-border: $grey-lighter !default $input-border: $grey-lighter !default
$input-shadow: inset 0 1px 2px rgba($black, 0.1) !default
$input-hover: $grey-darker !default $input-hover: $grey-darker !default
$input-hover-border: $grey-light !default $input-hover-border: $grey-light !default
@ -43,7 +44,7 @@ $input-radius: $radius !default
.input, .input,
.textarea .textarea
+input +input
box-shadow: inset 0 1px 2px rgba($black, 0.1) box-shadow: $input-shadow
max-width: 100% max-width: 100%
width: 100% width: 100%
&[type="search"] &[type="search"]