Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: scss/_form.scss

Issue 29646555: Issue 6210 - Implement Subscription (Double-opt-in) template for newsletter (Closed)
Patch Set: Update hgignore Created Dec. 21, 2017, 11:50 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld