piecss 0.1.6.5.1 → 0.1.7

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/sass/piecss/settings/_base.scss +159 -159
  3. data/sass/piecss/settings/_breakpoint.scss +21 -21
  4. data/sass/piecss/settings/_button.scss +149 -149
  5. data/sass/piecss/settings/_constants.scss +1 -1
  6. data/sass/piecss/settings/_font.scss +1 -1
  7. data/sass/piecss/settings/_form.scss +332 -332
  8. data/sass/piecss/settings/_grid.scss +123 -123
  9. data/sass/piecss/settings/_list.scss +131 -131
  10. data/sass/piecss/settings/fonts/_roboto-slab.scss +1 -1
  11. data/sass/piecss/settings/fonts/_roboto.scss +1 -1
  12. data/sass/piecss/settings/fonts/_sofia-pro.scss +1 -1
  13. data/sass/piecss/settings/fonts/_varela-round.scss +1 -1
  14. data/sass/piecss/settings/fonts/icon-fonts/_fontawesome.scss +1 -1
  15. data/sass/piecss/settings/fonts/icon-fonts/_foundation-accessability.scss +1 -1
  16. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_bootstrap.scss +1 -1
  17. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_core.scss +1 -1
  18. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_extras.scss +1 -1
  19. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_icons.scss +1 -1
  20. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_mixins.scss +3 -3
  21. data/sass/piecss/settings/fonts/icon-fonts/fontawesome/_path.scss +1 -1
  22. data/sass/piecss/settings/fonts/icon-fonts/foundation-accessability/_settings.scss +2 -2
  23. data/sass/piecss/utilities/_breakpoint.scss +29 -30
  24. data/sass/piecss/utilities/_cache.scss +32 -32
  25. data/sass/piecss/utilities/_element.scss +50 -50
  26. data/sass/piecss/utilities/_image.scss +21 -21
  27. data/sass/piecss/utilities/_layout.scss +115 -115
  28. data/sass/piecss/utilities/_list.scss +10 -10
  29. data/sass/piecss/utilities/_miscellaneous.scss +99 -99
  30. data/sass/piecss/utilities/_rhythm.scss +42 -42
  31. data/sass/piecss/utilities/_side.scss +136 -136
  32. data/sass/piecss/utilities/_typography.scss +129 -132
  33. data/sass/piecss/utilities/_unit.scss +66 -64
  34. data/templates/project/_sets/_button.scss +4 -4
  35. data/templates/project/_sets/_form.scss +4 -4
  36. data/templates/project/_sets.scss +4 -4
  37. data/templates/project/_settings.scss +4 -4
  38. data/templates/project/screen.scss +1 -1
  39. metadata +9 -9
@@ -28,186 +28,186 @@
28
28
  // ==========================================================================
29
29
 
30
30
 
31
- /**
32
- * Seletor for form elements
33
- *
34
- * @since 0.1
35
- *
36
- * @type {String}
37
- */
31
+ ///
32
+ /// Seletor for form elements
33
+ ///
34
+ /// @since 0.1
35
+ ///
36
+ /// @type {String}
37
+ ///
38
38
 
39
39
  $form-form-selector: "%form" !default;
40
40
 
41
- /**
42
- * Selector for fieldset elements
43
- *
44
- * @since 0.1
45
- *
46
- * @type {String}
47
- */
41
+ ///
42
+ /// Selector for fieldset elements
43
+ ///
44
+ /// @since 0.1
45
+ ///
46
+ /// @type {String}
47
+ ///
48
48
 
49
49
  $form-fieldset-selector: "%fieldset" !default;
50
50
 
51
- /**
52
- * Selector for legend elements
53
- *
54
- * @since 0.1
55
- *
56
- * @type {String}
57
- */
51
+ ///
52
+ /// Selector for legend elements
53
+ ///
54
+ /// @since 0.1
55
+ ///
56
+ /// @type {String}
57
+ ///
58
58
 
59
59
  $form-legend-selector: "%legend" !default;
60
60
 
