Skip to content

Commit 969a6d1

Browse files
committed
#2866: _webform.scss, implement variables, reorder definitions
1 parent f3a3092 commit 969a6d1

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

src/scss/_webform.scss

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,29 @@
2525
}
2626

2727
form {
28-
margin: .625rem auto;
29-
padding: 0 0 .625rem 1.25rem;
30-
3128
input,
3229
select,
3330
textarea {
34-
border:1px solid #BEBEBE;
31+
border:1px solid #gray-5;
3532
box-sizing: border-box;
3633
-webkit-box-sizing: border-box;
3734
-moz-box-sizing: border-box;
3835
padding: .438rem;
39-
margin:0px;
40-
-moz-transition: all 0.30s ease-in-out;
41-
-ms-transition: all 0.30s ease-in-out;
42-
-o-transition: all 0.30s ease-in-out;
36+
margin: 0;
37+
-moz-transition: all .30s ease-in-out;
38+
-ms-transition: all .30s ease-in-out;
39+
-o-transition: all .30s ease-in-out;
4340
outline: none;
44-
-webkit-transition: all 0.30s ease-in-out;
41+
-webkit-transition: all .30s ease-in-out;
4542
}
4643

4744
input:focus,
4845
select:focus,
4946
textarea:focus {
50-
border: 1px solid #88D5E9;
51-
box-shadow: 0 0 .5rem #88D5E9;
52-
-moz-box-shadow: 0 0 .5rem #88D5E9;
53-
-webkit-box-shadow: 0 0 .5rem #88D5E9;
47+
border: 1px solid $focus;
48+
box-shadow: 0 0 .5rem $focus;
49+
-moz-box-shadow: 0 0 .5rem $focus;
50+
-webkit-box-shadow: 0 0 .5rem $focus;
5451
}
5552

5653
fieldset {
@@ -72,15 +69,15 @@ form {
7269
}
7370

7471
label {
75-
color: $gray-6;
72+
color: $gray-7;
7673
}
7774

7875
.input-block {
7976
border: 1px solid $gray-4;
8077
border-radius: .1875rem;
8178
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .085);
8279
box-sizing: border-box;
83-
color: $gray-6;
80+
color: $gray-7;
8481
display: block;
8582
font-size: .875rem;
8683
padding: .425rem .55rem;
@@ -89,7 +86,7 @@ form {
8986

9087
legend {
9188
font-size: .938rem;
92-
color: $gray-6;
89+
color: $gray-7;
9390
padding: 0 $gutter-1 / 4;
9491
}
9592
}
@@ -108,6 +105,14 @@ fieldset .error {
108105
padding-top: 1.25rem;
109106
}
110107

108+
.analysis-container {
109+
form {
110+
margin: .625rem auto;
111+
padding: 0 0 .625rem 1.25rem;
112+
113+
}
114+
}
115+
111116
.login-form {
112117
margin: 0 auto;
113118
width: 24rem;
@@ -145,7 +150,7 @@ fieldset .error {
145150
}
146151

147152
.register-form {
148-
color: $gray-6;
153+
color: $gray-7;
149154
margin: 0 auto;
150155
width: 28rem;
151156

@@ -155,7 +160,7 @@ fieldset .error {
155160
}
156161

157162
label {
158-
color: $gray-6;
163+
color: $gray-7;
159164
display: block;
160165
font-weight: 600;
161166
margin: 0 0 .4rem;

0 commit comments

Comments
 (0)