_field.scss
1.4 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@import 'base';
// DEPRECATED use bootstrap instead
//use with sass nested import
.field-title {
text-transform: uppercase;
font-weight: bold;
}
.field {
clear: both;
@extend .container-clean;
label {
display: block;
float: left;
padding-top: $half-padding;
font-weight: bold;
line-height: 20px;
}
.field-box {
clear: both;
float: left;
width: 100%;
}
.help-block {
clear: both;
font-size: 10px;
}
.form-control {
display: inline-block;
}
}
.field-radio {
clear: both;
margin-bottom: $half-padding;
input {
float: left;
margin-left: 0;
}
label {
font-weight: normal;
line-height: 10px;
text-transform: lowercase;
margin-left: $half-padding;
}
}
form {
margin: 0; /* come on browsers!? */
}
label {
&.field-bellow {
display: block;
margin-bottom: $half-padding;
font-size: 10px;
}
}
select,
input[type=text], input[type=password] {
}
select {
background-color: #fff;
padding-left: $half-padding;
}
input {
&.date-select,
&.time-select {
width: 94px;
}
&[type=text] {
padding: $half-padding;
margin: 0;
}
&[type=checkbox] {
width: 12px;
height: 12px;
margin: 0;
}
}
textarea {
height: 8*$height;
padding-left: $half-padding;
margin-bottom: 10px;
}
a.button.colorbox-close,
#wrap-1 input[type=submit],
input[type=submit] {
@extend .action-button;
}