61
- /**
62
- * Selector for field base
63
- *
64
- * @since 0.1
65
- *
66
- * @type {String}
67
- */
61
+ ///
62
+ /// Selector for field base
63
+ ///
64
+ /// @since 0.1
65
+ ///
66
+ /// @type {String}
67
+ ///
68
68
 
69
69
  $form-field-base-selector: "%field-base" !default;
70
70
 
71
- /**
72
- * Selector for focus state of form elements
73
- *
74
- * @since 0.1
75
- *
76
- * @type {String}
77
- */
71
+ ///
72
+ /// Selector for focus state of form elements
73
+ ///
74
+ /// @since 0.1
75
+ ///
76
+ /// @type {String}
77
+ ///
78
78
 
79
79
  $form-field-base-selector--focus: "%field-base--focus" !default;
80
80
 
81
- /**
82
- * Selector for most field elements
83
- *
84
- * @since 0.1
85
- *
86
- * @type {String}
87
- */
81
+ ///
82
+ /// Selector for most field elements
83
+ ///
84
+ /// @since 0.1
85
+ ///
86
+ /// @type {String}
87
+ ///
88
88
 
89
89
  $form-field-selector: "%field" !default;
90
90
 
91
- /**
92
- * Selector for color field elements
93
- *
94
- * @since 0.1
95
- *
96
- * @type {String}
97
- */
91
+ ///
92
+ /// Selector for color field elements
93
+ ///
94
+ /// @since 0.1
95
+ ///
96
+ /// @type {String}
97
+ ///
98
98
 
99
99
  $form-field-color-selector: "%field--color" !default;
100
100
 
101
- /**
102
- * Selector for range field elements
103
- *
104
- * @since 0.1
105
- *
106
- * @type {String}
107
- */
101
+ ///
102
+ /// Selector for range field elements
103
+ ///
104
+ /// @since 0.1
105
+ ///
106
+ /// @type {String}
107
+ ///
108
108
 
109
109
  $form-field-range-selector: "%field--range" !default;
110
110
 
111
- /**
112
- * Selector for search field elements
113
- *
114
- * @since 0.1
115
- *
116
- * @type {String}
117
- */
111
+ ///
112
+ /// Selector for search field elements
113
+ ///
114
+ /// @since 0.1
115
+ ///
116
+ /// @type {String}
117
+ ///
118
118
 
119
119
  $form-field-search-selector: "%field--search" !default;
120
120
 
121
- /**
122
- * Selector for checkbox field elements
123
- *
124
- * @since 0.1
125
- *
126
- * @type {String}
127
- */
121
+ ///
122
+ /// Selector for checkbox field elements
123
+ ///
124
+ /// @since 0.1
125
+ ///
126
+ /// @type {String}
127
+ ///
128
128
 
129
129
  $form-checkbox-selector: "%checkbox" !default;
130
130
 
131
- /**
132
- * Selector for radio field elements
133
- *
134
- * @since 0.1
135
- *
136
- * @type {String}
137
- */
131
+ ///
132
+ /// Selector for radio field elements
133
+ ///
134
+ /// @since 0.1
135
+ ///
136
+ /// @type {String}
137
+ ///
138
138
 
139
139
  $form-radio-selector: "%radio" !default;
140
140
 
141
- /**
142
- * Selector for textarea field elements
143
- *
144
- * @since 0.1
145
- *
146
- * @type {String}
147
- */
141
+ ///
142
+ /// Selector for textarea field elements
143
+ ///
144
+ /// @since 0.1
145
+ ///
146
+ /// @type {String}
147
+ ///
148
148
 
149
149
  $form-textarea-selector: "%textarea" !default;
150
150
 
151
- /**
152
- * Selector for select field base
153
- *
154
- * @since 0.1
155
- *
156
- * @type {String}
157
- */
151
+ ///
152
+ /// Selector for select field base
153
+ ///
154
+ /// @since 0.1
155
+ ///
156
+ /// @type {String}
157
+ ///
158
158
 
159
159
  $form-select-selector: "%select" !default;
160
160
 
161
- /**
162
- * Selector for select field elements that behave like dropdowns
163
- *
164
- * @since 0.1
165
- *
166
- * @type {String}
167
- */
161
+ ///
162
+ /// Selector for select field elements that behave like dropdowns
163
+ ///
164
+ /// @since 0.1
165
+ ///
166
+ /// @type {String}
167
+ ///
168
168
 
