blob: 4faa4d107f800a656e9fdf60b131c450d5ad563e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
@import 'vars';
$form-field-label-width: 120px;
form { display: block; margin: 0; }
.form-layout-h {
.form-field-wrap {
padding: 8px 0;
}
.form-field-label {
float: left;
width: $form-field-label-width;
text-align: right;
padding: 7px 0 0;
}
.form-field {
margin-left: $form-field-label-width + 10px;
}
}
.form-layout-v {
.form-field-wrap {
padding: 6px 0;
}
.form-field-wrap:first-child {
padding-top: 0;
}
.form-field-wrap:last-child {
padding-bottom: 0;
}
.form-field-label {
padding: 0 0 4px 4px;
font-weight: bold;
font-size: 12px;
letter-spacing: 0.5px;
text-transform: uppercase;
color: #888;
}
.form-field {
//margin-left: $form-field-label-width + 10px;
}
}
.form-error {
padding: 10px 13px;
margin-bottom: $base-padding;
background-color: $error-block-bg;
color: $error-block-fg;
@include radius(3px);
}
.form-success {
padding: 10px 13px;
margin-bottom: $base-padding;
background-color: $success-block-bg;
color: $success-block-fg;
@include radius(3px);
}
|