locomotivecms_wagon 2.2.0.beta1 → 2.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/generators/blank/config/metafields_schema.yml +1 -1
- data/generators/bootstrap/config/metafields_schema.yml +1 -1
- data/generators/{foundation5 → foundation}/Gemfile.tt +1 -1
- data/generators/{foundation5 → foundation}/Guardfile +0 -0
- data/generators/foundation/app/content_types/.gitkeep +0 -0
- data/generators/foundation/app/views/pages/404.liquid +11 -0
- data/generators/{foundation5 → foundation}/app/views/pages/404.liquid.haml +4 -3
- data/generators/{foundation5 → foundation}/app/views/pages/index.liquid +54 -78
- data/generators/foundation/app/views/pages/index.liquid.haml +144 -0
- data/generators/foundation/app/views/snippets/.gitkeep +0 -0
- data/generators/{foundation5 → foundation}/config/deploy.yml +2 -1
- data/generators/{foundation5 → foundation}/config/metafields_schema.yml +1 -1
- data/generators/{foundation5/config/site.yml.tt → foundation/config/site.yml} +2 -2
- data/generators/{foundation5 → foundation}/config/translations.yml +0 -0
- data/generators/foundation/data/.gitkeep +0 -0
- data/generators/foundation/log/.gitkeep +0 -0
- data/generators/foundation/public/images/.gitkeep +0 -0
- data/generators/foundation/public/javascripts/app.js +1 -0
- data/generators/foundation/public/javascripts/vendor/foundation.js +7472 -0
- data/generators/foundation/public/javascripts/vendor/foundation.min.js +3 -0
- data/generators/foundation/public/javascripts/vendor/what-input.js +212 -0
- data/generators/foundation/public/javascripts/vendor/what-input.min.js +1 -0
- data/generators/foundation/public/stylesheets/_settings.scss +529 -0
- data/generators/foundation/public/stylesheets/app.css +3 -0
- data/generators/foundation/public/stylesheets/app.scss +43 -0
- data/generators/foundation/public/stylesheets/foundation.css +3499 -0
- data/generators/foundation/public/stylesheets/foundation6/_global.scss +197 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +28 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +112 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +55 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +94 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +115 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +264 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +115 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +61 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +67 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +123 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +64 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +68 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +27 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +56 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +74 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +213 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +170 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +186 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +161 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +83 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +155 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +158 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +38 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +231 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +212 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +137 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +54 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +44 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +110 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +57 -0
- data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +131 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +36 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +81 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +53 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +32 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +30 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +70 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +48 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +64 -0
- data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +153 -0
- data/generators/foundation/public/stylesheets/foundation6/foundation.scss +91 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +132 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +112 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +191 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +33 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +31 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +32 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +71 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +72 -0
- data/generators/foundation/public/stylesheets/foundation6/grid/_size.scss +24 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +102 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/_settings.scss +61 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +29 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_hinge.scss +65 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_shake.scss +15 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_slide.scss +41 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_spin.scss +28 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_wiggle.scss +13 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +15 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/motion-ui.scss +29 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_fade.scss +28 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_hinge.scss +43 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +42 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_spin.scss +39 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_zoom.scss +39 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_animation.scss +7 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_args.scss +15 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_keyframe.scss +136 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_selector.scss +23 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_series.scss +54 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +45 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_unit.scss +7 -0
- data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +4 -0
- data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +531 -0
- data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +21 -0
- data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +436 -0
- data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +77 -0
- data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +73 -0
- data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +28 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +182 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +41 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +190 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +39 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +69 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +15 -0
- data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +117 -0
- data/generators/{foundation5/public/stylesheets/normalize.css.scss → foundation/public/stylesheets/foundation6/vendor/normalize.scss} +8 -11
- data/generators/site_metafields/schema.yml.tt +1 -1
- data/lib/locomotive/wagon/commands/push_command.rb +1 -0
- data/lib/locomotive/wagon/commands/serve_command.rb +1 -0
- data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +3 -3
- data/lib/locomotive/wagon/decorators/content_type_decorator.rb +5 -1
- data/lib/locomotive/wagon/generators/site/{foundation5.rb → foundation.rb} +8 -12
- data/lib/locomotive/wagon/generators/site.rb +1 -1
- data/lib/locomotive/wagon/version.rb +1 -1
- data/locomotivecms_wagon.gemspec +3 -2
- data/spec/fixtures/cassettes/authenticate.yml +38 -38
- data/spec/fixtures/cassettes/delete.yml +211 -211
- data/spec/fixtures/cassettes/push.yml +1333 -1374
- data/spec/integration/cli_spec.rb +1 -1
- data/spec/unit/decorators/content_entry_decorator_spec.rb +23 -0
- metadata +133 -104
- data/generators/foundation5/app/content_types/.empty_directory +0 -1
- data/generators/foundation5/app/views/pages/404.liquid +0 -10
- data/generators/foundation5/app/views/pages/index.liquid.haml +0 -157
- data/generators/foundation5/data/.empty_directory +0 -1
- data/generators/foundation5/icon.png +0 -0
- data/generators/foundation5/public/fonts/.empty_directory +0 -1
- data/generators/foundation5/public/images/.empty_directory +0 -1
- data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +0 -299
- data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +0 -59
- data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +0 -43
- data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +0 -534
- data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +0 -311
- data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +0 -74
- data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +0 -331
- data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +0 -843
- data/generators/foundation5/public/javascripts/foundation/foundation.js +0 -611
- data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +0 -178
- data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +0 -108
- data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +0 -610
- data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +0 -437
- data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +0 -199
- data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +0 -167
- data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +0 -298
- data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +0 -425
- data/generators/foundation5/public/javascripts/foundation.js +0 -4161
- data/generators/foundation5/public/javascripts/foundation.min.js +0 -10
- data/generators/foundation5/public/javascripts/vendor/custom.modernizr.js +0 -4
- data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +0 -1
- data/generators/foundation5/public/javascripts/vendor/fastclick.js +0 -9
- data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +0 -11
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +0 -645
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +0 -1
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +0 -8
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +0 -8
- data/generators/foundation5/public/javascripts/vendor/jquery.js +0 -26
- data/generators/foundation5/public/javascripts/vendor/jquery.min.js +0 -27
- data/generators/foundation5/public/javascripts/vendor/modernizr.js +0 -8
- data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +0 -1
- data/generators/foundation5/public/javascripts/vendor/placeholder.js +0 -2
- data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +0 -1
- data/generators/foundation5/public/samples/.empty_directory +0 -1
- data/generators/foundation5/public/stylesheets/application.css +0 -2
- data/generators/foundation5/public/stylesheets/application.css.scss +0 -3
- data/generators/foundation5/public/stylesheets/foundation/_functions.scss +0 -102
- data/generators/foundation5/public/stylesheets/foundation/_settings.scss +0 -1441
- data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +0 -157
- data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +0 -128
- data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +0 -132
- data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
- data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +0 -197
- data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +0 -259
- data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +0 -247
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +0 -262
- data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +0 -51
- data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +0 -585
- data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +0 -460
- data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +0 -275
- data/generators/foundation5/public/stylesheets/foundation/components/_icon-bar.scss +0 -293
- data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +0 -57
- data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +0 -222
- data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +0 -61
- data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +0 -106
- data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +0 -34
- data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +0 -513
- data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +0 -368
- data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +0 -162
- data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +0 -95
- data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +0 -150
- data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +0 -79
- data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +0 -168
- data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +0 -222
- data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +0 -116
- data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +0 -191
- data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +0 -123
- data/generators/foundation5/public/stylesheets/foundation/components/_switches.scss +0 -230
- data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +0 -135
- data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +0 -123
- data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +0 -66
- data/generators/foundation5/public/stylesheets/foundation/components/_toolbar.scss +0 -70
- data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +0 -142
- data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +0 -685
- data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +0 -525
- data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +0 -408
- data/generators/foundation5/public/stylesheets/foundation.css +0 -6138
- data/generators/foundation5/public/stylesheets/foundation.css.scss +0 -45
- data/generators/foundation5/public/stylesheets/normalize.css +0 -357
- data/lib/locomotive/wagon/generators/site/foundation4.rb +0 -34
@@ -1,116 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @variables
|
9
|
-
//
|
10
|
-
|
11
|
-
$include-html-nav-classes: $include-html-classes !default;
|
12
|
-
|
13
|
-
// We use this to control padding.
|
14
|
-
$side-nav-padding: rem-calc(14 0) !default;
|
15
|
-
|
16
|
-
// We use these to control list styles.
|
17
|
-
$side-nav-list-type: none !default;
|
18
|
-
$side-nav-list-position: outside !default;
|
19
|
-
$side-nav-list-margin: rem-calc(0 0 7 0) !default;
|
20
|
-
|
21
|
-
// We use these to control link styles.
|
22
|
-
$side-nav-link-color: $primary-color !default;
|
23
|
-
$side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
24
|
-
$side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
25
|
-
$side-nav-link-bg-hover: hsla(0, 0, 0, 0.025) !default;
|
26
|
-
$side-nav-link-margin: 0 !default;
|
27
|
-
$side-nav-link-padding: rem-calc(7 14) !default;
|
28
|
-
$side-nav-font-size: rem-calc(14) !default;
|
29
|
-
$side-nav-font-weight: $font-weight-normal !default;
|
30
|
-
$side-nav-font-weight-active: $side-nav-font-weight !default;
|
31
|
-
$side-nav-font-family: $body-font-family !default;
|
32
|
-
$side-nav-font-family-active: $side-nav-font-family !default;
|
33
|
-
|
34
|
-
// We use these to control heading styles.
|
35
|
-
$side-nav-heading-color: $side-nav-link-color !default;
|
36
|
-
$side-nav-heading-font-size: $side-nav-font-size !default;
|
37
|
-
$side-nav-heading-font-weight: bold !default;
|
38
|
-
$side-nav-heading-text-transform: uppercase !default;
|
39
|
-
|
40
|
-
// We use these to control border styles
|
41
|
-
$side-nav-divider-size: 1px !default;
|
42
|
-
$side-nav-divider-style: solid !default;
|
43
|
-
$side-nav-divider-color: scale-color($white, $lightness: 10%) !default;
|
44
|
-
|
45
|
-
|
46
|
-
//
|
47
|
-
// @mixins
|
48
|
-
//
|
49
|
-
|
50
|
-
|
51
|
-
// We use this to style the side-nav
|
52
|
-
//
|
53
|
-
// $divider-color - Border color of divider. Default: $side-nav-divider-color.
|
54
|
-
// $font-size - Font size of nav items. Default: $side-nav-font-size.
|
55
|
-
// $link-color - Color of navigation links. Default: $side-nav-link-color.
|
56
|
-
// $link-color-hover - Color of navigation links when hovered. Default: $side-nav-link-color-hover.
|
57
|
-
@mixin side-nav(
|
58
|
-
$divider-color:$side-nav-divider-color,
|
59
|
-
$font-size:$side-nav-font-size,
|
60
|
-
$link-color:$side-nav-link-color,
|
61
|
-
$link-color-hover:$side-nav-link-color-hover,
|
62
|
-
$link-bg-hover:$side-nav-link-bg-hover) {
|
63
|
-
display: block;
|
64
|
-
margin: 0;
|
65
|
-
padding: $side-nav-padding;
|
66
|
-
list-style-type: $side-nav-list-type;
|
67
|
-
list-style-position: $side-nav-list-position;
|
68
|
-
font-family: $side-nav-font-family;
|
69
|
-
|
70
|
-
li {
|
71
|
-
margin: $side-nav-list-margin;
|
72
|
-
font-size: $font-size;
|
73
|
-
font-weight: $side-nav-font-weight;
|
74
|
-
|
75
|
-
a:not(.button) {
|
76
|
-
display: block;
|
77
|
-
color: $link-color;
|
78
|
-
margin: $side-nav-link-margin;
|
79
|
-
padding: $side-nav-link-padding;
|
80
|
-
&:hover,
|
81
|
-
&:focus {
|
82
|
-
background: $link-bg-hover;
|
83
|
-
color: $link-color-hover;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
&.active > a:first-child:not(.button) {
|
88
|
-
color: $side-nav-link-color-active;
|
89
|
-
font-weight: $side-nav-font-weight-active;
|
90
|
-
font-family: $side-nav-font-family-active;
|
91
|
-
}
|
92
|
-
|
93
|
-
&.divider {
|
94
|
-
border-top: $side-nav-divider-size $side-nav-divider-style;
|
95
|
-
height: 0;
|
96
|
-
padding: 0;
|
97
|
-
list-style: none;
|
98
|
-
border-top-color: $divider-color;
|
99
|
-
}
|
100
|
-
|
101
|
-
&.heading {
|
102
|
-
color: $side-nav-heading-color;
|
103
|
-
font: {
|
104
|
-
size: $side-nav-heading-font-size;
|
105
|
-
weight: $side-nav-heading-font-weight;
|
106
|
-
}
|
107
|
-
text-transform: $side-nav-heading-text-transform;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
@include exports("side-nav") {
|
113
|
-
@if $include-html-nav-classes {
|
114
|
-
.side-nav { @include side-nav; }
|
115
|
-
}
|
116
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
@import "buttons";
|
7
|
-
@import "dropdown-buttons";
|
8
|
-
|
9
|
-
//
|
10
|
-
// @name _split-buttons.scss
|
11
|
-
// @dependencies _buttons.scss, _global.scss
|
12
|
-
//
|
13
|
-
|
14
|
-
//
|
15
|
-
// @variables
|
16
|
-
//
|
17
|
-
|
18
|
-
$include-html-button-classes: $include-html-classes !default;
|
19
|
-
|
20
|
-
// We use these to control different shared styles for Split Buttons
|
21
|
-
$split-button-function-factor: 10% !default;
|
22
|
-
$split-button-pip-color: $white !default;
|
23
|
-
$split-button-pip-color-alt: $oil !default;
|
24
|
-
$split-button-active-bg-tint: rgba(0,0,0,0.1) !default;
|
25
|
-
|
26
|
-
// We use these to control tiny split buttons
|
27
|
-
$split-button-padding-tny: $button-pip-tny * 10 !default;
|
28
|
-
$split-button-span-width-tny: $button-pip-tny * 6 !default;
|
29
|
-
$split-button-pip-size-tny: $button-pip-tny !default;
|
30
|
-
$split-button-pip-top-tny: $button-pip-tny * 2 !default;
|
31
|
-
$split-button-pip-default-float-tny: rem-calc(-6) !default;
|
32
|
-
|
33
|
-
// We use these to control small split buttons
|
34
|
-
$split-button-padding-sml: $button-pip-sml * 10 !default;
|
35
|
-
$split-button-span-width-sml: $button-pip-sml * 6 !default;
|
36
|
-
$split-button-pip-size-sml: $button-pip-sml !default;
|
37
|
-
$split-button-pip-top-sml: $button-pip-sml * 1.5 !default;
|
38
|
-
$split-button-pip-default-float-sml: rem-calc(-6) !default;
|
39
|
-
|
40
|
-
// We use these to control medium split buttons
|
41
|
-
$split-button-padding-med: $button-pip-med * 9 !default;
|
42
|
-
$split-button-span-width-med: $button-pip-med * 5.5 !default;
|
43
|
-
$split-button-pip-size-med: $button-pip-med - rem-calc(3) !default;
|
44
|
-
$split-button-pip-top-med: $button-pip-med * 1.5 !default;
|
45
|
-
$split-button-pip-default-float-med: rem-calc(-6) !default;
|
46
|
-
|
47
|
-
// We use these to control large split buttons
|
48
|
-
$split-button-padding-lrg: $button-pip-lrg * 8 !default;
|
49
|
-
$split-button-span-width-lrg: $button-pip-lrg * 5 !default;
|
50
|
-
$split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6) !default;
|
51
|
-
$split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5) !default;
|
52
|
-
$split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
53
|
-
|
54
|
-
|
55
|
-
//
|
56
|
-
// @mixins
|
57
|
-
//
|
58
|
-
|
59
|
-
// We use this mixin to create split buttons that build upon the button mixins
|
60
|
-
//
|
61
|
-
// $padding - Type of padding to apply. Default: medium. Options: tiny, small, medium, large.
|
62
|
-
// $pip-color - Color of the triangle. Default: $split-button-pip-color.
|
63
|
-
// $span-border - Border color of button divider. Default: $primary-color.
|
64
|
-
// $base-style - Apply base style to split button. Default: true.
|
65
|
-
@mixin split-button(
|
66
|
-
$padding:medium,
|
67
|
-
$pip-color:$split-button-pip-color,
|
68
|
-
$span-border:$primary-color,
|
69
|
-
$base-style:true) {
|
70
|
-
|
71
|
-
// With this, we can control whether or not the base styles come through.
|
72
|
-
@if $base-style {
|
73
|
-
position: relative;
|
74
|
-
|
75
|
-
// Styling for the split arrow clickable area
|
76
|
-
span {
|
77
|
-
display: block;
|
78
|
-
height: 100%;
|
79
|
-
position: absolute;
|
80
|
-
#{$opposite-direction}: 0;
|
81
|
-
top: 0;
|
82
|
-
border-#{$default-float}: solid 1px;
|
83
|
-
|
84
|
-
// Building the triangle pip indicator
|
85
|
-
&:after {
|
86
|
-
position: absolute;
|
87
|
-
content: "";
|
88
|
-
width: 0;
|
89
|
-
height: 0;
|
90
|
-
display: block;
|
91
|
-
border-style: inset;
|
92
|
-
top: 50%;
|
93
|
-
|
94
|
-
#{$default-float}: 50%;
|
95
|
-
}
|
96
|
-
|
97
|
-
&:active { background-color: $split-button-active-bg-tint; }
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
// Control the border color for the span area of the split button
|
102
|
-
@if $span-border {
|
103
|
-
span {
|
104
|
-
border-#{$default-float}-color: rgba(255,255,255,0.5);
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
// Style of the button and clickable area for tiny sizes
|
109
|
-
@if $padding == tiny {
|
110
|
-
padding-#{$opposite-direction}: $split-button-padding-tny;
|
111
|
-
|
112
|
-
span { width: $split-button-span-width-tny;
|
113
|
-
&:after {
|
114
|
-
border-top-style: solid;
|
115
|
-
border-width: $split-button-pip-size-tny;
|
116
|
-
top: 48%;
|
117
|
-
margin-#{$default-float}: $split-button-pip-default-float-tny;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
// Style of the button and clickable area for small sizes
|
123
|
-
@else if $padding == small {
|
124
|
-
padding-#{$opposite-direction}: $split-button-padding-sml;
|
125
|
-
|
126
|
-
span { width: $split-button-span-width-sml;
|
127
|
-
&:after {
|
128
|
-
border-top-style: solid;
|
129
|
-
border-width: $split-button-pip-size-sml;
|
130
|
-
top: 48%;
|
131
|
-
margin-#{$default-float}: $split-button-pip-default-float-sml;
|
132
|
-
}
|
133
|
-
}
|
134
|
-
}
|
135
|
-
|
136
|
-
// Style of the button and clickable area for default (medium) sizes
|
137
|
-
@else if $padding == medium {
|
138
|
-
padding-#{$opposite-direction}: $split-button-padding-med;
|
139
|
-
|
140
|
-
span { width: $split-button-span-width-med;
|
141
|
-
&:after {
|
142
|
-
border-top-style: solid;
|
143
|
-
border-width: $split-button-pip-size-med;
|
144
|
-
top: 48%;
|
145
|
-
margin-#{$default-float}: $split-button-pip-default-float-med;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
// Style of the button and clickable area for large sizes
|
151
|
-
@else if $padding == large {
|
152
|
-
padding-#{$opposite-direction}: $split-button-padding-lrg;
|
153
|
-
|
154
|
-
span { width: $split-button-span-width-lrg;
|
155
|
-
&:after {
|
156
|
-
border-top-style: solid;
|
157
|
-
border-width: $split-button-pip-size-lrg;
|
158
|
-
top: 48%;
|
159
|
-
margin-#{$default-float}: $split-button-pip-default-float-lrg;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
// Control the color of the triangle pip
|
165
|
-
@if $pip-color {
|
166
|
-
span:after { border-color: $pip-color transparent transparent transparent; }
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
@include exports("split-button") {
|
171
|
-
@if $include-html-button-classes {
|
172
|
-
|
173
|
-
.split.button { @include split-button;
|
174
|
-
|
175
|
-
&.secondary { @include split-button(false, $split-button-pip-color, $secondary-color, false); }
|
176
|
-
&.alert { @include split-button(false, false, $alert-color, false); }
|
177
|
-
&.success { @include split-button(false, false, $success-color, false); }
|
178
|
-
|
179
|
-
&.tiny { @include split-button(tiny, false, false, false); }
|
180
|
-
&.small { @include split-button(small, false, false, false); }
|
181
|
-
&.large { @include split-button(large, false, false, false); }
|
182
|
-
&.expand { padding-left: 2rem; }
|
183
|
-
|
184
|
-
&.secondary { @include split-button(false, $split-button-pip-color-alt, false, false); }
|
185
|
-
|
186
|
-
&.radius span { @include side-radius($opposite-direction, $global-radius); }
|
187
|
-
&.round span { @include side-radius($opposite-direction, 1000px); }
|
188
|
-
}
|
189
|
-
|
190
|
-
}
|
191
|
-
}
|
@@ -1,123 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name _sub-nav.scss
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-nav-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// We use these to control margin and padding
|
19
|
-
$sub-nav-list-margin: rem-calc(-4 0 18) !default;
|
20
|
-
$sub-nav-list-padding-top: rem-calc(4) !default;
|
21
|
-
|
22
|
-
// We use this to control the definition
|
23
|
-
$sub-nav-font-family: $body-font-family !default;
|
24
|
-
$sub-nav-font-size: rem-calc(14) !default;
|
25
|
-
$sub-nav-font-color: $aluminum !default;
|
26
|
-
$sub-nav-font-weight: $font-weight-normal !default;
|
27
|
-
$sub-nav-text-decoration: none !default;
|
28
|
-
$sub-nav-padding: rem-calc(3 16) !default;
|
29
|
-
$sub-nav-border-radius: 3px !default;
|
30
|
-
$sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%) !default;
|
31
|
-
|
32
|
-
|
33
|
-
// We use these to control the active item styles
|
34
|
-
|
35
|
-
$sub-nav-active-font-weight: $font-weight-normal !default;
|
36
|
-
$sub-nav-active-bg: $primary-color !default;
|
37
|
-
$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%) !default;
|
38
|
-
$sub-nav-active-color: $white !default;
|
39
|
-
$sub-nav-active-padding: $sub-nav-padding !default;
|
40
|
-
$sub-nav-active-cursor: default !default;
|
41
|
-
|
42
|
-
$sub-nav-item-divider: "" !default;
|
43
|
-
$sub-nav-item-divider-margin: rem-calc(12) !default;
|
44
|
-
|
45
|
-
//
|
46
|
-
// @mixins
|
47
|
-
//
|
48
|
-
|
49
|
-
|
50
|
-
// Create a sub-nav item
|
51
|
-
//
|
52
|
-
// $font-color - Font color. Default: $sub-nav-font-color.
|
53
|
-
// $font-size - Font size. Default: $sub-nav-font-size.
|
54
|
-
// $active-bg - Background of active nav item. Default: $sub-nav-active-bg.
|
55
|
-
// $active-bg-hover - Background of active nav item, when hovered. Default: $sub-nav-active-bg-hover.
|
56
|
-
@mixin sub-nav(
|
57
|
-
$font-color: $sub-nav-font-color,
|
58
|
-
$font-size: $sub-nav-font-size,
|
59
|
-
$active-bg: $sub-nav-active-bg,
|
60
|
-
$active-bg-hover: $sub-nav-active-bg-hover) {
|
61
|
-
display: block;
|
62
|
-
width: auto;
|
63
|
-
overflow: hidden;
|
64
|
-
margin-bottom: $sub-nav-list-margin;
|
65
|
-
padding-top: $sub-nav-list-padding-top;
|
66
|
-
|
67
|
-
dt {
|
68
|
-
text-transform: uppercase;
|
69
|
-
}
|
70
|
-
|
71
|
-
dt,
|
72
|
-
dd,
|
73
|
-
li {
|
74
|
-
float: $default-float;
|
75
|
-
display: inline;
|
76
|
-
margin-#{$default-float}: rem-calc(16);
|
77
|
-
margin-bottom: 0;
|
78
|
-
font-family: $sub-nav-font-family;
|
79
|
-
font-weight: $sub-nav-font-weight;
|
80
|
-
font-size: $font-size;
|
81
|
-
color: $font-color;
|
82
|
-
|
83
|
-
a {
|
84
|
-
text-decoration: $sub-nav-text-decoration;
|
85
|
-
color: $sub-nav-font-color;
|
86
|
-
padding: $sub-nav-padding;
|
87
|
-
&:hover {
|
88
|
-
color: $sub-nav-font-color-hover;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
&.active a {
|
93
|
-
@include radius($sub-nav-border-radius);
|
94
|
-
font-weight: $sub-nav-active-font-weight;
|
95
|
-
background: $active-bg;
|
96
|
-
padding: $sub-nav-active-padding;
|
97
|
-
cursor: $sub-nav-active-cursor;
|
98
|
-
color: $sub-nav-active-color;
|
99
|
-
&:hover {
|
100
|
-
background: $active-bg-hover;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
@if $sub-nav-item-divider != "" {
|
104
|
-
margin-#{$default-float}: 0;
|
105
|
-
|
106
|
-
&:before {
|
107
|
-
content: "#{$sub-nav-item-divider}";
|
108
|
-
margin: 0 $sub-nav-item-divider-margin;
|
109
|
-
}
|
110
|
-
|
111
|
-
&:first-child:before {
|
112
|
-
content: "";
|
113
|
-
margin: 0;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
@include exports("sub-nav") {
|
120
|
-
@if $include-html-nav-classes {
|
121
|
-
.sub-nav { @include sub-nav; }
|
122
|
-
}
|
123
|
-
}
|
@@ -1,230 +0,0 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
@import "global";
|
6
|
-
|
7
|
-
//
|
8
|
-
// @name
|
9
|
-
// @dependencies _global.scss
|
10
|
-
//
|
11
|
-
|
12
|
-
//
|
13
|
-
// @variables
|
14
|
-
//
|
15
|
-
|
16
|
-
$include-html-form-classes: $include-html-classes !default;
|
17
|
-
|
18
|
-
// Controlling background color for the switch container
|
19
|
-
$switch-bg: $gainsboro !default;
|
20
|
-
|
21
|
-
// We use these to control the switch heights for our default classes
|
22
|
-
$switch-height-tny: 1.5rem !default;
|
23
|
-
$switch-height-sml: 1.75rem !default;
|
24
|
-
$switch-height-med: 2rem !default;
|
25
|
-
$switch-height-lrg: 2.5rem !default;
|
26
|
-
$switch-bottom-margin: 1.5rem !default;
|
27
|
-
|
28
|
-
// We use these to style the switch-paddle
|
29
|
-
$switch-paddle-bg: $white !default;
|
30
|
-
$switch-paddle-transition-speed: .15s !default;
|
31
|
-
$switch-paddle-transition-ease: ease-out !default;
|
32
|
-
$switch-active-color: $primary-color !default;
|
33
|
-
|
34
|
-
|
35
|
-
//
|
36
|
-
// @mixins
|
37
|
-
//
|
38
|
-
|
39
|
-
// We use this mixin to create the base styles for our switch element.
|
40
|
-
//
|
41
|
-
// $transition-speed - Time in ms for switch to toggle. Default: $switch-paddle-transition-speed.
|
42
|
-
// $transition-ease - Easing function to use for animation (i.e. ease-out). Default: $switch-paddle-transition-ease.
|
43
|
-
@mixin switch-base(
|
44
|
-
$transition-speed:$switch-paddle-transition-speed,
|
45
|
-
$transition-ease:$switch-paddle-transition-ease) {
|
46
|
-
|
47
|
-
padding: 0;
|
48
|
-
border: none;
|
49
|
-
position: relative;
|
50
|
-
outline: 0;
|
51
|
-
-webkit-user-select: none;
|
52
|
-
-moz-user-select: none;
|
53
|
-
user-select: none;
|
54
|
-
|
55
|
-
// Default label styles for type and transition
|
56
|
-
label {
|
57
|
-
display: block;
|
58
|
-
margin-bottom: $switch-height-med / 2;
|
59
|
-
position: relative;
|
60
|
-
color: transparent;
|
61
|
-
background: $switch-bg;
|
62
|
-
text-indent: 100%;
|
63
|
-
width: $switch-height-med * 2; height: $switch-height-med;
|
64
|
-
cursor: pointer;
|
65
|
-
|
66
|
-
// Transition for the switch label to follow paddle
|
67
|
-
@include single-transition(left, $transition-speed, $transition-ease);
|
68
|
-
}
|
69
|
-
|
70
|
-
// So that we don't need to recreate the form with any JS, we use the
|
71
|
-
// existing checkbox or radio button, but we cleverly position and hide it.
|
72
|
-
input {
|
73
|
-
opacity: 0;
|
74
|
-
position: absolute;
|
75
|
-
top: 9px;
|
76
|
-
left: 10px;
|
77
|
-
padding:0;
|
78
|
-
|
79
|
-
& + label { margin-left: 0; margin-right: 0; }
|
80
|
-
}
|
81
|
-
|
82
|
-
// The paddle for the switch is created from an after psuedoclass
|
83
|
-
// content element. This is sized and positioned, and reacts to
|
84
|
-
// the state of the input.
|
85
|
-
|
86
|
-
label:after {
|
87
|
-
content: "";
|
88
|
-
display: block;
|
89
|
-
background: $switch-paddle-bg;
|
90
|
-
position: absolute; top: .25rem; left: .25rem;
|
91
|
-
width: $switch-height-med - 0.5rem; height: $switch-height-med - 0.5rem;
|
92
|
-
|
93
|
-
-webkit-transition: left $transition-speed $transition-ease;
|
94
|
-
-moz-transition: left $transition-speed $transition-ease;
|
95
|
-
transition: left $transition-speed $transition-ease;
|
96
|
-
|
97
|
-
-webkit-transform: translate3d(0,0,0);
|
98
|
-
-moz-transform: translate3d(0,0,0);
|
99
|
-
transform: translate3d(0,0,0);
|
100
|
-
}
|
101
|
-
|
102
|
-
input:checked + label {
|
103
|
-
background: $switch-active-color;
|
104
|
-
}
|
105
|
-
|
106
|
-
input:checked + label:after {
|
107
|
-
left: $switch-height-med + 0.25rem;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
// We use this mixin to create the size styles for switches.
|
112
|
-
//
|
113
|
-
// $height - Height (in px) of the switch. Default: $switch-height-med.
|
114
|
-
// $font-size - Font size of text in switch. Default: $switch-font-size-med.
|
115
|
-
// $line-height - Line height of switch. Default: 2.3rem.
|
116
|
-
@mixin switch-size($height: $switch-height-med) {
|
117
|
-
|
118
|
-
label {
|
119
|
-
width: $height * 2; height: $height;
|
120
|
-
}
|
121
|
-
|
122
|
-
label:after {
|
123
|
-
width: $height - 0.5rem; height: $height - 0.5rem;
|
124
|
-
}
|
125
|
-
|
126
|
-
input:checked + label:after {
|
127
|
-
left: $height + 0.25rem;
|
128
|
-
}
|
129
|
-
|
130
|
-
}
|
131
|
-
|
132
|
-
// We use this mixin to add color and other fanciness to the switches.
|
133
|
-
//
|
134
|
-
// $paddle-bg - Background of switch paddle. Default: $switch-paddle-bg.
|
135
|
-
// $active-color - Background color of positive side of switch. Default: $switch-positive-color.
|
136
|
-
// $negative-color - Background color of negative side of switch. Default: $switch-negative-color.
|
137
|
-
// $radius - Radius to apply to switch. Default: false.
|
138
|
-
// $base-style - Apply base styles? Default: true.
|
139
|
-
@mixin switch-style(
|
140
|
-
$paddle-bg:$switch-paddle-bg,
|
141
|
-
$radius:false,
|
142
|
-
$base-style:true) {
|
143
|
-
|
144
|
-
@if $base-style {
|
145
|
-
|
146
|
-
label {
|
147
|
-
color: transparent;
|
148
|
-
background: $switch-bg;
|
149
|
-
}
|
150
|
-
|
151
|
-
label:after {
|
152
|
-
background: $paddle-bg;
|
153
|
-
}
|
154
|
-
|
155
|
-
input:checked + label {
|
156
|
-
background: $switch-active-color;
|
157
|
-
}
|
158
|
-
}
|
159
|
-
|
160
|
-
// Setting up the radius for switches
|
161
|
-
@if $radius == true {
|
162
|
-
label {
|
163
|
-
border-radius: 2rem;
|
164
|
-
}
|
165
|
-
label:after {
|
166
|
-
border-radius: 2rem;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
@else if $radius {
|
170
|
-
label {
|
171
|
-
border-radius: $radius;
|
172
|
-
}
|
173
|
-
label:after {
|
174
|
-
border-radius: $radius;
|
175
|
-
}
|
176
|
-
}
|
177
|
-
|
178
|
-
}
|
179
|
-
|
180
|
-
// We use this to quickly create switches with a single mixin
|
181
|
-
//
|
182
|
-
// $transition-speed - Time in ms for switch to toggle. Default: $switch-paddle-transition-speed.
|
183
|
-
// $transition-ease - Easing function to use for animation (i.e. ease-out). Default: $switch-paddle-transition-ease.
|
184
|
-
// $height - Height (in px) of the switch. Default: $switch-height-med.
|
185
|
-
// $paddle-bg - Background of switch paddle. Default: $switch-paddle-bg.
|
186
|
-
// $active-color - Background color of an active switch. Default: $switch-active-color.
|
187
|
-
// $radius - Radius to apply to switch. Default: false.
|
188
|
-
// $base-style - Apply base styles? Default: true.
|
189
|
-
@mixin switch(
|
190
|
-
$transition-speed: $switch-paddle-transition-speed,
|
191
|
-
$transition-ease: $switch-paddle-transition-ease,
|
192
|
-
$height: $switch-height-med,
|
193
|
-
$paddle-bg: $switch-paddle-bg,
|
194
|
-
$active-color: $switch-active-color,
|
195
|
-
$radius:false,
|
196
|
-
$base-style:true) {
|
197
|
-
@include switch-base($transition-speed, $transition-ease);
|
198
|
-
@include switch-size($height);
|
199
|
-
@include switch-style($paddle-bg, $radius, $base-style);
|
200
|
-
}
|
201
|
-
|
202
|
-
@include exports("switch") {
|
203
|
-
@if $include-html-form-classes {
|
204
|
-
.switch {
|
205
|
-
@include switch;
|
206
|
-
|
207
|
-
// Large radio switches
|
208
|
-
&.large { @include switch-size($switch-height-lrg); }
|
209
|
-
|
210
|
-
// Small radio switches
|
211
|
-
&.small { @include switch-size($switch-height-sml); }
|
212
|
-
|
213
|
-
// Tiny radio switches
|
214
|
-
&.tiny { @include switch-size($switch-height-tny); }
|
215
|
-
|
216
|
-
// Add a radius to the switch
|
217
|
-
&.radius {
|
218
|
-
label { @include radius(4px); }
|
219
|
-
label:after { @include radius(3px); }
|
220
|
-
}
|
221
|
-
|
222
|
-
// Make the switch completely round, like a pill
|
223
|
-
&.round { @include radius(1000px);
|
224
|
-
label { @include radius(2rem); }
|
225
|
-
label:after { @include radius(2rem); }
|
226
|
-
}
|
227
|
-
|
228
|
-
}
|
229
|
-
}
|
230
|
-
}
|