rapido-css 0.0.1 → 0.0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +1 -2
- data/stylesheets/_rapido.scss +50 -3
- data/stylesheets/_susy.scss +1 -1
- data/stylesheets/components/_alerts.scss +8 -8
- data/stylesheets/components/_breadcrumbs.scss +3 -3
- data/stylesheets/components/_button-groups.scss +6 -9
- data/stylesheets/components/_buttons.scss +75 -74
- data/stylesheets/components/_captions.scss +4 -0
- data/stylesheets/components/_close.scss +3 -3
- data/stylesheets/components/_dropdowns.scss +10 -57
- data/stylesheets/components/_forms.scss +279 -439
- data/stylesheets/components/_labels.scss +39 -0
- data/stylesheets/components/_modals.scss +29 -13
- data/stylesheets/components/_navs.scss +55 -57
- data/stylesheets/components/_pager.scss +13 -10
- data/stylesheets/components/_pagination.scss +29 -24
- data/stylesheets/components/_responsive-navs.scss +5 -0
- data/stylesheets/components/_sliders.scss +40 -35
- data/stylesheets/components/_tables.scss +29 -31
- data/stylesheets/components/_tabs.scss +4 -0
- data/stylesheets/components/_type.scss +76 -60
- data/stylesheets/settings/_base.scss +17 -10
- data/stylesheets/settings/_colors.scss +4 -4
- data/stylesheets/settings/_components.scss +7 -8
- data/stylesheets/settings/_dimensions.scss +9 -7
- data/stylesheets/settings/_effects.scss +8 -5
- data/stylesheets/utilities/_animations.scss +15 -7
- data/stylesheets/utilities/_debug.scss +4 -0
- data/stylesheets/utilities/_helper-classes.scss +14 -1
- data/stylesheets/utilities/_icon-fonts.scss +33 -8
- data/stylesheets/utilities/_media-queries.scss +5 -0
- data/stylesheets/utilities/_mixins.scss +78 -103
- data/stylesheets/utilities/_sprites.scss +5 -9
- metadata +3 -8
- data/stylesheets/_components.scss +0 -24
- data/stylesheets/_settings.scss +0 -5
- data/stylesheets/_utilities.scss +0 -8
- data/stylesheets/components/_images.scss +0 -0
- data/stylesheets/components/_pills.scss +0 -91
- data/stylesheets/utilities/_retina-sprites.scss +0 -70
@@ -1,513 +1,351 @@
|
|
1
|
+
// ====================================================================================================================
|
2
|
+
// FORMS
|
3
|
+
// ====================================================================================================================
|
4
|
+
|
1
5
|
@if $forms {
|
2
6
|
|
3
|
-
|
4
|
-
|
5
|
-
|
7
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
8
|
+
// Base
|
9
|
+
// --------------------------------------------------------------------------------------------------------------------
|
10
|
+
|
11
|
+
.form {
|
12
|
+
@extend .clearfix;
|
6
13
|
margin: 0 0 em($base-line-height);
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}
|
13
|
-
legend {
|
14
|
-
display: block;
|
15
|
-
width: 100%;
|
16
|
-
padding: 0;
|
17
|
-
@include adjust-font-size-to($h5-size);
|
18
|
-
font-weight: bold;
|
19
|
-
border: 0;
|
20
|
-
padding-bottom: rhythm(.5);
|
21
|
-
margin-bottom: rhythm(.5) - 1;
|
22
|
-
border-bottom: 1px solid #e5e5e5;
|
23
|
-
small {
|
24
|
-
font-size: em($base-font-size);
|
25
|
-
color: $grayLight;
|
14
|
+
|
15
|
+
fieldset {
|
16
|
+
padding: 0;
|
17
|
+
margin: 0;
|
18
|
+
border: 0;
|
26
19
|
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
font-family: $base-font-family;
|
42
|
-
}
|
43
|
-
label {
|
44
|
-
display: block;
|
45
|
-
margin-bottom: em($label-margin-bottom);
|
46
|
-
font-weight: bold;
|
47
|
-
cursor: auto;
|
48
|
-
}
|
49
|
-
textarea,
|
50
|
-
input[type="text"],
|
51
|
-
input[type="password"],
|
52
|
-
input[type="datetime"],
|
53
|
-
input[type="datetime-local"],
|
54
|
-
input[type="date"],
|
55
|
-
input[type="month"],
|
56
|
-
input[type="time"],
|
57
|
-
input[type="week"],
|
58
|
-
input[type="number"],
|
59
|
-
input[type="email"],
|
60
|
-
input[type="url"],
|
61
|
-
input[type="search"],
|
62
|
-
input[type="tel"],
|
63
|
-
input[type="color"],
|
64
|
-
.uneditable-input {
|
65
|
-
@include border-radius($base-border-radius);
|
66
|
-
display: inline-block;
|
67
|
-
// font-size: $base-font-size;
|
68
|
-
// line-height: $base-line-height;
|
69
|
-
// @include adjust-font-size-to($base-font-size);
|
70
|
-
padding: $input-padding;
|
71
|
-
// padding: 0 $input-padding-side;
|
72
|
-
vertical-align: middle;
|
73
|
-
height: $input-height;
|
74
|
-
// height: auto;
|
75
|
-
border-width: $input-border;
|
76
|
-
border-style: solid;
|
77
|
-
@extend %input !optional;
|
78
|
-
&:focus {
|
79
|
-
outline: 0;
|
20
|
+
legend {
|
21
|
+
display: block;
|
22
|
+
width: 100%;
|
23
|
+
padding: 0;
|
24
|
+
@include adjust-font-size-to($h5-size);
|
25
|
+
font-weight: bold;
|
26
|
+
border: 0;
|
27
|
+
padding-bottom: rhythm(.5);
|
28
|
+
margin-bottom: rhythm(.5) - 1;
|
29
|
+
border-bottom: 1px solid #e5e5e5;
|
30
|
+
small {
|
31
|
+
font-size: em($base-font-size);
|
32
|
+
color: $grayLight;
|
33
|
+
}
|
80
34
|
}
|
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
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
select[size] {
|
124
|
-
height: auto;
|
125
|
-
}
|
126
|
-
select:focus,
|
127
|
-
input[type="file"]:focus,
|
128
|
-
input[type="radio"]:focus,
|
129
|
-
input[type="checkbox"]:focus {
|
130
|
-
// @include tab-focus(); // Bootstrap
|
131
|
-
}
|
132
|
-
|
133
|
-
|
134
|
-
// INPUT NON EDITABILE
|
135
|
-
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
136
|
-
.uneditable-input,
|
137
|
-
.uneditable-textarea {
|
138
|
-
color: $grayLight;
|
139
|
-
cursor: not-allowed;
|
140
|
-
}
|
141
|
-
.uneditable-input {
|
142
|
-
overflow: hidden;
|
143
|
-
white-space: nowrap;
|
144
|
-
}
|
145
|
-
.uneditable-textarea {
|
146
|
-
width: auto;
|
147
|
-
height: auto;
|
148
|
-
}
|
149
|
-
input,
|
150
|
-
textarea {
|
151
|
-
@include placeholder(); // Bootstrap
|
152
|
-
}
|
35
|
+
label,
|
36
|
+
input,
|
37
|
+
button,
|
38
|
+
select,
|
39
|
+
textarea {
|
40
|
+
line-height: 1em;
|
41
|
+
}
|
42
|
+
input,
|
43
|
+
button,
|
44
|
+
select,
|
45
|
+
textarea {
|
46
|
+
font-family: $base-font-family;
|
47
|
+
}
|
48
|
+
label {
|
49
|
+
display: block;
|
50
|
+
margin-bottom: em($label-margin-bottom);
|
51
|
+
font-weight: bold;
|
52
|
+
cursor: auto;
|
53
|
+
}
|
54
|
+
textarea,
|
55
|
+
input[type="text"],
|
56
|
+
input[type="password"],
|
57
|
+
input[type="datetime"],
|
58
|
+
input[type="datetime-local"],
|
59
|
+
input[type="date"],
|
60
|
+
input[type="month"],
|
61
|
+
input[type="time"],
|
62
|
+
input[type="week"],
|
63
|
+
input[type="number"],
|
64
|
+
input[type="email"],
|
65
|
+
input[type="url"],
|
66
|
+
input[type="search"],
|
67
|
+
input[type="tel"],
|
68
|
+
input[type="color"] {
|
69
|
+
@include border-radius($base-border-radius);
|
70
|
+
display: inline-block;
|
71
|
+
padding: $input-padding;
|
72
|
+
vertical-align: middle;
|
73
|
+
height: $input-height;
|
74
|
+
border-width: $input-border;
|
75
|
+
border-style: solid;
|
76
|
+
@extend %input !optional;
|
153
77
|
|
78
|
+
&:focus {outline: 0;}
|
79
|
+
}
|
154
80
|
|
81
|
+
select {
|
82
|
+
color: $text-color;
|
83
|
+
display: inline-block;
|
84
|
+
}
|
155
85
|
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
.select {
|
161
|
-
min-height: em($base-line-height);
|
162
|
-
padding-left: 20px;
|
163
|
-
margin-bottom: 0;
|
164
|
-
font-weight: normal;
|
165
|
-
cursor: pointer;
|
166
|
-
line-height: rhythm(1);
|
167
|
-
}
|
168
|
-
.select {padding-left: 0;}
|
86
|
+
input,
|
87
|
+
textarea {
|
88
|
+
width: 240px;
|
89
|
+
}
|
169
90
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
.controls > .radio:first-child,
|
176
|
-
.controls > .checkbox:first-child {
|
177
|
-
}
|
178
|
-
.radio.inline,
|
179
|
-
.checkbox.inline {
|
180
|
-
display: inline-block;
|
181
|
-
margin-bottom: 0;
|
182
|
-
vertical-align: middle;
|
183
|
-
}
|
184
|
-
.radio.inline + .radio.inline,
|
185
|
-
.checkbox.inline + .checkbox.inline {
|
186
|
-
margin-left: 20px;
|
187
|
-
}
|
91
|
+
textarea {
|
92
|
+
height: auto;
|
93
|
+
line-height: rhythm(1);
|
94
|
+
padding: $input-padding;
|
95
|
+
}
|
188
96
|
|
189
|
-
// SELECT
|
190
|
-
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
191
|
-
|
192
|
-
span.select {
|
193
|
-
@extend %caret !optional;
|
194
|
-
@include border-radius(3px);
|
195
|
-
border-style: solid;
|
196
|
-
border-width: $input-border;
|
197
|
-
cursor: pointer;
|
198
|
-
display: inline-block;
|
199
|
-
height: $input-height;
|
200
|
-
line-height: 1em;
|
201
|
-
position: relative;
|
202
|
-
width: 240px;
|
203
97
|
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
background-image:none;
|
208
|
-
border:none;
|
209
|
-
box-shadow:none;
|
210
|
-
cursor: pointer;
|
211
|
-
padding: $input-padding;
|
212
|
-
position: relative;
|
213
|
-
width:100%;
|
214
|
-
z-index: 3;
|
215
|
-
line-height: 1em;
|
98
|
+
input[type="radio"],
|
99
|
+
input[type="checkbox"] {
|
100
|
+
margin: em(2px) 0 0;
|
216
101
|
}
|
217
102
|
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
103
|
+
input[type="file"],
|
104
|
+
input[type="image"],
|
105
|
+
input[type="submit"],
|
106
|
+
input[type="reset"],
|
107
|
+
input[type="button"],
|
108
|
+
input[type="radio"],
|
109
|
+
input[type="checkbox"] {
|
110
|
+
width: auto;
|
224
111
|
}
|
225
112
|
|
226
|
-
|
113
|
+
select, .select {
|
114
|
+
width: 240px;
|
115
|
+
}
|
116
|
+
select[multiple],
|
117
|
+
select[size] {
|
118
|
+
height: auto;
|
119
|
+
}
|
227
120
|
|
228
|
-
}
|
229
121
|
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
select[disabled],
|
234
|
-
textarea[disabled],
|
235
|
-
input[readonly],
|
236
|
-
select[readonly],
|
237
|
-
textarea[readonly] {
|
238
|
-
cursor: not-allowed;
|
239
|
-
}
|
240
|
-
input[type="radio"][disabled],
|
241
|
-
input[type="checkbox"][disabled],
|
242
|
-
input[type="radio"][readonly],
|
243
|
-
input[type="checkbox"][readonly] {
|
244
|
-
background-color: transparent;
|
245
|
-
}
|
246
|
-
input:focus:invalid,
|
247
|
-
textarea:focus:invalid,
|
248
|
-
select:focus:invalid {
|
249
|
-
color: #b94a48;
|
250
|
-
border-color: #ee5f5b;
|
251
|
-
&:focus {
|
252
|
-
border-color: darken(#ee5f5b, 10%);
|
122
|
+
input,
|
123
|
+
textarea {
|
124
|
+
@include placeholder();
|
253
125
|
}
|
254
|
-
}
|
255
|
-
|
256
|
-
// FORM ACTIONS
|
257
|
-
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
258
|
-
.form-actions {
|
259
|
-
padding-top: rhythm(1);
|
260
|
-
margin-top: rhythm(1);
|
261
|
-
margin-bottom: rhythm(1);
|
262
|
-
border-top: 1px solid #e5e5e5;
|
263
|
-
clear: both;
|
264
|
-
@extend .clearfix;
|
265
|
-
}
|
266
126
|
|
267
127
|
|
268
|
-
// HELP BLOCKS
|
269
|
-
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
270
|
-
.help-block,
|
271
|
-
.help-inline {
|
272
|
-
color: lighten($text-color, 15%);
|
273
|
-
}
|
274
|
-
.help-block {
|
275
|
-
display: block;
|
276
|
-
padding: rhythm(.5) 0 0;
|
277
|
-
}
|
278
|
-
.help-inline {
|
279
|
-
display: inline-block;
|
280
|
-
// @include ie7-inline-block();
|
281
|
-
@include inline-block();
|
282
|
-
vertical-align: middle;
|
283
|
-
padding-left: 5px;
|
284
|
-
}
|
285
128
|
|
286
|
-
|
287
|
-
// APPEND & PREPEND
|
129
|
+
// RADIO & CHECKBOX
|
288
130
|
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
289
|
-
.
|
290
|
-
|
291
|
-
|
131
|
+
.radio,
|
132
|
+
.checkbox,
|
133
|
+
.select {
|
134
|
+
min-height: em($base-line-height);
|
135
|
+
padding-left: 20px;
|
136
|
+
margin-bottom: 0;
|
137
|
+
font-weight: normal;
|
138
|
+
cursor: pointer;
|
139
|
+
line-height: rhythm(1);
|
292
140
|
}
|
293
|
-
.
|
294
|
-
|
141
|
+
.select {padding-left: 0;}
|
142
|
+
|
143
|
+
.radio input[type="radio"],
|
144
|
+
.checkbox input[type="checkbox"] {
|
145
|
+
float: left;
|
146
|
+
margin-left: -20px;
|
147
|
+
}
|
148
|
+
.controls > .radio:first-child,
|
149
|
+
.controls > .checkbox:first-child {
|
150
|
+
}
|
151
|
+
.radio.inline,
|
152
|
+
.checkbox.inline {
|
295
153
|
display: inline-block;
|
154
|
+
margin-bottom: 0;
|
296
155
|
vertical-align: middle;
|
297
|
-
|
298
|
-
|
156
|
+
}
|
157
|
+
.radio.inline + .radio.inline,
|
158
|
+
.checkbox.inline + .checkbox.inline {
|
159
|
+
margin-left: 20px;
|
160
|
+
}
|
299
161
|
|
300
|
-
input,
|
301
|
-
select,
|
302
|
-
.uneditable-input,
|
303
|
-
.dropdown-menu,
|
304
|
-
.popover {
|
305
|
-
float: left;
|
306
|
-
}
|
307
162
|
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
163
|
+
// CUSTOM SELECT
|
164
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
165
|
+
span.select {
|
166
|
+
@extend %caret !optional;
|
167
|
+
@include border-radius(3px);
|
168
|
+
border-style: solid;
|
169
|
+
border-width: $input-border;
|
170
|
+
cursor: pointer;
|
171
|
+
display: inline-block;
|
172
|
+
height: $input-height;
|
173
|
+
line-height: 1em;
|
174
|
+
position: relative;
|
175
|
+
width: 240px;
|
176
|
+
|
177
|
+
select {
|
178
|
+
@include appearance(none);
|
179
|
+
background-color:transparent;
|
180
|
+
background-image:none;
|
181
|
+
border:none;
|
182
|
+
box-shadow:none;
|
183
|
+
cursor: pointer;
|
324
184
|
padding: $input-padding;
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
float: left;
|
329
|
-
height: $input-height;
|
330
|
-
text-align: center;
|
331
|
-
border-width: $input-border;
|
332
|
-
border-style: solid;
|
333
|
-
@extend %input-addon !optional;
|
334
|
-
}
|
335
|
-
.btn-group {float: left;}
|
336
|
-
.add-on,
|
337
|
-
.btn,
|
338
|
-
.btn-group > .dropdown-toggle {
|
339
|
-
float: left;
|
340
|
-
vertical-align: top;
|
185
|
+
position: relative;
|
186
|
+
width:100%;
|
187
|
+
z-index: 3;
|
341
188
|
line-height: 1em;
|
342
|
-
@include border-radius(0);
|
343
|
-
height: $input-height;
|
344
189
|
}
|
345
|
-
|
190
|
+
|
191
|
+
&:after {
|
192
|
+
position: absolute;
|
193
|
+
top: 50%;
|
194
|
+
right: em($input-padding-side);
|
195
|
+
content: "";
|
196
|
+
display: block;
|
346
197
|
}
|
198
|
+
|
199
|
+
@extend %select !optional;
|
200
|
+
|
347
201
|
}
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
202
|
+
|
203
|
+
// DISABLED INPUTS
|
204
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
205
|
+
input[disabled],
|
206
|
+
select[disabled],
|
207
|
+
textarea[disabled],
|
208
|
+
input[readonly],
|
209
|
+
select[readonly],
|
210
|
+
textarea[readonly] {
|
211
|
+
cursor: not-allowed;
|
212
|
+
}
|
213
|
+
input[type="radio"][disabled],
|
214
|
+
input[type="checkbox"][disabled],
|
215
|
+
input[type="radio"][readonly],
|
216
|
+
input[type="checkbox"][readonly] {
|
217
|
+
background-color: transparent;
|
218
|
+
}
|
219
|
+
input:focus:invalid,
|
220
|
+
textarea:focus:invalid,
|
221
|
+
select:focus:invalid {
|
222
|
+
color: #b94a48;
|
223
|
+
border-color: #ee5f5b;
|
224
|
+
&:focus {
|
225
|
+
border-color: darken(#ee5f5b, 10%);
|
357
226
|
}
|
358
|
-
input,
|
359
|
-
select,
|
360
|
-
.uneditable-input {margin-left: -$input-border * 2}
|
361
227
|
}
|
362
|
-
.input-append {
|
363
|
-
input,
|
364
|
-
select,
|
365
|
-
.uneditable-input {
|
366
|
-
@include border-radius($base-border-radius 0 0 $base-border-radius);
|
367
228
|
|
368
|
-
|
369
|
-
|
370
|
-
|
229
|
+
// HELP BLOCKS
|
230
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
231
|
+
.help-block,
|
232
|
+
.help-inline {
|
233
|
+
color: lighten($text-color, 15%);
|
234
|
+
}
|
235
|
+
.help-block {
|
236
|
+
display: block;
|
237
|
+
padding: rhythm(.5) 0 0;
|
238
|
+
}
|
239
|
+
.help-inline {
|
240
|
+
@include inline-block();
|
241
|
+
vertical-align: middle;
|
242
|
+
padding-left: 5px;
|
243
|
+
}
|
371
244
|
|
372
|
-
+ .btn-group .btn:last-child {
|
373
|
-
@include border-radius(0 $base-border-radius $base-border-radius 0);
|
374
|
-
}
|
375
|
-
}
|
376
|
-
.add-on,
|
377
|
-
.btn,
|
378
|
-
.btn-group {
|
379
|
-
margin-left: -$input-border;
|
380
|
-
}
|
381
245
|
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
.
|
388
|
-
.btn-group:last-child > .dropdown-toggle {
|
389
|
-
@include border-radius(0 $base-border-radius $base-border-radius 0);
|
390
|
-
}
|
391
|
-
}
|
392
|
-
.input-prepend.input-append {
|
393
|
-
input,
|
394
|
-
select,
|
395
|
-
.uneditable-input {
|
396
|
-
@include border-radius(0);
|
397
|
-
+ .btn-group .btn {
|
398
|
-
@include border-radius(0 $base-border-radius $base-border-radius 0);
|
399
|
-
}
|
400
|
-
}
|
401
|
-
.add-on:first-child,
|
402
|
-
.btn:first-child {
|
403
|
-
margin-right: -$input-border;
|
404
|
-
@include border-radius($base-border-radius 0 0 $base-border-radius);
|
405
|
-
}
|
406
|
-
.add-on:last-child,
|
407
|
-
.btn:last-child {
|
408
|
-
margin-left: -$input-border;
|
409
|
-
@include border-radius(0 $base-border-radius $base-border-radius 0);
|
410
|
-
}
|
411
|
-
.btn-group:first-child {
|
412
|
-
margin-left: 0;
|
413
|
-
}
|
246
|
+
// CONTROL GROUPS & CONTROLS
|
247
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
248
|
+
.control-group {
|
249
|
+
margin-bottom: em($control-margin-bottom);
|
250
|
+
|
251
|
+
.control { @extend .clearfix; }
|
414
252
|
}
|
253
|
+
|
415
254
|
}
|
416
255
|
|
256
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
257
|
+
// Form Actions
|
258
|
+
// --------------------------------------------------------------------------------------------------------------------
|
417
259
|
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
margin-bottom:
|
260
|
+
.form__actions {
|
261
|
+
padding-top: rhythm(1);
|
262
|
+
margin-top: rhythm(1);
|
263
|
+
margin-bottom: rhythm(1);
|
264
|
+
border-top: 1px solid #e5e5e5;
|
265
|
+
clear: both;
|
422
266
|
@extend .clearfix;
|
423
|
-
// background-color: red;
|
424
|
-
}
|
425
|
-
legend + .control-group {
|
426
|
-
margin-top: em($base-line-height);
|
427
|
-
-webkit-margin-top-collapse: separate;
|
428
267
|
}
|
429
268
|
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
@extend .clearfix;
|
269
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
270
|
+
// Form Inline
|
271
|
+
// --------------------------------------------------------------------------------------------------------------------
|
272
|
+
@if $forms-inline {
|
435
273
|
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
margin-right: em(8px);
|
450
|
-
}
|
451
|
-
.hide {
|
452
|
-
display: none;
|
453
|
-
}
|
274
|
+
.form--inline {
|
275
|
+
|
276
|
+
input,
|
277
|
+
textarea,
|
278
|
+
select,
|
279
|
+
.help-inline,
|
280
|
+
.uneditable-input,
|
281
|
+
.input-prepend,
|
282
|
+
.input-append {
|
283
|
+
float: left;
|
284
|
+
margin-bottom: 0;
|
285
|
+
vertical-align: middle;
|
286
|
+
margin-right: em(8px);
|
454
287
|
}
|
455
288
|
|
456
|
-
.
|
289
|
+
.hide {
|
290
|
+
display: none;
|
291
|
+
}
|
292
|
+
|
293
|
+
label {
|
457
294
|
padding-top: em($input-padding-top);
|
458
295
|
margin-right: em(8px);
|
459
296
|
}
|
460
297
|
|
461
|
-
|
462
|
-
.
|
298
|
+
label,
|
299
|
+
.btn-group {
|
463
300
|
display: inline-block;
|
464
301
|
float: left;
|
465
302
|
}
|
466
|
-
|
467
|
-
.
|
303
|
+
|
304
|
+
.input-append,
|
305
|
+
.input-prepend {
|
468
306
|
margin-bottom: 0;
|
469
307
|
}
|
470
|
-
|
471
|
-
.
|
308
|
+
|
309
|
+
.radio,
|
310
|
+
.checkbox {
|
472
311
|
padding-left: 0;
|
473
312
|
margin-bottom: 0;
|
474
313
|
vertical-align: middle;
|
475
314
|
}
|
476
|
-
|
477
|
-
.
|
315
|
+
|
316
|
+
.radio input[type="radio"],
|
317
|
+
.checkbox input[type="checkbox"] {
|
478
318
|
float: left;
|
479
319
|
margin-right: 3px;
|
480
320
|
margin-left: 0;
|
481
321
|
}
|
482
322
|
}
|
323
|
+
}
|
483
324
|
|
484
|
-
|
325
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
326
|
+
// Form Aligned
|
327
|
+
// --------------------------------------------------------------------------------------------------------------------
|
485
328
|
|
486
|
-
|
487
|
-
|
488
|
-
.form
|
329
|
+
@if $forms-aligned {
|
330
|
+
|
331
|
+
.form--aligned {
|
489
332
|
@extend .clearfix;
|
490
|
-
|
491
|
-
// @include clearfix();
|
492
|
-
// }
|
333
|
+
|
493
334
|
.control-label {
|
494
335
|
float: left;
|
495
336
|
width: em($horizontal-offset) - em(20px);
|
496
337
|
padding-top: em($input-padding-top);
|
497
338
|
text-align: right;
|
498
339
|
}
|
340
|
+
|
499
341
|
.controls {
|
500
|
-
*display: inline-block;
|
501
|
-
*padding-left: 20px;
|
502
342
|
margin-left: em($horizontal-offset);
|
503
|
-
*margin-left: 0;
|
504
|
-
&:first-child {
|
505
|
-
*padding-left: em($horizontal-offset);
|
506
|
-
}
|
507
343
|
}
|
344
|
+
|
508
345
|
.help-block {
|
509
346
|
margin-bottom: 0;
|
510
347
|
}
|
348
|
+
|
511
349
|
input,
|
512
350
|
select,
|
513
351
|
textarea,
|
@@ -518,9 +356,11 @@
|
|
518
356
|
// margin: rhythm(.5) 0 0;
|
519
357
|
// }
|
520
358
|
}
|
359
|
+
|
521
360
|
select {
|
522
361
|
// margin-top: $input-padding-top;
|
523
362
|
}
|
363
|
+
|
524
364
|
.controls > .radio:first-child,
|
525
365
|
.controls > .checkbox:first-child {
|
526
366
|
padding-top: em($input-padding-top) - em(2px);
|
@@ -554,11 +394,14 @@
|
|
554
394
|
}
|
555
395
|
}
|
556
396
|
|
397
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
398
|
+
// Form Columns
|
399
|
+
// --------------------------------------------------------------------------------------------------------------------
|
400
|
+
|
557
401
|
@if $forms-columns {
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
@extend .clearfix;
|
402
|
+
|
403
|
+
.form--columns {
|
404
|
+
|
562
405
|
.control-group {
|
563
406
|
min-height: $control-min-height;
|
564
407
|
.input-append,
|
@@ -569,11 +412,8 @@
|
|
569
412
|
}
|
570
413
|
}
|
571
414
|
}
|
572
|
-
|
573
|
-
.input-prepend {
|
574
|
-
// .btn-group {margin-right: (-$input-border);}
|
575
|
-
}
|
576
415
|
}
|
577
416
|
}
|
578
417
|
|
579
|
-
|
418
|
+
|
419
|
+
} // end IF $forms
|