plug 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +22 -0
  5. data/app/assets/config/plug_manifest.js +2 -0
  6. data/app/assets/javascripts/plug/application.js +15 -0
  7. data/app/assets/javascripts/plug/features.js +2 -0
  8. data/app/assets/stylesheets/plug/_settings.scss +865 -0
  9. data/app/assets/stylesheets/plug/application.scss +35 -0
  10. data/app/assets/stylesheets/plug/blocks/_nav.scss +6 -0
  11. data/app/assets/stylesheets/plug/blocks/_plugs.scss +17 -0
  12. data/app/assets/stylesheets/plug/features.scss +3 -0
  13. data/app/assets/stylesheets/plug/foundation_and_overrides.scss +59 -0
  14. data/app/assets/stylesheets/plug/mixins/_bem.scss +17 -0
  15. data/app/assets/stylesheets/plug/partials/_main.scss +3 -0
  16. data/app/assets/stylesheets/plug/partials/_utils.scss +3 -0
  17. data/app/assets/stylesheets/plug/scaffolds.scss +84 -0
  18. data/app/assets/stylesheets/plug/variables/_colors.scss +5 -0
  19. data/app/assets/stylesheets/scaffolds.scss +84 -0
  20. data/app/controllers/plug/application_controller.rb +5 -0
  21. data/app/controllers/plug/features_controller.rb +71 -0
  22. data/app/helpers/plug/application_helper.rb +4 -0
  23. data/app/jobs/plug/application_job.rb +4 -0
  24. data/app/mailers/plug/application_mailer.rb +6 -0
  25. data/app/models/plug/application_record.rb +5 -0
  26. data/app/models/plug/feature.rb +30 -0
  27. data/app/views/layouts/plug/application.html.haml +11 -0
  28. data/app/views/plug/features/_form.html.haml +19 -0
  29. data/app/views/plug/features/edit.html.haml +7 -0
  30. data/app/views/plug/features/index.html.haml +27 -0
  31. data/app/views/plug/features/new.html.haml +5 -0
  32. data/app/views/plug/features/show.html.haml +18 -0
  33. data/app/views/plug/shared/_head.html.haml +8 -0
  34. data/app/views/plug/shared/_nav.html.haml +6 -0
  35. data/config/routes.rb +5 -0
  36. data/db/migrate/20171207020316_create_plug_features.rb +15 -0
  37. data/lib/plug/engine.rb +14 -0
  38. data/lib/plug/version.rb +3 -0
  39. data/lib/plug.rb +13 -0
  40. data/lib/tasks/plug_tasks.rake +4 -0
  41. metadata +251 -0