169
169
  $form-select-dropdown-selector: "%select--dropdown" !default;
170
170
 
171
- /**
172
- * Selector for scrollable select field elements
173
- *
174
- * @since 0.1
175
- *
176
- * @type {String}
177
- */
171
+ ///
172
+ /// Selector for scrollable select field elements
173
+ ///
174
+ /// @since 0.1
175
+ ///
176
+ /// @type {String}
177
+ ///
178
178
 
179
179
  $form-select-box-selector: "%select--box" !default;
180
180
 
181
- /**
182
- * Selector for scrollable select field elements
183
- *
184
- * @since 0.1
185
- *
186
- * @type {String}
187
- */
181
+ ///
182
+ /// Selector for scrollable select field elements
183
+ ///
184
+ /// @since 0.1
185
+ ///
186
+ /// @type {String}
187
+ ///
188
188
 
189
189
  $form-select-multiple-selector: "%select--multiple" !default;
190
190
 
191
- /**
192
- * Selector for scrollable labe; elements
193
- *
194
- * @since 0.1
195
- *
196
- * @type {String}
197
- */
191
+ ///
192
+ /// Selector for scrollable labe; elements
193
+ ///
194
+ /// @since 0.1
195
+ ///
196
+ /// @type {String}
197
+ ///
198
198
 
199
199
  $form-label-selector: "%label" !default;
200
200
 
201
201
  // Start collection of element-maps
202
202
 
203
- /**
204
- * Collection of form selectors and property maps. For each selector, the corrresponding properties are rendered by the form behavior.
205
- * You can override form behavior by a) overriding any of the field settings, or by b) replacing the selector entry in this element collection map.
206
- *
207
- * @since 0.1
208
- *
209
- * @type {Map}
210
- */
203
+ ///
204
+ /// Collection of form selectors and property maps. For each selector, the corrresponding properties are rendered by the form behavior.
205
+ /// You can override form behavior by a) overriding any of the field settings, or by b) replacing the selector entry in this element collection map.
206
+ ///
207
+ /// @since 0.1
208
+ ///
209
+ /// @type {Map}
210
+ ///
211
211
 
212
212
  $form-elements: ();
213
213
 
@@ -224,153 +224,153 @@ $form-elements: ();
224
224
  //
225
225
  // --------------------------------------------------------------------------
226
226
 
227
- /**
228
- * Field top-padding. Defaults to a quarter rhythm unit.
229
- *
230
- * @since 0.1
231
- *
232
- * @type {Number}
233
- */
227
+ ///
228
+ /// Field top-padding. Defaults to a quarter rhythm unit.
229
+ ///
230
+ /// @since 0.1
231
+ ///
232
+ /// @type {Number}
233
+ ///
234
234
 
235
235
  $field-padding-top: rhythm(.25) !default;
236
236
 
237
- /**
238
- * Field right-padding.
239
- *
240
- * @since 0.1
241
- *
242
- * @type {Number}
243
- */
237
+ ///
238
+ /// Field right-padding.
239
+ ///
240
+ /// @since 0.1
241
+ ///
242
+ /// @type {Number}
243
+ ///
244
244
 
245
245
  $field-padding-right: .5em !default;
246
246
 
247
- /**
248
- * Field bottom-padding. Defaults to a quarter rhythm unit.
249
- *
250
- * @since 0.1
251
- *
252
- * @type {Number}
253
- */
247
+ ///
248
+ /// Field bottom-padding. Defaults to a quarter rhythm unit.
249
+ ///
250
+ /// @since 0.1
251
+ ///
252
+ /// @type {Number}
253
+ ///
254
254
 
255
255
  $field-padding-bottom: rhythm(.25) !default;
256
256
 
257
- /**
258
- * Field left-padding.
259
- *
260
- * @since 0.1
261
- *
262
- * @type {Number}
263
- */
257
+ ///
258
+ /// Field left-padding.
259
+ ///
260
+ /// @since 0.1
261
+ ///
262
+ /// @type {Number}
263
+ ///
264
264
 
