Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 /******************************************************************************* | |
2 * Form | |
3 ******************************************************************************/ | |
4 | |
5 input, | |
6 .button | |
7 { | |
8 width: 100%; | |
9 height: 40px; | |
juliandoucette
2017/12/21 22:06:52
NIT: I'd prefer an em value here
ire
2017/12/22 10:33:26
Done.
| |
10 border-radius: 4px; | |
juliandoucette
2017/12/21 22:06:52
NIT: I think rounded edges is inconsistent with ad
ire
2017/12/22 10:33:26
Could you leave a comment in the Spec about this p
juliandoucette
2017/12/22 13:32:23
Yes.
| |
11 } | |
12 | |
13 /* Input field | |
14 ******************************************************************************/ | |
15 | |
16 input | |
17 { | |
18 margin-bottom: $small-space; | |
19 padding: 0 $x-small-space; | |
20 border: 1px solid #CDCDCD; | |
juliandoucette
2017/12/21 22:06:52
NIT: These greys are not found in the adblockplus.
ire
2017/12/22 10:33:26
This is the same grey from the adblockplusui
juliandoucette
2017/12/22 13:32:23
My comment stands. I commented in the spec.
| |
21 } | |
22 | |
23 /* Error state | |
24 ******************************************************************************/ | |
25 | |
26 .input_round_error | |
saroyanm
2017/12/21 16:07:58
Suggestion: What about calling the classname .inva
juliandoucette
2017/12/21 22:06:52
We never use underscores. Perhaps this indicates t
ire
2017/12/22 10:33:26
I was using the class added by the default Backcli
ire
2017/12/22 10:33:26
See my reply above.
juliandoucette
2017/12/22 13:32:23
Acknowledged.
| |
27 { | |
28 border-color: $error; | |
29 } | |
30 | |
31 .error-message | |
32 { | |
33 display: none; | |
34 } | |
35 | |
36 .input_round_error + .error-message | |
37 { | |
38 display: block; | |
39 margin-top: -$x-small-space; | |
40 margin-bottom: $small-space; | |
41 color: $error; | |
42 } | |
43 | |
44 /* Buttons | |
45 ******************************************************************************/ | |
46 | |
47 .button | |
saroyanm
2017/12/21 16:07:58
Why are we introducing new button classes, for the
ire
2017/12/22 10:33:26
You're right, this was unnecessary.
Done.
| |
48 { | |
49 border: 0; | |
50 text-transform: uppercase; | |
51 } | |
52 | |
53 .button.secondary | |
54 { | |
55 color: #fff; | |
56 background-color: $secondary; | |
57 } | |
OLD | NEW |