diff options
Diffstat (limited to 'src/scss/components/_input.scss')
-rw-r--r-- | src/scss/components/_input.scss | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/src/scss/components/_input.scss b/src/scss/components/_input.scss index e2d7338..347e98c 100644 --- a/src/scss/components/_input.scss +++ b/src/scss/components/_input.scss | |||
@@ -1,14 +1,8 @@ | |||
1 | $input-padding : $baseline-x2 $baseline-x2; | 1 | $input-padding : $baseline-x2 $baseline-x4 $baseline-x2 $baseline; |
2 | $button-bgcolor : $color-blue; | 2 | $input-bgcolor-hover : darken($color-blue, 10%); |
3 | $button-bgcolor-hover : darken($color-blue, 10%); | 3 | $input-bgcolor : $color-white; |
4 | $button-color : $color-white; | 4 | $input-radius : 3px; |
5 | $input-bgcolor : darken($color-white, 5%); | 5 | $input-border-color: darken($color-grey-light, 5%); |
6 | $button-radius : 3px; | ||
7 | |||
8 | $button-outline-padding : ( $baseline-x2 - 2 )( $baseline-x3 - 2 ); | ||
9 | $button-outline-bgcolor: transparent; | ||
10 | $button-outline-color: $color-blue; | ||
11 | $button-outline-color-hover: darken( $color-blue, 10% ); | ||
12 | 6 | ||
13 | .c-input { | 7 | .c-input { |
14 | padding: $input-padding; | 8 | padding: $input-padding; |
@@ -17,13 +11,14 @@ $button-outline-color-hover: darken( $color-blue, 10% ); | |||
17 | white-space: nowrap; | 11 | white-space: nowrap; |
18 | vertical-align: middle; | 12 | vertical-align: middle; |
19 | text-decoration: none; | 13 | text-decoration: none; |
20 | background-color: $color-grey-light; | 14 | background-color: $input-bgcolor; |
21 | color: $color-black; | 15 | color: $color-black; |
22 | border-style: none; | 16 | border-style: solid; |
23 | border-color: grey; | 17 | border-width: 1px; |
24 | border-radius: $button-radius; | 18 | border-color: $color-grey; |
19 | border-radius: $input-radius; | ||
25 | } | 20 | } |
26 | 21 | ||
27 | .c-input:focus { | 22 | .c-input:focus { |
28 | box-shadow: 0 0 2px 2px $button-bgcolor-hover; | 23 | box-shadow: 0 0 2px 2px $input-bgcolor-hover; |
29 | } | 24 | } |