@@ -0,0 +1,865 @@
1
+ // Foundation for Sites Settings
2
+ // -----------------------------
3
+ //
4
+ // Table of Contents:
5
+ //
6
+ // 1. Global
7
+ // 2. Breakpoints
8
+ // 3. The Grid
9
+ // 4. Base Typography
10
+ // 5. Typography Helpers
11
+ // 6. Abide
12
+ // 7. Accordion
13
+ // 8. Accordion Menu
14
+ // 9. Badge
15
+ // 10. Breadcrumbs
16
+ // 11. Button
17
+ // 12. Button Group
18
+ // 13. Callout
19
+ // 14. Card
20
+ // 15. Close Button
21
+ // 16. Drilldown
22
+ // 17. Dropdown
23
+ // 18. Dropdown Menu
24
+ // 19. Flexbox Utilities
25
+ // 20. Forms
26
+ // 21. Label
27
+ // 22. Media Object
28
+ // 23. Menu
29
+ // 24. Meter
30
+ // 25. Off-canvas
31
+ // 26. Orbit
32
+ // 27. Pagination
33
+ // 28. Progress Bar
34
+ // 29. Prototype Arrow
35
+ // 30. Prototype Border-Box
36
+ // 31. Prototype Border-None
37
+ // 32. Prototype Bordered
38
+ // 33. Prototype Display
39
+ // 34. Prototype Font-Styling
40
+ // 35. Prototype List-Style-Type
41
+ // 36. Prototype Overflow
42
+ // 37. Prototype Position
43
+ // 38. Prototype Rounded
44
+ // 39. Prototype Separator
45
+ // 40. Prototype Shadow
46
+ // 41. Prototype Sizing
47
+ // 42. Prototype Spacing
48
+ // 43. Prototype Text-Decoration
49
+ // 44. Prototype Text-Transformation
50
+ // 45. Prototype Text-Utilities
51
+ // 46. Responsive Embed
52
+ // 47. Reveal
53
+ // 48. Slider
54
+ // 49. Switch
55
+ // 50. Table
56
+ // 51. Tabs
57
+ // 52. Thumbnail
58
+ // 53. Title Bar
59
+ // 54. Tooltip
60
+ // 55. Top Bar
61
+ // 56. Xy Grid
62
+
63
+ @import 'util/util';
64
+
65
+ // 1. Global
66
+ // ---------
67
+
68
+ $global-font-size: 100%;
69
+ $global-width: rem-calc(970);
70
+ $global-lineheight: 1.5;
71
+ $foundation-palette: (
72
+ primary: #1779ba,
73
+ secondary: #767676,
74
+ success: #3adb76,
75
+ warning: #ffae00,
76
+ alert: #cc4b37,
77
+ );
78
+ $light-gray: #e6e6e6;
79
+ $medium-gray: #cacaca;
80
+ $dark-gray: #8a8a8a;
81
+ $black: #0a0a0a;
82
+ $white: #fefefe;
83
+ $body-background: $white;
84
+ $body-font-color: $black;
85
+ $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
86
+ $body-antialiased: true;
87
+ $global-margin: 1rem;
88
+ $global-padding: 1rem;
89
+ $global-position: 1rem;
90
+ $global-weight-normal: normal;
91
+ $global-weight-bold: bold;
92
+ $global-radius: 0;
93
+ $global-menu-padding: 0.7rem 1rem;
94
+ $global-menu-nested-margin: 1rem;
95
+ $global-text-direction: ltr;
96
+ $global-flexbox: true;
97
+ $global-prototype-breakpoints: false;
98
+ $global-color-pick-contrast-tolerance: 0;
99
+ $print-transparent-backgrounds: true;
100
+
101
+ @include add-foundation-colors;
102
+
103
+ // 2. Breakpoints
104
+ // --------------
105
+
106
+ $breakpoints: (
107
+ small: 0,
108
+ medium: 640px,
109
+ large: 1024px,
110
+ xlarge: 1200px,
111
+ xxlarge: 1440px,
112
+ );
113
+ $print-breakpoint: large;
114
+ $breakpoint-classes: (small medium large);
115
+
116
+ // 3. The Grid
117
+ // -----------
118
+
119
+ $grid-row-width: $global-width;
120
+ $grid-column-count: 12;
121
+ $grid-column-gutter: (
122
+ small: 20px,
123
+ medium: 30px,
124
+ );
125
+ $grid-column-align-edge: true;
126
+ $grid-column-alias: 'columns';
127
+ $block-grid-max: 8;
128
+
129
+ // 4. Base Typography
130
+ // ------------------
131
+
132
+ $header-font-family: $body-font-family;
133
+ $header-font-weight: $global-weight-normal;
134
+ $header-font-style: normal;
135
+ $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
136
+ $header-color: inherit;
137
+ $header-lineheight: 1.4;
138
+ $header-margin-bottom: 0.5rem;
139
+ $header-styles: (
140
+ small: (
141
+ 'h1': ('font-size': 24),
142
+ 'h2': ('font-size': 20),
143
+ 'h3': ('font-size': 19),
144
+ 'h4': ('font-size': 18),
145
+ 'h5': ('font-size': 17),
146
+ 'h6': ('font-size': 16),
147
+ ),
148
+ medium: (
149
+ 'h1': ('font-size': 48),
150
+ 'h2': ('font-size': 40),
151
+ 'h3': ('font-size': 31),
152
+ 'h4': ('font-size': 25),
153
+ 'h5': ('font-size': 20),
154
+ 'h6': ('font-size': 16),
155
+ ),
156
+ );
157
+ $header-text-rendering: optimizeLegibility;
158
+ $small-font-size: 80%;
159
+ $header-small-font-color: $medium-gray;
160
+ $paragraph-lineheight: 1.6;
161
+ $paragraph-margin-bottom: 1rem;
162
+ $paragraph-text-rendering: optimizeLegibility;
163
+ $code-color: $black;
164
+ $code-font-family: $font-family-monospace;
165
+ $code-font-weight: $global-weight-normal;
166
+ $code-background: $light-gray;
167
+ $code-border: 1px solid $medium-gray;
168
+ $code-padding: rem-calc(2 5 1);
169
+ $anchor-color: $primary-color;
170
+ $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
171
+ $anchor-text-decoration: none;
172
+ $anchor-text-decoration-hover: none;
173
+ $hr-width: $global-width;
174
+ $hr-border: 1px solid $medium-gray;
175
+ $hr-margin: rem-calc(20) auto;
176
+ $list-lineheight: $paragraph-lineheight;
177
+ $list-margin-bottom: $paragraph-margin-bottom;
178
+ $list-style-type: disc;
179
+ $list-style-position: outside;
180
+ $list-side-margin: 1.25rem;
181
+ $list-nested-side-margin: 1.25rem;
182
+ $defnlist-margin-bottom: 1rem;
183
+ $defnlist-term-weight: $global-weight-bold;
184
+ $defnlist-term-margin-bottom: 0.3rem;
185
+ $blockquote-color: $dark-gray;
186
+ $blockquote-padding: rem-calc(9 20 0 19);
187
+ $blockquote-border: 1px solid $medium-gray;
188
+ $cite-font-size: rem-calc(13);
189
+ $cite-color: $dark-gray;
190
+ $cite-pseudo-content: '\2014 \0020';
191
+ $keystroke-font: $font-family-monospace;
192
+ $keystroke-color: $black;
193
+ $keystroke-background: $light-gray;
194
+ $keystroke-padding: rem-calc(2 4 0);
195
+ $keystroke-radius: $global-radius;
196
+ $abbr-underline: 1px dotted $black;
197
+
198
+ // 5. Typography Helpers
199
+ // ---------------------
200
+
201
+ $lead-font-size: $global-font-size * 1.25;
202
+ $lead-lineheight: 1.6;
203
+ $subheader-lineheight: 1.4;
204
+ $subheader-color: $dark-gray;
205
+ $subheader-font-weight: $global-weight-normal;
206
+ $subheader-margin-top: 0.2rem;
207
+ $subheader-margin-bottom: 0.5rem;
208
+ $stat-font-size: 2.5rem;
209
+
210
+ // 6. Abide
211
+ // --------
212
+
213
+ $abide-inputs: true;
214
+ $abide-labels: true;
215
+ $input-background-invalid: get-color(alert);
216
+ $form-label-color-invalid: get-color(alert);
217
+ $input-error-color: get-color(alert);
218
+ $input-error-font-size: rem-calc(12);
219
+ $input-error-font-weight: $global-weight-bold;
220
+
221
+ // 7. Accordion
222
+ // ------------
223
+
224
+ $accordion-background: $white;
225
+ $accordion-plusminus: true;
226
+ $accordion-title-font-size: rem-calc(12);
227
+ $accordion-item-color: $primary-color;
228
+ $accordion-item-background-hover: $light-gray;
229
+ $accordion-item-padding: 1.25rem 1rem;
230
+ $accordion-content-background: $white;
231
+ $accordion-content-border: 1px solid $light-gray;
232
+ $accordion-content-color: $body-font-color;
233
+ $accordion-content-padding: 1rem;
234
+
235
+ // 8. Accordion Menu
236
+ // -----------------
237
+
238
+ $accordionmenu-padding: $global-menu-padding;
239
+ $accordionmenu-nested-margin: $global-menu-nested-margin;
240
+ $accordionmenu-submenu-padding: $accordionmenu-padding;
241
+ $accordionmenu-arrows: true;
242
+ $accordionmenu-arrow-color: $primary-color;
243
+ $accordionmenu-item-background: null;
244
+ $accordionmenu-border: null;
245
+ $accordionmenu-submenu-toggle-background: null;
246
+ $accordion-submenu-toggle-border: $accordionmenu-border;
247
+ $accordionmenu-submenu-toggle-width: 40px;
248
+ $accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
249
+ $accordionmenu-arrow-size: 6px;
250
+
251
+ // 9. Badge
252
+ // --------
253
+
254
+ $badge-background: $primary-color;
255
+ $badge-color: $white;
256
+ $badge-color-alt: $black;
257
+ $badge-palette: $foundation-palette;
258
+ $badge-padding: 0.3em;
259
+ $badge-minwidth: 2.1em;
260
+ $badge-font-size: 0.6rem;
261
+
262
+ // 10. Breadcrumbs
263
+ // ---------------
264
+
265
+ $breadcrumbs-margin: 0 0 $global-margin 0;
266
+ $breadcrumbs-item-font-size: rem-calc(11);
267
+ $breadcrumbs-item-color: $primary-color;
268
+ $breadcrumbs-item-color-current: $black;
269
+ $breadcrumbs-item-color-disabled: $medium-gray;
270
+ $breadcrumbs-item-margin: 0.75rem;
271
+ $breadcrumbs-item-uppercase: true;
272
+ $breadcrumbs-item-separator: true;
273
+ $breadcrumbs-item-separator-item: '/';
274
+ $breadcrumbs-item-separator-item-rtl: '\\';
275
+ $breadcrumbs-item-separator-color: $medium-gray;
276
+
277
+ // 11. Button
278
+ // ----------
279
+
280
+ $button-font-family: inherit;
281
+ $button-padding: 0.85em 1em;
282
+ $button-margin: 0 0 $global-margin 0;
283
+ $button-fill: solid;
284
+ $button-background: $primary-color;
285
+ $button-background-hover: scale-color($button-background, $lightness: -15%);
286
+ $button-color: $white;
287
+ $button-color-alt: $black;
288
+ $button-radius: $global-radius;
289
+ $button-hollow-border-width: 1px;
290
+ $button-sizes: (
291
+ tiny: 0.6rem,
292
+ small: 0.75rem,
293
+ default: 0.9rem,
294
+ large: 1.25rem,
295
+ );
296
+ $button-palette: map-merge($foundation-palette, (
297
+ studio: $studio,
298
+ )) !default;
299
+ $button-opacity-disabled: 0.25;
300
+ $button-background-hover-lightness: -20%;
301
+ $button-hollow-hover-lightness: -50%;
302
+ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
303
+
304
+ // 12. Button Group
305
+ // ----------------
306
+
307
+ $buttongroup-margin: 1rem;
308
+ $buttongroup-spacing: 1px;
309
+ $buttongroup-child-selector: '.button';
310
+ $buttongroup-expand-max: 6;
311
+ $buttongroup-radius-on-each: true;
312
+
313
+ // 13. Callout
314
+ // -----------
315
+
316
+ $callout-background: $white;
317
+ $callout-background-fade: 85%;
318
+ $callout-border: 1px solid rgba($black, 0.25);
319
+ $callout-margin: 0 0 1rem 0;
320
+ $callout-padding: 1rem;
321
+ $callout-font-color: $body-font-color;
322
+ $callout-font-color-alt: $body-background;
323
+ $callout-radius: $global-radius;
324
+ $callout-link-tint: 30%;
325
+
326
+ // 14. Card
327
+ // --------
328
+
329
+ $card-background: $white;
330
+ $card-font-color: $body-font-color;
331
+ $card-divider-background: $light-gray;
332
+ $card-border: 1px solid $light-gray;
333
+ $card-shadow: none;
334
+ $card-border-radius: $global-radius;
335
+ $card-padding: $global-padding;
336
+ $card-margin-bottom: $global-margin;
337
+
338
+ // 15. Close Button
339
+ // ----------------
340
+
341
+ $closebutton-position: right top;
342
+ $closebutton-offset-horizontal: (
343
+ small: 0.66rem,
344
+ medium: 1rem,
345
+ );
346
+ $closebutton-offset-vertical: (
347
+ small: 0.33em,
348
+ medium: 0.5rem,
349
+ );
350
+ $closebutton-size: (
351
+ small: 1.5em,
352
+ medium: 2em,
353
+ );
354
+ $closebutton-lineheight: 1;
355
+ $closebutton-color: $dark-gray;
356
+ $closebutton-color-hover: $black;
357
+
358
+ // 16. Drilldown
359
+ // -------------
360
+
361
+ $drilldown-transition: transform 0.15s linear;
362
+ $drilldown-arrows: true;
363
+ $drilldown-padding: $global-menu-padding;
364
+ $drilldown-nested-margin: 0;
365
+ $drilldown-background: $white;
366
+ $drilldown-submenu-padding: $drilldown-padding;
367
+ $drilldown-submenu-background: $white;
368
+ $drilldown-arrow-color: $primary-color;
369
+ $drilldown-arrow-size: 6px;
370
+
371
+ // 17. Dropdown
372
+ // ------------
373
+
374
+ $dropdown-padding: 1rem;
375
+ $dropdown-background: $body-background;
376
+ $dropdown-border: 1px solid $medium-gray;
377
+ $dropdown-font-size: 1rem;
378
+ $dropdown-width: 300px;
379
+ $dropdown-radius: $global-radius;
380
+ $dropdown-sizes: (
381
+ tiny: 100px,
382
+ small: 200px,
383
+ large: 400px,
384
+ );
385
+
386
+ // 18. Dropdown Menu
387
+ // -----------------
388
+
389
+ $dropdownmenu-arrows: true;
390
+ $dropdownmenu-arrow-color: $anchor-color;
391
+ $dropdownmenu-arrow-size: 6px;
392
+ $dropdownmenu-arrow-padding: 1.5rem;
393
+ $dropdownmenu-min-width: 200px;
394
+ $dropdownmenu-background: $white;
395
+ $dropdownmenu-submenu-background: $dropdownmenu-background;
396
+ $dropdownmenu-padding: $global-menu-padding;
397
+ $dropdownmenu-nested-margin: 0;
398
+ $dropdownmenu-submenu-padding: $dropdownmenu-padding;
399
+ $dropdownmenu-border: 1px solid $medium-gray;
400
+ $dropdown-menu-item-color-active: get-color(primary);
401
+ $dropdown-menu-item-background-active: transparent;
402
+
403
+ // 19. Flexbox Utilities
404
+ // ---------------------
405
+
406
+ $flex-source-ordering-count: 6;
407
+ $flexbox-responsive-breakpoints: true;
408
+
409
+ // 20. Forms
410
+ // ---------
411
+
412
+ $fieldset-border: 1px solid $medium-gray;
413
+ $fieldset-padding: rem-calc(20);
414
+ $fieldset-margin: rem-calc(18 0);
415
+ $legend-padding: rem-calc(0 3);
416
+ $form-spacing: rem-calc(16);
417
+ $helptext-color: $black;
418
+ $helptext-font-size: rem-calc(13);
419
+ $helptext-font-style: italic;
420
+ $input-prefix-color: $black;
421
+ $input-prefix-background: $light-gray;
422
+ $input-prefix-border: 1px solid $medium-gray;
423
+ $input-prefix-padding: 1rem;
424
+ $form-label-color: $black;
425
+ $form-label-font-size: rem-calc(14);
426
+ $form-label-font-weight: $global-weight-normal;
427
+ $form-label-line-height: 1.8;
428
+ $select-background: $white;
429
+ $select-triangle-color: $dark-gray;
430
+ $select-radius: $global-radius;
431
+ $input-color: $black;
432
+ $input-placeholder-color: $medium-gray;
433
+ $input-font-family: inherit;
434
+ $input-font-size: rem-calc(16);
435
+ $input-font-weight: $global-weight-normal;
436
+ $input-line-height: $global-lineheight;
437
+ $input-background: $white;
438
+ $input-background-focus: $white;
439
+ $input-background-disabled: $light-gray;
440
+ $input-border: 1px solid $medium-gray;
441
+ $input-border-focus: 1px solid $dark-gray;
442
+ $input-padding: $form-spacing / 2;
443
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1);
444
+ $input-shadow-focus: 0 0 5px $medium-gray;
445
+ $input-cursor-disabled: not-allowed;
446
+ $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
447
+ $input-number-spinners: true;
448
+ $input-radius: $global-radius;
449
+ $form-button-radius: $global-radius;
450
+
451
+ // 21. Label
452
+ // ---------
453
+
454
+ $label-background: $primary-color;
455
+ $label-color: $white;
456
+ $label-color-alt: $black;
457
+ $label-palette: $foundation-palette;
458
+ $label-font-size: 0.8rem;
459
+ $label-padding: 0.33333rem 0.5rem;
460
+ $label-radius: $global-radius;
461
+
462
+ // 22. Media Object
463
+ // ----------------
464
+
465
+ $mediaobject-margin-bottom: $global-margin;
466
+ $mediaobject-section-padding: $global-padding;
467
+ $mediaobject-image-width-stacked: 100%;
468
+
469
+ // 23. Menu
470
+ // --------
471
+
472
+ $menu-margin: 0;
473
+ $menu-nested-margin: $global-menu-nested-margin;
474
+ $menu-items-padding: $global-menu-padding;
475
+ $menu-simple-margin: 1rem;
476
+ $menu-item-color-active: $white;
477
+ $menu-item-background-active: get-color(primary);
478
+ $menu-icon-spacing: 0.25rem;
479
+ $menu-item-background-hover: $light-gray;
480
+ $menu-state-back-compat: true;
481
+ $menu-centered-back-compat: true;
482
+
483
+ // 24. Meter
484
+ // ---------
485
+
486
+ $meter-height: 1rem;
487
+ $meter-radius: $global-radius;
488
+ $meter-background: $medium-gray;
489
+ $meter-fill-good: $success-color;
490
+ $meter-fill-medium: $warning-color;
491
+ $meter-fill-bad: $alert-color;
492
+
493
+ // 25. Off-canvas
494
+ // --------------
495
+
496
+ $offcanvas-size: 250px;
497
+ $offcanvas-vertical-size: 250px;
498
+ $offcanvas-background: $light-gray;
499
+ $offcanvas-shadow: 0 0 10px rgba($black, 0.7);
500
+ $offcanvas-inner-shadow-size: 20px;
501
+ $offcanvas-inner-shadow-color: rgba($black, 0.25);
502
+ $offcanvas-overlay-zindex: 11;
503
+ $offcanvas-push-zindex: 12;
504
+ $offcanvas-overlap-zindex: 13;
505
+ $offcanvas-reveal-zindex: 12;
506
+ $offcanvas-transition-length: 0.5s;
507
+ $offcanvas-transition-timing: ease;
508
+ $offcanvas-fixed-reveal: true;
509
+ $offcanvas-exit-background: rgba($white, 0.25);
510
+ $maincontent-class: 'off-canvas-content';
511
+
512
+ // 26. Orbit
513
+ // ---------
514
+
515
+ $orbit-bullet-background: $medium-gray;
516
+ $orbit-bullet-background-active: $dark-gray;
517
+ $orbit-bullet-diameter: 1.2rem;
518
+ $orbit-bullet-margin: 0.1rem;
519
+ $orbit-bullet-margin-top: 0.8rem;
520
+ $orbit-bullet-margin-bottom: 0.8rem;
521
+ $orbit-caption-background: rgba($black, 0.5);
522
+ $orbit-caption-padding: 1rem;
523
+ $orbit-control-background-hover: rgba($black, 0.5);
524
+ $orbit-control-padding: 1rem;
525
+ $orbit-control-zindex: 10;
526
+
527
+ // 27. Pagination
528
+ // --------------
529
+
530
+ $pagination-font-size: rem-calc(14);
531
+ $pagination-margin-bottom: $global-margin;
532
+ $pagination-item-color: $black;
533
+ $pagination-item-padding: rem-calc(3 10);
534
+ $pagination-item-spacing: rem-calc(1);
535
+ $pagination-radius: $global-radius;
536
+ $pagination-item-background-hover: $light-gray;
537
+ $pagination-item-background-current: $primary-color;
538
+ $pagination-item-color-current: $white;
539
+ $pagination-item-color-disabled: $medium-gray;
540
+ $pagination-ellipsis-color: $black;
541
+ $pagination-mobile-items: false;
542
+ $pagination-mobile-current-item: false;
543
+ $pagination-arrows: true;
544
+
545
+ // 28. Progress Bar
546
+ // ----------------
547
+
548
+ $progress-height: 1rem;
549
+ $progress-background: $medium-gray;
550
+ $progress-margin-bottom: $global-margin;
551
+ $progress-meter-background: $primary-color;
552
+ $progress-radius: $global-radius;
553
+
554
+ // 29. Prototype Arrow
555
+ // -------------------
556
+
557
+ $prototype-arrow-directions: (
558
+ down,
559
+ up,
560
+ right,
561
+ left
562
+ );
563
+ $prototype-arrow-size: 0.4375rem;
564
+ $prototype-arrow-color: $black;
565
+
566
+ // 30. Prototype Border-Box
567
+ // ------------------------
568
+
569
+ $prototype-border-box-breakpoints: $global-prototype-breakpoints;
570
+
571
+ // 31. Prototype Border-None
572
+ // -------------------------
573
+
574
+ $prototype-border-none-breakpoints: $global-prototype-breakpoints;
575
+
576
+ // 32. Prototype Bordered
577
+ // ----------------------
578
+
579
+ $prototype-bordered-breakpoints: $global-prototype-breakpoints;
580
+ $prototype-border-width: rem-calc(1);
581
+ $prototype-border-type: solid;
582
+ $prototype-border-color: $medium-gray;
583
+
584
+ // 33. Prototype Display
585
+ // ---------------------
586
+
587
+ $prototype-display-breakpoints: $global-prototype-breakpoints;
588
+ $prototype-display: (
589
+ inline,
590
+ inline-block,
591
+ block,
592
+ table,
593
+ table-cell
594
+ );
595
+
596
+ // 34. Prototype Font-Styling
597
+ // --------------------------
598
+
599
+ $prototype-font-breakpoints: $global-prototype-breakpoints;
600
+ $prototype-wide-letter-spacing: rem-calc(4);
601
+ $prototype-font-normal: $global-weight-normal;
602
+ $prototype-font-bold: $global-weight-bold;
603
+
604
+ // 35. Prototype List-Style-Type
605
+ // -----------------------------
606
+
607
+ $prototype-list-breakpoints: $global-prototype-breakpoints;
608
+ $prototype-style-type-unordered: (
609
+ disc,
610
+ circle,
611
+ square
612
+ );
613
+ $prototype-style-type-ordered: (
614
+ decimal,
615
+ lower-alpha,
616
+ lower-latin,
617
+ lower-roman,
618
+ upper-alpha,
619
+ upper-latin,
620
+ upper-roman
621
+ );
622
+
623
+ // 36. Prototype Overflow
624
+ // ----------------------
625
+
626
+ $prototype-overflow-breakpoints: $global-prototype-breakpoints;
627
+ $prototype-overflow: (
628
+ visible,
629
+ hidden,
630
+ scroll
631
+ );
632
+
633
+ // 37. Prototype Position
634
+ // ----------------------
635
+
636
+ $prototype-position-breakpoints: $global-prototype-breakpoints;
637
+ $prototype-position: (
638
+ static,
639
+ relative,
640
+ absolute,
641
+ fixed
642
+ );
643
+ $prototype-position-z-index: 975;
644
+
645
+ // 38. Prototype Rounded
646
+ // ---------------------
647
+
648
+ $prototype-rounded-breakpoints: $global-prototype-breakpoints;
649
+ $prototype-border-radius: rem-calc(3);
650
+
651
+ // 39. Prototype Separator
652
+ // -----------------------
653
+
654
+ $prototype-separator-breakpoints: $global-prototype-breakpoints;
655
+ $prototype-separator-align: center;
656
+ $prototype-separator-height: rem-calc(2);
657
+ $prototype-separator-width: 3rem;
658
+ $prototype-separator-background: $primary-color;
659
+ $prototype-separator-margin-top: $global-margin;
660
+
661
+ // 40. Prototype Shadow
662
+ // --------------------
663
+
664
+ $prototype-shadow-breakpoints: $global-prototype-breakpoints;
665
+ $prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
666
+ 0 2px 10px 0 rgba(0,0,0,.12);
667
+
668
+ // 41. Prototype Sizing
669
+ // --------------------
670
+
671
+ $prototype-sizing-breakpoints: $global-prototype-breakpoints;
672
+ $prototype-sizing: (
673
+ width,
674
+ height
675
+ );
676
+ $prototype-sizes: (
677
+ 25: 25%,
678
+ 50: 50%,
679
+ 75: 75%,
680
+ 100: 100%
681
+ );
682
+
683
+ // 42. Prototype Spacing
684
+ // ---------------------
685
+
686
+ $prototype-spacing-breakpoints: $global-prototype-breakpoints;
687
+ $prototype-spacers-count: 3;
688
+
689
+ // 43. Prototype Text-Decoration
690
+ // -----------------------------
691
+
692
+ $prototype-decoration-breakpoints: $global-prototype-breakpoints;
693
+ $prototype-text-decoration: (
694
+ overline,
695
+ underline,
696
+ line-through,
697
+ );
698
+
699
+ // 44. Prototype Text-Transformation
700
+ // ---------------------------------
701
+
702
+ $prototype-transformation-breakpoints: $global-prototype-breakpoints;
703
+ $prototype-text-transformation: (
704
+ lowercase,
705
+ uppercase,
706
+ capitalize
707
+ );
708
+
709
+ // 45. Prototype Text-Utilities
710
+ // ----------------------------
711
+
712
+ $prototype-utilities-breakpoints: $global-prototype-breakpoints;
713
+ $prototype-text-overflow: ellipsis;
714
+
715
+ // 46. Responsive Embed
716
+ // --------------------
717
+
718
+ $responsive-embed-margin-bottom: rem-calc(16);
719
+ $responsive-embed-ratios: (
720
+ default: 4 by 3,
721
+ widescreen: 16 by 9,
722
+ );
723
+
724
+ // 47. Reveal
725
+ // ----------
726
+
727
+ $reveal-background: $white;
728
+ $reveal-width: 600px;
729
+ $reveal-max-width: $global-width;
730
+ $reveal-padding: $global-padding;
731
+ $reveal-border: 1px solid $medium-gray;
732
+ $reveal-radius: $global-radius;
733
+ $reveal-zindex: 1005;
734
+ $reveal-overlay-background: rgba($black, 0.45);
735
+
736
+ // 48. Slider
737
+ // ----------
738
+
739
+ $slider-width-vertical: 0.5rem;
740
+ $slider-transition: all 0.2s ease-in-out;
741
+ $slider-height: 0.5rem;
742
+ $slider-background: $light-gray;
743
+ $slider-fill-background: $medium-gray;
744
+ $slider-handle-height: 1.4rem;
745
+ $slider-handle-width: 1.4rem;
746
+ $slider-handle-background: $primary-color;
747
+ $slider-opacity-disabled: 0.25;
748
+ $slider-radius: $global-radius;
749
+
750
+ // 49. Switch
751
+ // ----------
752
+
753
+ $switch-background: $medium-gray;
754
+ $switch-background-active: $primary-color;
755
+ $switch-height: 2rem;
756
+ $switch-height-tiny: 1.5rem;
757
+ $switch-height-small: 1.75rem;
758
+ $switch-height-large: 2.5rem;
759
+ $switch-radius: $global-radius;
760
+ $switch-margin: $global-margin;
761
+ $switch-paddle-background: $white;
762
+ $switch-paddle-offset: 0.25rem;
763
+ $switch-paddle-radius: $global-radius;
764
+ $switch-paddle-transition: all 0.25s ease-out;
765
+
766
+ // 50. Table
767
+ // ---------
768
+
769
+ $table-background: $white;
770
+ $table-color-scale: 5%;
771
+ $table-border: 1px solid smart-scale($table-background, $table-color-scale);
772
+ $table-padding: rem-calc(8 10 10);
773
+ $table-hover-scale: 2%;
774
+ $table-row-hover: darken($table-background, $table-hover-scale);
775
+ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
776
+ $table-is-striped: true;
777
+ $table-striped-background: smart-scale($table-background, $table-color-scale);
778
+ $table-stripe: even;
779
+ $table-head-background: smart-scale($table-background, $table-color-scale / 2);
780
+ $table-head-row-hover: darken($table-head-background, $table-hover-scale);
781
+ $table-foot-background: smart-scale($table-background, $table-color-scale);
782
+ $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
783
+ $table-head-font-color: $body-font-color;
784
+ $table-foot-font-color: $body-font-color;
785
+ $show-header-for-stacked: false;
786
+ $table-stack-breakpoint: medium;
787
+
788
+ // 51. Tabs
789
+ // --------
790
+
791
+ $tab-margin: 0;
792
+ $tab-background: $white;
793
+ $tab-color: $primary-color;
794
+ $tab-background-active: $light-gray;
795
+ $tab-active-color: $primary-color;
796
+ $tab-item-font-size: rem-calc(12);
797
+ $tab-item-background-hover: $white;
798
+ $tab-item-padding: 1.25rem 1.5rem;
799
+ $tab-expand-max: 6;
800
+ $tab-content-background: $white;
801
+ $tab-content-border: $light-gray;
802
+ $tab-content-color: $body-font-color;
803
+ $tab-content-padding: 1rem;
804
+
805
+ // 52. Thumbnail
806
+ // -------------
807
+
808
+ $thumbnail-border: solid 4px $white;
809
+ $thumbnail-margin-bottom: $global-margin;
810
+ $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
811
+ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
812
+ $thumbnail-transition: box-shadow 200ms ease-out;
813
+ $thumbnail-radius: $global-radius;
814
+
815
+ // 53. Title Bar
816
+ // -------------
817
+
818
+ $titlebar-background: $black;
819
+ $titlebar-color: $white;
820
+ $titlebar-padding: 0.5rem;
821
+ $titlebar-text-font-weight: bold;
822
+ $titlebar-icon-color: $white;
823
+ $titlebar-icon-color-hover: $medium-gray;
824
+ $titlebar-icon-spacing: 0.25rem;
825
+
826
+ // 54. Tooltip
827
+ // -----------
828
+
829
+ $has-tip-cursor: help;
830
+ $has-tip-font-weight: $global-weight-bold;
831
+ $has-tip-border-bottom: dotted 1px $dark-gray;
832
+ $tooltip-background-color: $black;
833
+ $tooltip-color: $white;
834
+ $tooltip-padding: 0.75rem;
835
+ $tooltip-max-width: 10rem;
836
+ $tooltip-font-size: $small-font-size;
837
+ $tooltip-pip-width: 0.75rem;
838
+ $tooltip-pip-height: $tooltip-pip-width * 0.866;
839
+ $tooltip-radius: $global-radius;
840
+
841
+ // 55. Top Bar
842
+ // -----------
843
+
844
+ $topbar-padding: 0.5rem;
845
+ $topbar-background: $light-gray;
846
+ $topbar-submenu-background: $topbar-background;
847
+ $topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
848
+ $topbar-input-width: 200px;
849
+ $topbar-unstack-breakpoint: medium;
850
+
851
+ // 56. Xy Grid
852
+ // -----------
853
+
854
+ $xy-grid: true;
855
+ $grid-container: $global-width;
856
+ $grid-columns: 12;
857
+ $grid-margin-gutters: (
858
+ small: 20px,
859
+ medium: 30px
860
+ );
861
+ $grid-padding-gutters: $grid-margin-gutters;
862
+ $grid-container-padding: $grid-padding-gutters;
863
+ $grid-container-max: $global-width;
864
+ $block-grid-max: 8;
865
+