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
@@ -0,0 +1,436 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group typography-base
|
7
|
+
////
|
8
|
+
|
9
|
+
// Base Typography
|
10
|
+
// - - - - - - - - - - - - - - -
|
11
|
+
// These are styles applied to basic HTML tags, including:
|
12
|
+
// - Paragraphs <p>
|
13
|
+
// - Bold/italics <b> <strong> <i> <em>
|
14
|
+
// - Small text <small>
|
15
|
+
// - Headings <h1>—<h6>
|
16
|
+
// - Anchors <a>
|
17
|
+
// - Dividers <hr>
|
18
|
+
// - Lists <ul> <ol> <dl>
|
19
|
+
// - Blockquotes <blockquote>
|
20
|
+
// - Code blocks <code>
|
21
|
+
// - Abbreviations <abbr>
|
22
|
+
// - Citations <cite>
|
23
|
+
// - Keystrokes <kbd>
|
24
|
+
|
25
|
+
/// Font family for header elements.
|
26
|
+
/// @type String | List
|
27
|
+
$header-font-family: $body-font-family !default;
|
28
|
+
|
29
|
+
/// Font weight of headers.
|
30
|
+
/// @type String
|
31
|
+
$header-font-weight: $global-weight-normal !default;
|
32
|
+
|
33
|
+
/// Font style (e.g. italicized) of headers.
|
34
|
+
/// @type String
|
35
|
+
$header-font-style: normal !default;
|
36
|
+
|
37
|
+
/// Font stack used for elements that use monospaced type, such as code samples
|
38
|
+
/// @type String | List
|
39
|
+
$font-family-monospace: Consolas, "Liberation Mono", Courier, monospace !default;
|
40
|
+
|
41
|
+
/// Sizes of headings at various screen sizes. Each key is a breakpoint, and each value is a map of heading sizes.
|
42
|
+
/// @type Map
|
43
|
+
$header-sizes: (
|
44
|
+
small: (
|
45
|
+
'h1': 24,
|
46
|
+
'h2': 20,
|
47
|
+
'h3': 19,
|
48
|
+
'h4': 18,
|
49
|
+
'h5': 17,
|
50
|
+
'h6': 16,
|
51
|
+
),
|
52
|
+
medium: (
|
53
|
+
'h1': 48,
|
54
|
+
'h2': 40,
|
55
|
+
'h3': 31,
|
56
|
+
'h4': 25,
|
57
|
+
'h5': 20,
|
58
|
+
'h6': 16,
|
59
|
+
),
|
60
|
+
) !default;
|
61
|
+
|
62
|
+
/// Color of headers.
|
63
|
+
/// @type Color
|
64
|
+
$header-color: inherit !default;
|
65
|
+
|
66
|
+
/// Line height of headers.
|
67
|
+
/// @type Number
|
68
|
+
$header-lineheight: 1.4 !default;
|
69
|
+
|
70
|
+
/// Bottom margin of headers.
|
71
|
+
/// @type Number
|
72
|
+
$header-margin-bottom: 0.5rem !default;
|
73
|
+
|
74
|
+
/// Text rendering method of headers.
|
75
|
+
/// @type String
|
76
|
+
$header-text-rendering: optimizeLegibility !default;
|
77
|
+
|
78
|
+
/// Font size of `<small>` elements.
|
79
|
+
/// @type Number
|
80
|
+
$small-font-size: 80% !default;
|
81
|
+
|
82
|
+
/// Color of `<small>` elements when placed inside headers.
|
83
|
+
/// @type Color
|
84
|
+
$header-small-font-color: $medium-gray !default;
|
85
|
+
|
86
|
+
/// Line height of text inside `<p>` elements.
|
87
|
+
/// @type Number
|
88
|
+
$paragraph-lineheight: 1.6 !default;
|
89
|
+
|
90
|
+
/// Bottom margin of paragraphs.
|
91
|
+
/// @type Number
|
92
|
+
$paragraph-margin-bottom: 1rem !default;
|
93
|
+
|
94
|
+
/// Text rendering method for paragraph text.
|
95
|
+
/// @type String
|
96
|
+
$paragraph-text-rendering: optimizeLegibility !default;
|
97
|
+
|
98
|
+
/// Text color of code samples.
|
99
|
+
/// @type Color
|
100
|
+
$code-color: $black !default;
|
101
|
+
|
102
|
+
/// Font family of code samples.
|
103
|
+
/// @type String | List
|
104
|
+
$code-font-family: $font-family-monospace !default;
|
105
|
+
|
106
|
+
/// Font weight of text in code samples.
|
107
|
+
/// @type String
|
108
|
+
$code-font-weight: $global-weight-normal !default;
|
109
|
+
|
110
|
+
/// Background color of code samples.
|
111
|
+
/// @type Color
|
112
|
+
$code-background: $light-gray !default;
|
113
|
+
|
114
|
+
/// Border around code samples.
|
115
|
+
/// @type List
|
116
|
+
$code-border: 1px solid $medium-gray !default;
|
117
|
+
|
118
|
+
/// Padding around text of code samples.
|
119
|
+
/// @type Number | List
|
120
|
+
$code-padding: rem-calc(2 5 1) !default;
|
121
|
+
|
122
|
+
/// Default color for links.
|
123
|
+
/// @type Color
|
124
|
+
$anchor-color: $primary-color !default;
|
125
|
+
|
126
|
+
/// Default color for links on hover.
|
127
|
+
/// @type Color
|
128
|
+
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%) !default;
|
129
|
+
|
130
|
+
/// Default text deocration for links.
|
131
|
+
/// @type String
|
132
|
+
$anchor-text-decoration: none !default;
|
133
|
+
|
134
|
+
/// Default text decoration for links on hover.
|
135
|
+
/// @type String
|
136
|
+
$anchor-text-decoration-hover: none !default;
|
137
|
+
|
138
|
+
/// Maximum width of a divider.
|
139
|
+
/// @type Number
|
140
|
+
$hr-width: $global-width !default;
|
141
|
+
|
142
|
+
/// Default border for a divider.
|
143
|
+
/// @type List
|
144
|
+
$hr-border: 1px solid $medium-gray !default;
|
145
|
+
|
146
|
+
/// Default margin for a divider.
|
147
|
+
/// @type Number | List
|
148
|
+
$hr-margin: rem-calc(20) auto !default;
|
149
|
+
|
150
|
+
/// Line height for items in a list.
|
151
|
+
/// @type Number
|
152
|
+
$list-lineheight: $paragraph-lineheight !default;
|
153
|
+
|
154
|
+
/// Bottom margin for items in a list.
|
155
|
+
/// @type Number
|
156
|
+
$list-margin-bottom: $paragraph-margin-bottom !default;
|
157
|
+
|
158
|
+
/// Bullet type to use for unordered lists (e.g., `square`, `circle`, `disc`).
|
159
|
+
/// @type String
|
160
|
+
$list-style-type: disc !default;
|
161
|
+
|
162
|
+
/// Positioning for bullets on unordered list items.
|
163
|
+
/// @type String
|
164
|
+
$list-style-position: outside !default;
|
165
|
+
|
166
|
+
/// Left (or right) margin for lists.
|
167
|
+
/// @type Number
|
168
|
+
$list-side-margin: 1.25rem !default;
|
169
|
+
|
170
|
+
/// Left (or right) margin for a list inside a list.
|
171
|
+
/// @type Number
|
172
|
+
$list-nested-side-margin: 1.25rem !default;
|
173
|
+
|
174
|
+
/// Bottom margin for `<dl>` elements.
|
175
|
+
/// @type Number
|
176
|
+
$defnlist-margin-bottom: 1rem !default;
|
177
|
+
|
178
|
+
/// Font weight for `<dt>` elements.
|
179
|
+
/// @type String
|
180
|
+
$defnlist-term-weight: $global-weight-bold !default;
|
181
|
+
|
182
|
+
/// Spacing between `<dt>` and `<dd>` elements.
|
183
|
+
/// @type Number
|
184
|
+
$defnlist-term-margin-bottom: 0.3rem !default;
|
185
|
+
|
186
|
+
/// Text color of `<blockquote>` elements.
|
187
|
+
/// @type Color
|
188
|
+
$blockquote-color: $dark-gray !default;
|
189
|
+
|
190
|
+
/// Padding inside a `<blockquote>` element.
|
191
|
+
/// @type Number | List
|
192
|
+
$blockquote-padding: rem-calc(9 20 0 19) !default;
|
193
|
+
|
194
|
+
/// Side border for `<blockquote>` elements.
|
195
|
+
/// @type List
|
196
|
+
$blockquote-border: 1px solid $medium-gray !default;
|
197
|
+
|
198
|
+
/// Font size for `<cite>` elements.
|
199
|
+
/// @type Number
|
200
|
+
$cite-font-size: rem-calc(13) !default;
|
201
|
+
|
202
|
+
/// Text color for `<cite>` elements.
|
203
|
+
/// @type Color
|
204
|
+
$cite-color: $dark-gray !default;
|
205
|
+
|
206
|
+
/// Font family for `<kbd>` elements.
|
207
|
+
/// @type String | List
|
208
|
+
$keystroke-font: $font-family-monospace !default;
|
209
|
+
|
210
|
+
/// Text color for `<kbd>` elements.
|
211
|
+
/// @type Color
|
212
|
+
$keystroke-color: $black !default;
|
213
|
+
|
214
|
+
/// Background color for `<kbd>` elements.
|
215
|
+
/// @type Color
|
216
|
+
$keystroke-background: $light-gray !default;
|
217
|
+
|
218
|
+
/// Padding for `<kbd>` elements.
|
219
|
+
/// @type Number | List
|
220
|
+
$keystroke-padding: rem-calc(2 4 0) !default;
|
221
|
+
|
222
|
+
/// Border radius for `<kbd>` elements.
|
223
|
+
/// @type Number | List
|
224
|
+
$keystroke-radius: $global-radius !default;
|
225
|
+
|
226
|
+
/// Bottom border style for `<abbr>` elements.
|
227
|
+
/// @type List
|
228
|
+
$abbr-underline: 1px dotted $black !default;
|
229
|
+
|
230
|
+
@mixin foundation-typography-base {
|
231
|
+
// Typography resets
|
232
|
+
div,
|
233
|
+
dl,
|
234
|
+
dt,
|
235
|
+
dd,
|
236
|
+
ul,
|
237
|
+
ol,
|
238
|
+
li,
|
239
|
+
h1,
|
240
|
+
h2,
|
241
|
+
h3,
|
242
|
+
h4,
|
243
|
+
h5,
|
244
|
+
h6,
|
245
|
+
pre,
|
246
|
+
form,
|
247
|
+
p,
|
248
|
+
blockquote,
|
249
|
+
th,
|
250
|
+
td {
|
251
|
+
margin: 0;
|
252
|
+
padding: 0;
|
253
|
+
}
|
254
|
+
|
255
|
+
// Paragraphs
|
256
|
+
p {
|
257
|
+
font-size: inherit;
|
258
|
+
line-height: $paragraph-lineheight;
|
259
|
+
margin-bottom: $paragraph-margin-bottom;
|
260
|
+
text-rendering: $paragraph-text-rendering;
|
261
|
+
}
|
262
|
+
|
263
|
+
// Emphasized text
|
264
|
+
em,
|
265
|
+
i {
|
266
|
+
font-style: italic;
|
267
|
+
line-height: inherit;
|
268
|
+
}
|
269
|
+
|
270
|
+
// Strong text
|
271
|
+
strong,
|
272
|
+
b {
|
273
|
+
font-weight: $global-weight-bold;
|
274
|
+
line-height: inherit;
|
275
|
+
}
|
276
|
+
|
277
|
+
// Small text
|
278
|
+
small {
|
279
|
+
font-size: $small-font-size;
|
280
|
+
line-height: inherit;
|
281
|
+
}
|
282
|
+
|
283
|
+
// Headings
|
284
|
+
h1,
|
285
|
+
h2,
|
286
|
+
h3,
|
287
|
+
h4,
|
288
|
+
h5,
|
289
|
+
h6 {
|
290
|
+
font-family: $header-font-family;
|
291
|
+
font-weight: $header-font-weight;
|
292
|
+
font-style: $header-font-style;
|
293
|
+
color: $header-color;
|
294
|
+
text-rendering: $header-text-rendering;
|
295
|
+
margin-top: 0;
|
296
|
+
margin-bottom: $header-margin-bottom;
|
297
|
+
line-height: $header-lineheight;
|
298
|
+
|
299
|
+
small {
|
300
|
+
color: $header-small-font-color;
|
301
|
+
line-height: 0;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
|
305
|
+
// Heading sizes
|
306
|
+
@each $size, $headers in $header-sizes {
|
307
|
+
@include breakpoint($size) {
|
308
|
+
@each $header, $font-size in $headers {
|
309
|
+
#{$header} { font-size: rem-calc($font-size); }
|
310
|
+
}
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
// Links
|
315
|
+
a {
|
316
|
+
color: $anchor-color;
|
317
|
+
text-decoration: $anchor-text-decoration;
|
318
|
+
line-height: inherit;
|
319
|
+
cursor: pointer;
|
320
|
+
|
321
|
+
&:hover,
|
322
|
+
&:focus {
|
323
|
+
color: $anchor-color-hover;
|
324
|
+
@if $anchor-text-decoration-hover != $anchor-text-decoration {
|
325
|
+
text-decoration: $anchor-text-decoration-hover;
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
img {
|
330
|
+
border: 0;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
// Horizontal rule
|
335
|
+
hr {
|
336
|
+
max-width: $hr-width;
|
337
|
+
height: 0;
|
338
|
+
border-top: 0;
|
339
|
+
border-bottom: $hr-border;
|
340
|
+
margin: $hr-margin;
|
341
|
+
clear: both;
|
342
|
+
}
|
343
|
+
|
344
|
+
// Lists
|
345
|
+
ul,
|
346
|
+
ol,
|
347
|
+
dl {
|
348
|
+
line-height: $list-lineheight;
|
349
|
+
margin-bottom: $list-margin-bottom;
|
350
|
+
list-style-position: $list-style-position;
|
351
|
+
}
|
352
|
+
|
353
|
+
// List items
|
354
|
+
li {
|
355
|
+
font-size: inherit;
|
356
|
+
}
|
357
|
+
|
358
|
+
// Unordered lists
|
359
|
+
ul {
|
360
|
+
list-style-type: $list-style-type;
|
361
|
+
margin-#{$global-left}: $list-side-margin;
|
362
|
+
}
|
363
|
+
|
364
|
+
// Ordered lists
|
365
|
+
ol {
|
366
|
+
margin-#{$global-left}: $list-side-margin;
|
367
|
+
}
|
368
|
+
|
369
|
+
// Nested unordered/ordered lists
|
370
|
+
ul, ol {
|
371
|
+
& & {
|
372
|
+
margin-#{$global-left}: $list-nested-side-margin;
|
373
|
+
margin-bottom: 0;
|
374
|
+
list-style-type: inherit;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
|
378
|
+
// Definition lists
|
379
|
+
dl {
|
380
|
+
margin-bottom: $defnlist-margin-bottom;
|
381
|
+
|
382
|
+
dt {
|
383
|
+
margin-bottom: $defnlist-term-margin-bottom;
|
384
|
+
font-weight: $defnlist-term-weight;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
// Blockquotes
|
389
|
+
blockquote {
|
390
|
+
margin: 0 0 $paragraph-margin-bottom;
|
391
|
+
padding: $blockquote-padding;
|
392
|
+
border-#{$global-left}: $blockquote-border;
|
393
|
+
|
394
|
+
&, p {
|
395
|
+
line-height: $paragraph-lineheight;
|
396
|
+
color: $blockquote-color;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
|
400
|
+
// Citations
|
401
|
+
cite {
|
402
|
+
display: block;
|
403
|
+
font-size: $cite-font-size;
|
404
|
+
color: $cite-color;
|
405
|
+
|
406
|
+
&:before {
|
407
|
+
content: '\2014 \0020';
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
// Abbreviations
|
412
|
+
abbr {
|
413
|
+
color: $body-font-color;
|
414
|
+
cursor: help;
|
415
|
+
border-bottom: $abbr-underline;
|
416
|
+
}
|
417
|
+
|
418
|
+
// Code
|
419
|
+
code {
|
420
|
+
font-family: $code-font-family;
|
421
|
+
font-weight: $code-font-weight;
|
422
|
+
color: $code-color;
|
423
|
+
background-color: $code-background;
|
424
|
+
border: $code-border;
|
425
|
+
padding: $code-padding;
|
426
|
+
}
|
427
|
+
|
428
|
+
// Keystrokes
|
429
|
+
kbd {
|
430
|
+
padding: $keystroke-padding;
|
431
|
+
margin: 0;
|
432
|
+
background-color: $keystroke-background;
|
433
|
+
color: $keystroke-color;
|
434
|
+
font-family: $keystroke-font;
|
435
|
+
}
|
436
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group typography-helpers
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default font size for lead paragraphs.
|
10
|
+
/// @type Number
|
11
|
+
$lead-font-size: $global-font-size * 1.25 !default;
|
12
|
+
|
13
|
+
/// Default line height for lead paragraphs.
|
14
|
+
/// @type String
|
15
|
+
$lead-lineheight: 1.6 !default;
|
16
|
+
|
17
|
+
/// Default line height for subheaders.
|
18
|
+
/// @type Number
|
19
|
+
$subheader-lineheight: 1.4 !default;
|
20
|
+
|
21
|
+
/// Default font color for subheaders.
|
22
|
+
/// @type Color
|
23
|
+
$subheader-color: $dark-gray !default;
|
24
|
+
|
25
|
+
/// Default font weight for subheaders.
|
26
|
+
/// @type String
|
27
|
+
$subheader-font-weight: $global-weight-normal !default;
|
28
|
+
|
29
|
+
/// Default top margin for subhheaders.
|
30
|
+
/// @type Number
|
31
|
+
$subheader-margin-top: 0.2rem !default;
|
32
|
+
|
33
|
+
/// Default bottom margin for subheaders.
|
34
|
+
/// @type Number
|
35
|
+
$subheader-margin-bottom: 0.5rem !default;
|
36
|
+
|
37
|
+
/// Default font size for statistic numbers.
|
38
|
+
/// @type Number
|
39
|
+
$stat-font-size: 2.5rem !default;
|
40
|
+
|
41
|
+
@mixin foundation-typography-helpers {
|
42
|
+
// Use to create a subheading under a main header
|
43
|
+
// Make sure you pair the two elements in a <header> element, like this:
|
44
|
+
// <header>
|
45
|
+
// <h1>Heading</h1>
|
46
|
+
// <h2>Subheading</h2>
|
47
|
+
// </header>
|
48
|
+
.subheader {
|
49
|
+
margin-top: $subheader-margin-top;
|
50
|
+
margin-bottom: $subheader-margin-bottom;
|
51
|
+
font-weight: $subheader-font-weight;
|
52
|
+
line-height: $subheader-lineheight;
|
53
|
+
color: $subheader-color;
|
54
|
+
}
|
55
|
+
|
56
|
+
// Use to style an introductory lead, deck, blurb, etc.
|
57
|
+
.lead {
|
58
|
+
font-size: $lead-font-size;
|
59
|
+
line-height: $lead-lineheight;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Use to style a large number to display a statistic
|
63
|
+
.stat {
|
64
|
+
font-size: $stat-font-size;
|
65
|
+
line-height: 1;
|
66
|
+
|
67
|
+
p + & {
|
68
|
+
margin-top: -1rem;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
// Use to remove the bullets from an unordered list
|
73
|
+
.no-bullet {
|
74
|
+
margin-#{$global-left}: 0;
|
75
|
+
list-style: none;
|
76
|
+
}
|
77
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group typography
|
7
|
+
////
|
8
|
+
|
9
|
+
// scss-lint:disable all
|
10
|
+
|
11
|
+
@mixin foundation-print-styles {
|
12
|
+
.show-for-print { display: none !important; }
|
13
|
+
|
14
|
+
@media print {
|
15
|
+
* {
|
16
|
+
background: transparent !important;
|
17
|
+
color: black !important; // Black prints faster: h5bp.com/s
|
18
|
+
box-shadow: none !important;
|
19
|
+
text-shadow: none !important;
|
20
|
+
}
|
21
|
+
|
22
|
+
.show-for-print { display: block !important; }
|
23
|
+
.hide-for-print { display: none !important; }
|
24
|
+
|
25
|
+
table.show-for-print { display: table !important; }
|
26
|
+
thead.show-for-print { display: table-header-group !important; }
|
27
|
+
tbody.show-for-print { display: table-row-group !important; }
|
28
|
+
tr.show-for-print { display: table-row !important; }
|
29
|
+
td.show-for-print { display: table-cell !important; }
|
30
|
+
th.show-for-print { display: table-cell !important; }
|
31
|
+
|
32
|
+
// Display the URL of a link after the text
|
33
|
+
a,
|
34
|
+
a:visited { text-decoration: underline;}
|
35
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
36
|
+
|
37
|
+
// Don't display the URL for images or JavaScript/internal links
|
38
|
+
.ir a:after,
|
39
|
+
a[href^='javascript:']:after,
|
40
|
+
a[href^='#']:after { content: ''; }
|
41
|
+
|
42
|
+
// Display what an abbreviation stands for after the text
|
43
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
44
|
+
|
45
|
+
// Prevent page breaks in the middle of a blockquote or preformatted text block
|
46
|
+
pre,
|
47
|
+
blockquote {
|
48
|
+
border: 1px solid #999;
|
49
|
+
page-break-inside: avoid;
|
50
|
+
}
|
51
|
+
|
52
|
+
// h5bp.com/t
|
53
|
+
thead { display: table-header-group; }
|
54
|
+
|
55
|
+
tr,
|
56
|
+
img { page-break-inside: avoid; }
|
57
|
+
|
58
|
+
img { max-width: 100% !important; }
|
59
|
+
|
60
|
+
@page { margin: 0.5cm; }
|
61
|
+
|
62
|
+
p,
|
63
|
+
h2,
|
64
|
+
h3 {
|
65
|
+
orphans: 3;
|
66
|
+
widows: 3;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Avoid page breaks after a heading
|
70
|
+
h2,
|
71
|
+
h3 { page-break-after: avoid; }
|
72
|
+
}
|
73
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group typography
|
7
|
+
////
|
8
|
+
|
9
|
+
// scss-lint:disable DeclarationOrder
|
10
|
+
|
11
|
+
// Base typography styles (tags only)
|
12
|
+
@import 'base';
|
13
|
+
|
14
|
+
// Typography helper classes (classes only)
|
15
|
+
@import 'helpers';
|
16
|
+
|
17
|
+
// Text alignment classes
|
18
|
+
@import 'alignment';
|
19
|
+
|
20
|
+
// Print styles
|
21
|
+
@import 'print';
|
22
|
+
|
23
|
+
@mixin foundation-typography {
|
24
|
+
@include foundation-typography-base;
|
25
|
+
@include foundation-typography-helpers;
|
26
|
+
@include foundation-text-alignment;
|
27
|
+
@include foundation-print-styles;
|
28
|
+
}
|