265
265
  $field-padding-left: .5em !default;
266
266
 
267
- /**
268
- * Field background-color, defaults to the default background color.
269
- *
270
- * @since 0.1
271
- *
272
- * @type {Color}
273
- */
267
+ ///
268
+ /// Field background-color, defaults to the default background color.
269
+ ///
270
+ /// @since 0.1
271
+ ///
272
+ /// @type {Color}
273
+ ///
274
274
 
275
275
  $field-background-color: $color-background !default;
276
276
 
277
- /**
278
- * Field background-image, false will not render an image.
279
- *
280
- * @since 0.1
281
- *
282
- * @type {Color}
283
- */
277
+ ///
278
+ /// Field background-image, false will not render an image.
279
+ ///
280
+ /// @since 0.1
281
+ ///
282
+ /// @type {Color}
283
+ ///
284
284
 
285
285
  $field-background-image: false !default;
286
286
 
287
- /**
288
- * Field border width.
289
- *
290
- * @since 0.1
291
- *
292
- * @type {Number}
293
- */
287
+ ///
288
+ /// Field border width.
289
+ ///
290
+ /// @since 0.1
291
+ ///
292
+ /// @type {Number}
293
+ ///
294
294
 
295
295
  $field-border-width: 1px !default;
296
296
 
297
- /**
298
- * Field border style.
299
- *
300
- * @since 0.1
301
- *
302
- * @type {String}
303
- */
297
+ ///
298
+ /// Field border style.
299
+ ///
300
+ /// @since 0.1
301
+ ///
302
+ /// @type {String}
303
+ ///
304
304
 
305
305
  $field-border-style: solid !default;
306
306
 
307
- /**
308
- * Field border color.
309
- *
310
- * @since 0.1
311
- *
312
- * @type {Color}
313
- */
307
+ ///
308
+ /// Field border color.
309
+ ///
310
+ /// @since 0.1
311
+ ///
312
+ /// @type {Color}
313
+ ///
314
314
 
315
315
  $field-border-color: mix($color-shadow, $field-background-color, 20%) !default;
316
316
 
317
- /**
318
- * Field border radius.
319
- *
320
- * @since 0.1
321
- *
322
- * @type {Number}
323
- */
317
+ ///
318
+ /// Field border radius.
319
+ ///
320
+ /// @since 0.1
321
+ ///
322
+ /// @type {Number}
323
+ ///
324
324
 
325
325
  $field-corner-radius: $corner-radius !default;
326
326
 
327
- /**
328
- * Field box sizing, set to border-box if you want consistent heights and widths accross form elements.
329
- *
330
- * @since 0.1
331
- *
332
- * @type {String}
333
- */
327
+ ///
328
+ /// Field box sizing, set to border-box if you want consistent heights and widths accross form elements.
329
+ ///
330
+ /// @since 0.1
331
+ ///
332
+ /// @type {String}
333
+ ///
334
334
 
335
335
  $field-box-sizing: border-box !default;
336
336
 
337
- /**
338
- * Field width, set to 100%. Width will be set on the field's (parent) container.
339
- *
340
- * @since 0.1
341
- *
342
- * @type {Number}
343
- */
337
+ ///
338
+ /// Field width, set to 100%. Width will be set on the field's (parent) container.
339
+ ///
340
+ /// @since 0.1
341
+ ///
342
+ /// @type {Number}
343
+ ///
344
344
 
345
345
  $field-width: 100% !default;
346
346
 
347
- /**
348
- * Field height computes to line-heigh plus border-width + plus padding and is used by select (dropdown) form elements.
349
- *
350
- * @since 0.1
351
- *
352
- * @type {Number}
353
- */
347
+ ///
348
+ /// Field height computes to line-heigh plus border-width + plus padding and is used by select (dropdown) form elements.
349
+ ///
350
+ /// @since 0.1
351
+ ///
352
+ /// @type {Number}
353
+ ///
354
354
 
355
355
  $field-height: $default-line-height + 2 * $field-border-width + $field-padding-top + $field-padding-bottom !default;
356
356
 
