rapido-css 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/stylesheets/_default-styles.scss +352 -352
- data/stylesheets/_functions.scss +77 -50
- data/stylesheets/_susy.scss +15 -12
- data/stylesheets/components/_alerts.scss +21 -21
- data/stylesheets/components/_breadcrumbs.scss +15 -15
- data/stylesheets/components/_button-groups.scss +51 -53
- data/stylesheets/components/_buttons.scss +94 -97
- data/stylesheets/components/_captions.scss +45 -45
- data/stylesheets/components/_close.scss +27 -27
- data/stylesheets/components/_dropdowns.scss +121 -121
- data/stylesheets/components/_forms.scss +246 -248
- data/stylesheets/components/_grids.scss +35 -35
- data/stylesheets/components/_labels.scss +38 -38
- data/stylesheets/components/_modals.scss +242 -248
- data/stylesheets/components/_navs.scss +86 -91
- data/stylesheets/components/_pager.scss +53 -53
- data/stylesheets/components/_pagination.scss +83 -85
- data/stylesheets/components/_responsive-navs.scss +84 -84
- data/stylesheets/components/_sliders.scss +54 -58
- data/stylesheets/components/_tables.scss +69 -74
- data/stylesheets/components/_tabs.scss +54 -54
- data/stylesheets/components/_type.scss +134 -140
- data/stylesheets/{_rapido.scss → rapido.scss} +0 -8
- data/stylesheets/settings/_base.scss +23 -23
- data/stylesheets/settings/_colors.scss +13 -13
- data/stylesheets/settings/_components.scss +43 -42
- data/stylesheets/settings/_dimensions.scss +91 -91
- data/stylesheets/settings/_effects.scss +28 -14
- data/stylesheets/susy/{_susy_background.scss → _background.scss} +0 -0
- data/stylesheets/susy/{_susy_functions.scss → _functions.scss} +0 -0
- data/stylesheets/susy/{_susy_grid.scss → _grid.scss} +0 -0
- data/stylesheets/susy/{_susy_isolation.scss → _isolation.scss} +1 -0
- data/stylesheets/susy/{_susy_margin.scss → _margin.scss} +0 -0
- data/stylesheets/susy/{_susy_media.scss → _media.scss} +0 -0
- data/stylesheets/susy/{_susy_padding.scss → _padding.scss} +0 -0
- data/stylesheets/susy/{_susy_settings.scss → _settings.scss} +0 -0
- data/stylesheets/susy/{_susy_support.scss → _support.scss} +0 -0
- data/stylesheets/susy/{_susy_units.scss → _units.scss} +0 -0
- data/stylesheets/utilities/_animations.scss +638 -597
- data/stylesheets/utilities/_debug.scss +43 -43
- data/stylesheets/utilities/_helper-classes.scss +70 -54
- data/stylesheets/utilities/_icon-fonts.scss +90 -90
- data/stylesheets/utilities/_mixins.scss +390 -357
- metadata +20 -17
- checksums.yaml +0 -15
- data/stylesheets/config.rb +0 -8
@@ -1,62 +1,62 @@
|
|
1
|
-
/*
|
1
|
+
/*
|
2
2
|
|
3
3
|
Forms
|
4
4
|
|
5
5
|
Individual form controls receive default styling with `form` Results in stacked, left-aligned labels on top of form controls.
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
7
|
+
.form
|
8
|
+
+–– .form__group
|
9
|
+
| |–– .form__label
|
10
|
+
| +–– .form__controls
|
11
|
+
| |–– input
|
12
|
+
| |–– textarea
|
13
|
+
| |–– .form__select
|
14
|
+
| |–– .form__checkbox
|
15
|
+
| |–– .form__radio
|
16
|
+
| +–– .form__addon
|
17
|
+
+–– .form__actions
|
18
18
|
|
19
19
|
* **`.form__group`**: Main container of a section of the form
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
* **`.form__label`**: Main labels for the form.
|
21
|
+
* **`.form__controls`**: Container of inputs, buttons and addons
|
22
|
+
* **`.form__checkbox`**, **`.form__radio`**: Stacked list of checkboxes and radios.
|
23
|
+
* **`.form__checkbox.inline`**, **`.form__radio.inline`**: Inline list of checkboxes and radios.
|
24
|
+
* **`.form__select`**: Create custom style selects.
|
25
|
+
* **`.form__help--block`**: Block help text that appears under form controls.
|
26
|
+
* **`.form__help--inline`**: Inline help text that appears aside form controls.
|
27
27
|
* **`.form__actions`**: End a form with a group of actions (buttons). When placed within a `.form__actions`, the buttons will automatically indent to line up with the form controls.
|
28
28
|
|
29
29
|
Styleguide 8
|
30
30
|
|
31
|
-
|
31
|
+
*/
|
32
32
|
|
33
33
|
@if $forms {
|
34
34
|
|
35
35
|
form {
|
36
|
-
|
37
|
-
|
36
|
+
@extend .clearfix;
|
37
|
+
margin: 0 0 rhythm();
|
38
38
|
}
|
39
39
|
|
40
40
|
fieldset {
|
41
|
-
|
42
|
-
|
43
|
-
|
41
|
+
padding: 0;
|
42
|
+
margin: 0;
|
43
|
+
border: 0;
|
44
44
|
}
|
45
45
|
|
46
46
|
legend {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
47
|
+
@include adjust-font-size-to($h5-size);
|
48
|
+
display: block;
|
49
|
+
padding: 0;
|
50
|
+
width: 100%;
|
51
|
+
font-weight: bold;
|
52
|
+
border: 0;
|
53
|
+
padding-bottom: rhythm(.5);
|
54
|
+
margin-bottom: rhythm(.5);
|
55
|
+
border-bottom: 1px solid #e5e5e5;
|
56
|
+
small {
|
57
|
+
font-size: em($base-font-size);
|
58
|
+
color: $grayLight;
|
59
|
+
}
|
60
60
|
}
|
61
61
|
|
62
62
|
label,
|
@@ -64,9 +64,9 @@ input,
|
|
64
64
|
button,
|
65
65
|
select,
|
66
66
|
textarea {
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
line-height: 1em;
|
68
|
+
font-family: $base-font-family;
|
69
|
+
@include border-radius($base-border-radius);
|
70
70
|
}
|
71
71
|
|
72
72
|
.input-text,
|
@@ -85,40 +85,40 @@ input[type="url"],
|
|
85
85
|
input[type="search"],
|
86
86
|
input[type="tel"],
|
87
87
|
input[type="color"] {
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
88
|
+
display: inline-block;
|
89
|
+
padding: 0 $input-padding-side;
|
90
|
+
vertical-align: middle;
|
91
|
+
height: $input-height;
|
92
|
+
border-width: $input-border;
|
93
|
+
border-style: solid;
|
94
|
+
@media \0screen { line-height: $input-height; } // Ugly IE8 Hack
|
95
|
+
@extend %input !optional;
|
96
|
+
|
97
|
+
&:focus {outline: 0;}
|
98
98
|
}
|
99
99
|
|
100
100
|
select {
|
101
|
-
|
102
|
-
|
101
|
+
color: $text-color;
|
102
|
+
display: inline-block;
|
103
103
|
}
|
104
104
|
|
105
105
|
label { display: block; }
|
106
106
|
|
107
107
|
input,
|
108
108
|
textarea {
|
109
|
-
|
109
|
+
width: 240px;
|
110
110
|
}
|
111
111
|
|
112
112
|
textarea {
|
113
|
-
|
114
|
-
|
115
|
-
|
113
|
+
height: auto;
|
114
|
+
line-height: rhythm(1);
|
115
|
+
padding: $input-padding;
|
116
116
|
}
|
117
117
|
|
118
118
|
|
119
119
|
input[type="radio"],
|
120
120
|
input[type="checkbox"] {
|
121
|
-
|
121
|
+
margin: em(1px) 0 0;
|
122
122
|
}
|
123
123
|
|
124
124
|
input[type="file"],
|
@@ -128,23 +128,23 @@ input[type="reset"],
|
|
128
128
|
input[type="button"],
|
129
129
|
input[type="radio"],
|
130
130
|
input[type="checkbox"] {
|
131
|
-
|
131
|
+
width: auto;
|
132
132
|
}
|
133
133
|
|
134
134
|
select,
|
135
135
|
.form__select {
|
136
|
-
|
136
|
+
width: 240px;
|
137
137
|
}
|
138
138
|
|
139
139
|
select[multiple],
|
140
140
|
select[size] {
|
141
|
-
|
141
|
+
height: auto;
|
142
142
|
}
|
143
143
|
|
144
144
|
|
145
145
|
input,
|
146
146
|
textarea {
|
147
|
-
|
147
|
+
@include placeholder($placeholder-color);
|
148
148
|
}
|
149
149
|
|
150
150
|
// input[disabled],
|
@@ -153,23 +153,23 @@ textarea {
|
|
153
153
|
// input[readonly],
|
154
154
|
// select[readonly],
|
155
155
|
// textarea[readonly] {
|
156
|
-
//
|
156
|
+
// cursor: not-allowed;
|
157
157
|
// }
|
158
158
|
|
159
159
|
input[type="radio"][disabled],
|
160
160
|
input[type="checkbox"][disabled],
|
161
161
|
input[type="radio"][readonly],
|
162
162
|
input[type="checkbox"][readonly] {
|
163
|
-
|
163
|
+
background-color: transparent;
|
164
164
|
}
|
165
165
|
input:focus:invalid,
|
166
166
|
textarea:focus:invalid,
|
167
167
|
select:focus:invalid {
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
168
|
+
color: #b94a48;
|
169
|
+
border-color: #ee5f5b;
|
170
|
+
&:focus {
|
171
|
+
border-color: darken(#ee5f5b, 10%);
|
172
|
+
}
|
173
173
|
}
|
174
174
|
// }
|
175
175
|
|
@@ -179,7 +179,7 @@ select:focus:invalid {
|
|
179
179
|
|
180
180
|
.form__controls { @extend .clearfix; }
|
181
181
|
|
182
|
-
/*
|
182
|
+
/*
|
183
183
|
|
184
184
|
Labels
|
185
185
|
|
@@ -189,62 +189,63 @@ Markup: <label class="form__label">Label</label>
|
|
189
189
|
|
190
190
|
Styleguide 8.1
|
191
191
|
|
192
|
-
|
192
|
+
*/
|
193
193
|
|
194
194
|
.form__label {
|
195
|
-
|
196
|
-
|
197
|
-
|
195
|
+
font-weight: bold;
|
196
|
+
margin-bottom: em($label-margin-bottom);
|
197
|
+
cursor: auto;
|
198
198
|
}
|
199
199
|
|
200
200
|
|
201
|
-
/*
|
201
|
+
/*
|
202
202
|
|
203
203
|
Radio & Checkbox
|
204
204
|
|
205
205
|
Markup:
|
206
206
|
<div class="form__controls">
|
207
207
|
<label class="form__radio {$modifiers}">
|
208
|
-
<input type="radio" value="option1" checked> Option one is this
|
208
|
+
<input type="radio" value="option1" checked> Option one is this
|
209
|
+
</label>
|
209
210
|
<label class="form__radio {$modifiers}">
|
210
|
-
<input type="radio" value="option2"> Option two can be something else
|
211
|
-
</
|
211
|
+
<input type="radio" value="option2"> Option two can be something else
|
212
|
+
</label>
|
212
213
|
</div>
|
213
214
|
|
214
215
|
.inline - Inline alignment with `.inline`
|
215
216
|
|
216
217
|
Styleguide 8.2
|
217
218
|
|
218
|
-
|
219
|
+
*/
|
219
220
|
|
220
221
|
.form__radio,
|
221
222
|
.form__checkbox,
|
222
223
|
.form__select {
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
224
|
+
min-height: em($base-line-height);
|
225
|
+
padding-left: em($checkbox-padding-left);
|
226
|
+
font-weight: normal;
|
227
|
+
cursor: pointer;
|
228
|
+
display: block;
|
228
229
|
}
|
229
230
|
|
230
231
|
.form__select {padding-left: 0;}
|
231
232
|
|
232
233
|
.form__radio input[type="radio"],
|
233
234
|
.form__checkbox input[type="checkbox"] {
|
234
|
-
|
235
|
-
|
235
|
+
float: left;
|
236
|
+
margin-left: -20px;
|
236
237
|
}
|
237
238
|
.form__radio.inline,
|
238
239
|
.form__checkbox.inline {
|
239
|
-
|
240
|
-
|
240
|
+
display: inline-block;
|
241
|
+
vertical-align: middle;
|
241
242
|
}
|
242
243
|
.form__radio.inline + .form__radio.inline,
|
243
244
|
.form__checkbox.inline + .form__checkbox.inline {
|
244
|
-
|
245
|
+
margin-left: 20px;
|
245
246
|
}
|
246
247
|
|
247
|
-
/*
|
248
|
+
/*
|
248
249
|
|
249
250
|
Custom Select
|
250
251
|
|
@@ -263,46 +264,46 @@ Markup:
|
|
263
264
|
|
264
265
|
Styleguide 8.3
|
265
266
|
|
266
|
-
|
267
|
+
*/
|
267
268
|
|
268
269
|
.form__select {
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
270
|
+
@extend %caret !optional;
|
271
|
+
@include border-radius(3px);
|
272
|
+
border-style: solid;
|
273
|
+
border-width: $input-border;
|
274
|
+
cursor: pointer;
|
275
|
+
display: inline-block;
|
276
|
+
height: $input-height;
|
277
|
+
line-height: 1em;
|
278
|
+
position: relative;
|
279
|
+
width: 240px;
|
280
|
+
|
281
|
+
select {
|
282
|
+
@include appearance(none);
|
283
|
+
background-color:transparent;
|
284
|
+
background-image:none;
|
285
|
+
border:none;
|
286
|
+
box-shadow:none;
|
287
|
+
cursor: pointer;
|
288
|
+
padding: $input-padding;
|
289
|
+
position: relative;
|
290
|
+
width:100%;
|
291
|
+
z-index: 3;
|
292
|
+
line-height: 1em;
|
293
|
+
}
|
294
|
+
|
295
|
+
&:after {
|
296
|
+
@include position(absolute, em($input-padding-top) em($input-padding-side) 0 0);
|
297
|
+
display: block;
|
298
|
+
}
|
299
|
+
|
300
|
+
@extend %select !optional;
|
300
301
|
|
301
302
|
}
|
302
303
|
|
303
304
|
|
304
305
|
|
305
|
-
/*
|
306
|
+
/*
|
306
307
|
|
307
308
|
Help
|
308
309
|
|
@@ -310,39 +311,39 @@ Add an help text block
|
|
310
311
|
|
311
312
|
**Block Help**
|
312
313
|
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
314
|
+
<div class="form__controls">
|
315
|
+
<input type="text">
|
316
|
+
<span class="form__help--block">Help text</span>
|
317
|
+
</div>
|
317
318
|
|
318
319
|
**Help Inline**
|
319
320
|
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
321
|
+
<div class="form__controls">
|
322
|
+
<input type="text">
|
323
|
+
<span class="form__help--inline">Help text</span>
|
324
|
+
</div>
|
324
325
|
|
325
326
|
Styleguide 8.4
|
326
327
|
|
327
|
-
|
328
|
+
*/
|
328
329
|
|
329
330
|
.form__help--block,
|
330
331
|
.form__help--inline {
|
331
|
-
|
332
|
+
color: lighten($text-color, 15%);
|
332
333
|
}
|
333
334
|
.form__help--block {
|
334
|
-
|
335
|
-
|
335
|
+
display: block;
|
336
|
+
padding: rhythm(.5) 0 0;
|
336
337
|
}
|
337
338
|
.form__help--inline {
|
338
|
-
|
339
|
-
|
340
|
-
|
339
|
+
@include inline-block();
|
340
|
+
vertical-align: middle;
|
341
|
+
padding-left: 5px;
|
341
342
|
}
|
342
343
|
|
343
344
|
|
344
345
|
|
345
|
-
/*
|
346
|
+
/*
|
346
347
|
|
347
348
|
Append & Prepend
|
348
349
|
|
@@ -355,49 +356,49 @@ Markup:
|
|
355
356
|
|
356
357
|
Styleguide 8.5
|
357
358
|
|
358
|
-
|
359
|
+
*/
|
359
360
|
|
360
361
|
.form__addon {
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
362
|
+
display: inline-block;
|
363
|
+
width: auto;
|
364
|
+
min-width: em(16px);
|
365
|
+
padding: $input-padding;
|
366
|
+
line-height: 1em;
|
367
|
+
font-weight: normal;
|
368
|
+
float: left;
|
369
|
+
height: $input-height;
|
370
|
+
text-align: center;
|
371
|
+
border-width: $input-border;
|
372
|
+
border-style: solid;
|
373
|
+
@extend %input-addon !optional;
|
373
374
|
}
|
374
375
|
|
375
376
|
.form__controls--multi {
|
376
|
-
|
377
|
+
margin-left: $input-border;
|
377
378
|
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
379
|
+
> [type],
|
380
|
+
> [class] {
|
381
|
+
@include border-radius(0);
|
382
|
+
float: left;
|
383
|
+
margin-left: -$input-border;
|
383
384
|
|
384
|
-
|
385
|
-
|
386
|
-
|
385
|
+
&:first-child { @include border-radius($base-border-radius 0 0 $base-border-radius); }
|
386
|
+
&:last-child { @include border-radius(0 $base-border-radius $base-border-radius 0); }
|
387
|
+
}
|
387
388
|
|
388
|
-
|
389
|
-
|
390
|
-
|
389
|
+
> ul.btn-group + * {
|
390
|
+
margin-left: -($input-border * 2);
|
391
|
+
}
|
391
392
|
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
393
|
+
> [type] {
|
394
|
+
position: relative;
|
395
|
+
z-index: 2;
|
396
|
+
}
|
396
397
|
|
397
398
|
}
|
398
399
|
|
399
400
|
|
400
|
-
/*
|
401
|
+
/*
|
401
402
|
|
402
403
|
Form Actions
|
403
404
|
|
@@ -412,19 +413,19 @@ Markup:
|
|
412
413
|
|
413
414
|
Styleguide 8.6
|
414
415
|
|
415
|
-
|
416
|
+
*/
|
416
417
|
|
417
418
|
.form__actions {
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
419
|
+
padding-top: rhythm(1);
|
420
|
+
margin-top: rhythm(1);
|
421
|
+
margin-bottom: rhythm(1);
|
422
|
+
border-top: 1px solid #e5e5e5;
|
423
|
+
clear: both;
|
424
|
+
@extend .clearfix;
|
424
425
|
}
|
425
426
|
|
426
427
|
|
427
|
-
/*
|
428
|
+
/*
|
428
429
|
|
429
430
|
Form Layouts
|
430
431
|
|
@@ -459,72 +460,70 @@ Markup:
|
|
459
460
|
|
460
461
|
Styleguide 8.7
|
461
462
|
|
462
|
-
|
463
|
+
*/
|
463
464
|
|
464
465
|
// Form Grid
|
465
|
-
// --------------------------------------------------------------------------------------------------------------------
|
466
466
|
|
467
467
|
@if $forms-grid {
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
468
|
+
.form--grid {
|
469
|
+
.form__group {
|
470
|
+
min-height: $control-min-height;
|
471
|
+
margin: 0 0 em($control-margin-bottom) 0;
|
472
|
+
}
|
473
473
|
|
474
|
-
|
474
|
+
.form__multi { width: 100%; }
|
475
475
|
|
476
476
|
|
477
|
-
|
477
|
+
}
|
478
478
|
}
|
479
479
|
|
480
480
|
// Form Aligned
|
481
|
-
// --------------------------------------------------------------------------------------------------------------------
|
482
481
|
|
483
482
|
@if $forms-aligned {
|
484
483
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
484
|
+
.form--aligned {
|
485
|
+
|
486
|
+
.form__label {
|
487
|
+
float: left;
|
488
|
+
width: em($horizontal-offset) - em(20px);
|
489
|
+
padding-top: em($input-padding-top);
|
490
|
+
text-align: right;
|
491
|
+
}
|
492
|
+
|
493
|
+
.form__controls { margin-left: em($horizontal-offset); }
|
494
|
+
|
495
|
+
.form__help--block { margin-bottom: 0; }
|
496
|
+
|
497
|
+
.form__controls > .form__radio:first-child,
|
498
|
+
.form__controls > .form__checkbox:first-child {
|
499
|
+
margin-top: em($input-padding-top);
|
500
|
+
}
|
501
|
+
|
502
|
+
.form__controls > .form__radio.inline,
|
503
|
+
.form__controls > .form__checkbox.inline{
|
504
|
+
margin-top: em($input-padding-top);
|
505
|
+
}
|
506
|
+
|
507
|
+
.form__actions {
|
508
|
+
padding-left: em($horizontal-offset);
|
509
|
+
}
|
510
|
+
|
511
|
+
@include media(palm) {
|
512
|
+
.form__label {
|
513
|
+
width: 100%;
|
514
|
+
float: none;
|
515
|
+
padding-top: 0;
|
516
|
+
text-align: left;
|
517
|
+
}
|
518
|
+
|
519
|
+
.form__controls { margin-left: 0; }
|
520
|
+
.form__actions { padding-left: 0; }
|
521
|
+
}
|
522
|
+
}
|
524
523
|
}
|
525
524
|
|
526
525
|
|
527
|
-
/*
|
526
|
+
/*
|
528
527
|
|
529
528
|
Inline Form (semplified)
|
530
529
|
|
@@ -543,35 +542,34 @@ Markup:
|
|
543
542
|
|
544
543
|
Styleguide 8.7.1
|
545
544
|
|
546
|
-
|
545
|
+
*/
|
547
546
|
|
548
547
|
// Form Inline
|
549
|
-
// --------------------------------------------------------------------------------------------------------------------
|
550
548
|
|
551
549
|
@if $forms-inline {
|
552
550
|
|
553
|
-
|
551
|
+
.form--inline {
|
554
552
|
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
553
|
+
* {
|
554
|
+
float: none;
|
555
|
+
display: inline-block;
|
556
|
+
vertical-align: middle;
|
557
|
+
margin: 0;
|
558
|
+
padding: 0;
|
559
|
+
width: auto;
|
560
|
+
}
|
563
561
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
562
|
+
> * + *,
|
563
|
+
> * > * + *,
|
564
|
+
.form__group {
|
565
|
+
margin: 0 0 0 em(10px);
|
566
|
+
}
|
569
567
|
|
570
|
-
|
571
|
-
|
572
|
-
|
568
|
+
.form__actions {
|
569
|
+
border: 0;
|
570
|
+
}
|
573
571
|
|
574
|
-
|
572
|
+
}
|
575
573
|
}
|
576
574
|
|
577
|
-
}
|
575
|
+
}
|