357
- /**
358
- * Field line-height, relevant for text-area.
359
- *
360
- * @since 0.1
361
- *
362
- * @type {Number}
363
- */
357
+ ///
358
+ /// Field line-height, relevant for text-area.
359
+ ///
360
+ /// @since 0.1
361
+ ///
362
+ /// @type {Number}
363
+ ///
364
364
 
365
365
  $field-line-height: $default-line-height !default;
366
366
 
367
- /**
368
- * Field shadow, simple inset shadow by default.
369
- *
370
- * @since 0.1
371
- *
372
- * @type {List}
373
- */
367
+ ///
368
+ /// Field shadow, simple inset shadow by default.
369
+ ///
370
+ /// @since 0.1
371
+ ///
372
+ /// @type {List}
373
+ ///
374
374
 
375
375
  $field-shadow: mix($black, $field-background-color, 10%) 1px 1px 1px 0 inset !default;
376
376
 
@@ -382,54 +382,54 @@ $field-shadow: mix($black, $field-background-color, 10%) 1px 1px 1px 0 inset !de
382
382
  // --------------------------------------------------------------------------
383
383
 
384
384
 
385
- /**
386
- * Background color of a field with focus state.
387
- *
388
- * @since 0.1
389
- *
390
- * @type {Color}
391
- */
385
+ ///
386
+ /// Background color of a field with focus state.
387
+ ///
388
+ /// @since 0.1
389
+ ///
390
+ /// @type {Color}
391
+ ///
392
392
 
393
393
  $field-focussed-background-color: $whitesmoke !default;
394
394
 
395
- /**
396
- * Outline width of a field with focus state.
397
- *
398
- * @since 0.1
399
- *
400
- * @type {Number}
401
- */
395
+ ///
396
+ /// Outline width of a field with focus state.
397
+ ///
398
+ /// @since 0.1
399
+ ///
400
+ /// @type {Number}
401
+ ///
402
402
 
403
403
  $field-focussed-outline-width: 1px !default;
404
404
 
405
- /**
406
- * Outline style of a field with focus state.
407
- *
408
- * @since 0.1
409
- *
410
- * @type {String}
411
- */
405
+ ///
406
+ /// Outline style of a field with focus state.
407
+ ///
408
+ /// @since 0.1
409
+ ///
410
+ /// @type {String}
411
+ ///
412
412
 
413
413
  $field-focussed-outline-style: solid !default;
414
414
 
415
- /**
416
- * Outline color of a field with focus state.
417
- *
418
- * @since 0.1
419
- *
420
- * @type {Color}
421
- */
415
+ ///
416
+ /// Outline color of a field with focus state.
417
+ ///
418
+ /// @since 0.1
419
+ ///
420
+ /// @type {Color}
421
+ ///
422
422
 
423
423
  $field-focussed-outline-color: mix($field-border-color, $field-focussed-background-color, 0) !default;
424
424
 
425
- /**
426
- * Outline offset of a field with focus state. In this setting, the outline is rendered inside the field against the field background.
427
- * Be aware that this property can have a negative impact on a form's accessibility. Alter with care.
428
- *
429
- * @since 0.1
430
- *
431
- * @type {Number}
432
- */
425
+ ///
426
+ /// Outline offset of a field with focus state. In this setting, the outline is rendered inside the field against the field background.
427
+ /// Be aware that this property can have a negative impact on a form's accessibility. Alter with care.
428
+ ///
429
+ /// @since 0.1
430
+ ///
431
+ /// @type {Number}
432
+ ///
433
433
 
434
434
  $field-focussed-outline-offset: -1*( $field-focussed-outline-width + 3*$field-border-width) !default;
435
435
 
@@ -449,13 +449,13 @@ $field-focussed-outline-offset: -1*( $field-focussed-outline-width + 3*$field-bo
449
449
  // ==========================================================================
450
450
 
451
451
 
452
- /**
453
- * Width of range input field.
454
- *
455
- * @since 0.1
456
- *
457
- * @type {Number}
458
- */
452
+ ///
453
+ /// Width of range input field.
454
+ ///
455
+ /// @since 0.1
456
+ ///
457
+ /// @type {Number}
458
+ ///
459
459
 
460
460
  $field-range-width: $field-width !default;
461
461
 
@@ -467,23 +467,23 @@ $field-range-width: $field-width !default;
467
467
  // --------------------------------------------------------------------------
468
468
 
469
469
 
470
- /**
471
- * Border radius for search fields.
472
- *
473
- * @since 0.1
474
- *
475
- * @type {Number}
476
- */
470
+ ///
471
+ /// Border radius for search fields.
472
+ ///
473
+ /// @since 0.1
474
+ ///
475
+ /// @type {Number}
476
+ ///
477
477
 
478
478
  $field-search-border-radius: $field-corner-radius !default;
479
479
 
480
- /**
481
- * Outline offset override for search fields.
482
- *
483
- * @since 0.1
484
- *
485
- * @type {Number}
486
- */
480
+ ///
481
+ /// Outline offset override for search fields.
482
+ ///
483
+ /// @since 0.1
484
+ ///
485
+ /// @type {Number}
486
+ ///
487
487
 
488
488
  $field-search-outline-offset: 0 !default;
489
489
 
@@ -495,34 +495,34 @@ $field-search-outline-offset: 0 !default;
495
495
  // --------------------------------------------------------------------------
496
496
 
497
497
 
498
- /**
499
- * Height of select element.
500
- *
501
- * @since 0.1
502
- *
503
- * @type {Number}
504
- */
498
+ ///
499
+ /// Height of select element.
500
+ ///
501
+ /// @since 0.1
502
+ ///
503
+ /// @type {Number}
504
+ ///
505
505
 
506
506
  $select-height: $field-height !default; // This is used for select elements
507
507
 
508
- /**
509
- * Experimental setting.
510
- *
511
- * @since 0.1
512
- *
513
- * @type {String}
514
- */
508
+ ///
509
+ /// Experimental setting.
510
+ ///
511
+ /// @since 0.1
512
+ ///
513
+ /// @type {String}
514
+ ///
515
515
 
516
516
  $select-appearance: menulist !default;
517
517
 
518
- /**
519
- * Experimental setting. Allows overriding of default behavior. Will require JavaScript.
520
- *
521
- * @todo define behavior, does not do anything at the moment
522
- * @since 0.1
523
- *
524
- * @type {Number}
525
- */
518
+ ///
519
+ /// Experimental setting. Allows overriding of default behavior. Will require JavaScript.
520
+ ///
521
+ /// @todo define behavior, does not do anything at the moment
522
+ /// @since 0.1
523
+ ///
524
+ /// @type {Number}
525
+ ///
526
526
 
527
527
  $select-webkit: false !default;
528
528
 
@@ -534,33 +534,33 @@ $select-webkit: false !default;
534
534
  // --------------------------------------------------------------------------
535
535
 
536
536
 
537
- /**
538
- * Height of textarea element.
539
- *
540
- * @since 0.1
541
- *
542
- * @type {Number | String}
543
- */
537
+ ///
538
+ /// Height of textarea element.
539
+ ///
540
+ /// @since 0.1
541
+ ///
542
+ /// @type {Number | String}
543
+ ///
544
544
 
545
545
  $textarea-height: auto !default;
546
546
 
547
- /**
548
- * Alternate height of textarea element, medium.
549
- *
550
- * @since 0.1
551
- *
552
- * @type {Number | String}
553
- */
547
+ ///
548
+ /// Alternate height of textarea element, medium.
549
+ ///
550
+ /// @since 0.1
551
+ ///
552
+ /// @type {Number | String}
553
+ ///
554
554
 
555
555
  $textarea-height-medium: rhythm(5) - 2*$field-border-width !default;
556
556
 
557
- /**
558
- * Alternate height of textarea element, large.
559
- *
560
- * @since 0.1
561
- *
562
- * @type {Number | String}
563
- */
557
+ ///
558
+ /// Alternate height of textarea element, large.
559
+ ///
560
+ /// @since 0.1
561
+ ///
562
+ /// @type {Number | String}
563
+ ///
564
564
 
565
565
  $textarea-height-large: rhythm(10) - 2*$field-border-width !default;
566
566