ama_layout 2.9.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/ama_layout.gemspec +1 -1
  3. data/app/assets/images/ama-logo-small.svg +44 -0
  4. data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +7 -3
  5. data/app/assets/stylesheets/ama_layout/_settings.scss +566 -0
  6. data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +48 -1483
  7. data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +7 -1
  8. data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +18 -3
  9. data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +44 -12
  10. data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +1 -21
  11. data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +55 -1
  12. data/app/assets/stylesheets/ama_layout/layout_components/index.scss +1 -0
  13. data/app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss +42 -13
  14. data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +11 -0
  15. data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +7 -59
  16. data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +108 -11
  17. data/app/assets/stylesheets/ama_layout/media_queries/desktop.scss +2 -2
  18. data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +2 -2
  19. data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +1 -15
  20. data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +2 -2
  21. data/app/views/ama_layout/_footer.html.erb +1 -1
  22. data/app/views/ama_layout/_main_top_nav_item.html.erb +2 -3
  23. data/app/views/ama_layout/_notice.html.erb +2 -2
  24. data/app/views/ama_layout/_sidebar.html.erb +1 -1
  25. data/app/views/ama_layout/_siteheader.html.erb +31 -31
  26. data/app/views/ama_layout/_top_nav.html.erb +3 -7
  27. data/app/views/ama_layout/_top_sub_nav.html.erb +1 -1
  28. data/app/views/ama_layout/_top_sub_nav_item.html.erb +0 -1
  29. data/lib/ama_layout/decorators/navigation_decorator.rb +1 -1
  30. data/lib/ama_layout/version.rb +1 -1
  31. metadata +10 -8
  32. data/app/assets/images/AMA-Logo.svg +0 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8806c79de3e66d08d42a7d44733710851f51d350
4
- data.tar.gz: b43d9a770b295f58383f6e00b8bbd0f9477b83d9
3
+ metadata.gz: 99701322ca62ad3ff8f834822f7ea5f6547016c1
4
+ data.tar.gz: f085c1e9a1bcc21363798a9a6db71583d1ed222c
5
5
  SHA512:
6
- metadata.gz: 4f5c3dd238fa621fe3766a729ade07b9d4b74fe7f71eed39d9a3b8a5bfc56989f016190ea1e972255e25b82a634c4c6bd14266e9f77df97cd29769bff2774d4c
7
- data.tar.gz: 1fe08804dd8f4b4ce86668edecf30c252bd4017c31ddee1d97b396fd1c9ea6b7d1dcd7db9447fc96ca352e11651913c1c39fd8dcafbb454d68b56048b13d9d35
6
+ metadata.gz: 55560ce3c28d3095cc17ef5cb0d34c8ce9fc1d1c3773eb9ed1ed9706f20a99bd7cd3cafef3a6daebdca217a18bb0d10f09c8c1183af669fd13e8632f7d077955
7
+ data.tar.gz: 18a3cba1c2fb109c084a483a9d6ddc68f03f3db8b3a349af5239532a552fdbe3c3acb49a8cdf942a7536ecfdac8e0609de09a1a4ce585fec0c2411ec47c003b2
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "foundation-rails", "5.4.5.0"
21
+ spec.add_dependency "foundation-rails", "~> 6.2.0"
22
22
  spec.add_dependency "rails", "~> 4.2"
23
23
  spec.add_dependency "sass-rails", "~> 5.0"
24
24
  spec.add_dependency "font-awesome-sass", "4.5.0"
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 133.7 32.6" style="enable-background:new 0 0 133.7 32.6;" xml:space="preserve">
6
+ <style type="text/css">
7
+ .st0{fill:#FFFFFF;}
8
+ .st1{fill:#FFFFFF;stroke:#FFFFFF;stroke-miterlimit:10;}
9
+ .st2{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.3594;}
10
+ .st3{fill:#00539B;}
11
+ .st4{fill:#DA291C;}
12
+ .st5{fill-rule:evenodd;clip-rule:evenodd;fill:#DA291C;}
13
+ </style>
14
+ <g>
15
+ <g>
16
+ <g>
17
+ <path class="st0" d="M62,2.4h12.7l6.4,20h0.1l6.7-20H100v30.1h-7.9l0.1-23.2h-0.1l-7.7,23.2h-7.4L69.8,9.4h-0.1l0.2,23.2H62V2.4z
18
+ M40.8,2.4h9.8l11.6,30.1h-8.8l-2.2-6.4H39.8l-2.4,6.4h-8.2L40.8,2.4z M45.7,8.6L45.7,8.6l-4,11.8h7.6L45.7,8.6z M111.3,2.4h9.9
19
+ l11.6,30.1h-8.8l-2.2-6.4h-11.3l-2.4,6.4h-8.2L111.3,2.4z M116.2,8.6L116.2,8.6l-4,11.8h7.6L116.2,8.6z"/>
20
+ </g>
21
+ </g>
22
+ <path class="st1" d="M1,13.7c-0.1-7.2,8.4-13,19-13c10.5,0,19.1,5.8,19.2,13c0.1,7.2-8.4,13-19,13C9.7,26.7,1.1,20.9,1,13.7z"/>
23
+ <path class="st2" d="M36.6,8.2c2,2.5,2.5,6.5,0.9,9.3c-3.6,6.2-10.3,8.1-17,8.4c-7.1,0-13.9-2-17.8-8c-1.5-2.7-1.2-6.7,0.6-9.2
24
+ c5.3-6.9,14-8.2,22.3-6.8C29.8,3,33.7,4.6,36.6,8.2L36.6,8.2z"/>
25
+ <path class="st3" d="M36.6,8.2c2,2.5,2.5,6.5,0.9,9.3c-3.6,6.2-10.3,8.1-17,8.4c-7.1,0-13.9-2-17.8-8c-1.5-2.7-1.2-6.7,0.6-9.2
26
+ c5.3-6.9,14-8.2,22.3-6.8C29.8,3,33.7,4.6,36.6,8.2L36.6,8.2z"/>
27
+ <path class="st0" d="M34.4,10.1c1,1.4,1.5,3.5,1,5.2c-1.8,5.1-7.4,7-12.2,7.7c-6.1,0.7-12.3-0.3-16.7-4.5c-1.7-1.8-2.5-4.4-1.6-6.8
28
+ c2.5-5.3,8.3-6.9,13.6-7.5C24.7,4.1,30.5,5.2,34.4,10.1L34.4,10.1z"/>
29
+ <path class="st4" d="M24.5,12.8l0.3,0.8c-0.5,1.6-1,3.2-1.4,4.8l2.9,0l1.2,2.7L24.2,22c-0.6-1.5-1.1-3.1-1.6-4.6l-5.6,0
30
+ c-0.5,1.4-1,2.9-1.4,4.4c-1.1-0.1-2.2-0.4-3.4-0.7c0.2-0.8,0.5-1.6,0.8-2.3c1.6-0.8,2.9-2.5,2.9-4.4l-1.4,0l3.2-9.5
31
+ c1.4,0,2.5-0.1,3.9-0.1L24.5,12.8L24.5,12.8z"/>
32
+ <path class="st4" d="M33.5,18l-2.7,0c-0.2-0.7-0.4-1.3-0.6-2l-3.2,0c-0.2,0.6-0.3,1.3-0.4,2l-2.7,0L27,7.6l3.1,0L33.5,18L33.5,18z"
33
+ />
34
+ <path class="st4" d="M14.8,9.5c0.3,0.5,0.5,1.1,0.5,1.8l-2.6,0c-0.1-0.4-0.1-0.8-0.5-1.1c-0.4-0.3-1-0.4-1.5-0.2
35
+ c-1.6,0.8-1.4,2.7-1.3,4.4c0.2,0.8,0.5,1.9,1.4,2.1c0.5,0,1,0,1.4-0.3c0.4-0.4,0.5-0.9,0.7-1.3h2.6c-0.2,1.8-1.5,3.4-3.3,3.8
36
+ C10.6,18.9,9,18.5,8,17.3c-1.6-1.9-1.8-4.7-0.8-6.9C7.9,9,9.4,7.8,11,7.7C12.5,7.6,13.8,8.2,14.8,9.5L14.8,9.5z"/>
37
+ <path class="st0" d="M21.6,14.7h-3.8l1.8-6.1C20.3,10.6,21,12.6,21.6,14.7L21.6,14.7z"/>
38
+ <path class="st0" d="M27.6,13.8c0.2-1.1,0.5-2.2,0.8-3.3l1,3.3H27.6L27.6,13.8z"/>
39
+ <path class="st5" d="M33.9,16.2c0.3,0,0.6-0.3,0.6-0.6c0-0.3-0.3-0.6-0.6-0.6c-0.3,0-0.6,0.3-0.6,0.6
40
+ C33.3,15.9,33.6,16.2,33.9,16.2L33.9,16.2z M33.4,15.6c0-0.3,0.2-0.5,0.5-0.5c0.3,0,0.5,0.2,0.5,0.5c0,0.3-0.2,0.5-0.5,0.5
41
+ C33.6,16.1,33.4,15.9,33.4,15.6L33.4,15.6z M33.8,15.6h0.1l0.2,0.3h0.1L34,15.6c0.1,0,0.2-0.1,0.2-0.2c0-0.1-0.1-0.2-0.2-0.2h-0.3
42
+ v0.7h0.1V15.6L33.8,15.6z M33.8,15.5v-0.2h0.1c0.1,0,0.2,0,0.2,0.1c0,0.1-0.1,0.1-0.2,0.1H33.8L33.8,15.5z"/>
43
+ </g>
44
+ </svg>
@@ -1,3 +1,7 @@
1
- $(document).ready ->
2
- $('.menu-link').click ->
3
- $('#menu').toggleClass('active')
1
+ $(window).load ->
2
+ windowWidth = $(window).width()
3
+ smallBreakpoint = 640
4
+ if windowWidth < smallBreakpoint
5
+ # sets the height so the nav items in the top bar are scrollable
6
+ windowHeight = $(window).height()
7
+ $('.top-bar').height windowHeight
@@ -0,0 +1,566 @@
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. Close Button
20
+ // 15. Drilldown
21
+ // 16. Dropdown
22
+ // 17. Dropdown Menu
23
+ // 18. Flex Video
24
+ // 19. Forms
25
+ // 20. Label
26
+ // 21. Media Object
27
+ // 22. Menu
28
+ // 23. Meter
29
+ // 24. Off-canvas
30
+ // 25. Orbit
31
+ // 26. Pagination
32
+ // 27. Progress Bar
33
+ // 28. Reveal
34
+ // 29. Slider
35
+ // 30. Switch
36
+ // 31. Table
37
+ // 32. Tabs
38
+ // 33. Thumbnail
39
+ // 34. Title Bar
40
+ // 35. Tooltip
41
+ // 36. Top Bar
42
+
43
+ @import 'util/util';
44
+
45
+ // 1. Global
46
+ // ---------
47
+
48
+ $global-font-size: 100%;
49
+ $global-width: rem-calc(1200);
50
+ $global-lineheight: 1.5;
51
+ $foundation-palette: (
52
+ primary: #2199e8,
53
+ secondary: #777,
54
+ success: #3adb76,
55
+ warning: #ffae00,
56
+ alert: #ec5840,
57
+ );
58
+ $light-gray: #e6e6e6;
59
+ $medium-gray: #cacaca;
60
+ $dark-gray: #8a8a8a;
61
+ $black: #0a0a0a;
62
+ $white: #ffffff;
63
+ $body-background: $white;
64
+ $body-font-color: $black;
65
+ $body-font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
66
+ $body-antialiased: true;
67
+ $global-margin: 1rem;
68
+ $global-padding: 1rem;
69
+ $global-weight-normal: normal;
70
+ $global-weight-bold: bold;
71
+ $global-radius: 3px;
72
+ $global-text-direction: ltr;
73
+ $global-flexbox: false;
74
+ $print-transparent-backgrounds: true;
75
+
76
+ @include add-foundation-colors;
77
+
78
+ // 2. Breakpoints
79
+ // --------------
80
+
81
+ $breakpoints: (
82
+ small: 0,
83
+ medium: 640px,
84
+ large: 1024px,
85
+ xlarge: 1200px,
86
+ xxlarge: 1440px,
87
+ );
88
+ $breakpoint-classes: (small medium large);
89
+
90
+ // 3. The Grid
91
+ // -----------
92
+
93
+ $grid-row-width: $global-width;
94
+ $grid-column-count: 12;
95
+ $grid-column-gutter: (
96
+ small: 20px,
97
+ medium: 30px,
98
+ );
99
+ $grid-column-align-edge: true;
100
+ $block-grid-max: 8;
101
+
102
+ // 4. Base Typography
103
+ // ------------------
104
+
105
+ $header-font-family: $body-font-family;
106
+ $header-font-weight: $global-weight-normal;
107
+ $header-font-style: normal;
108
+ $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
109
+ $header-sizes: (
110
+ small: (
111
+ 'h1': 24,
112
+ 'h2': 20,
113
+ 'h3': 19,
114
+ 'h4': 18,
115
+ 'h5': 17,
116
+ 'h6': 16,
117
+ ),
118
+ medium: (
119
+ 'h1': 48,
120
+ 'h2': 40,
121
+ 'h3': 27,
122
+ 'h4': 23,
123
+ 'h5': 18,
124
+ 'h6': 16,
125
+ ),
126
+ );
127
+ $header-color: inherit;
128
+ $header-lineheight: 1.4;
129
+ $header-margin-bottom: 0.5rem;
130
+ $header-text-rendering: optimizeLegibility;
131
+ $small-font-size: 80%;
132
+ $header-small-font-color: $medium-gray;
133
+ $paragraph-lineheight: 1.6;
134
+ $paragraph-margin-bottom: 1rem;
135
+ $paragraph-text-rendering: optimizeLegibility;
136
+ $code-color: $black;
137
+ $code-font-family: $font-family-monospace;
138
+ $code-font-weight: $global-weight-normal;
139
+ $code-background: $light-gray;
140
+ $code-border: 1px solid $medium-gray;
141
+ $code-padding: rem-calc(2 5 1);
142
+ $anchor-color: $primary-color;
143
+ $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
144
+ $anchor-text-decoration: none;
145
+ $anchor-text-decoration-hover: none;
146
+ $hr-width: $global-width;
147
+ $hr-border: 1px solid $medium-gray;
148
+ $hr-margin: rem-calc(20) auto;
149
+ $list-lineheight: $paragraph-lineheight;
150
+ $list-margin-bottom: $paragraph-margin-bottom;
151
+ $list-style-type: disc;
152
+ $list-style-position: outside;
153
+ $list-side-margin: 1.25rem;
154
+ $list-nested-side-margin: 1.25rem;
155
+ $defnlist-margin-bottom: 1rem;
156
+ $defnlist-term-weight: $global-weight-bold;
157
+ $defnlist-term-margin-bottom: 0.3rem;
158
+ $blockquote-color: $dark-gray;
159
+ $blockquote-padding: rem-calc(9 20 0 19);
160
+ $blockquote-border: 1px solid $medium-gray;
161
+ $cite-font-size: rem-calc(13);
162
+ $cite-color: $dark-gray;
163
+ $keystroke-font: $font-family-monospace;
164
+ $keystroke-color: $black;
165
+ $keystroke-background: $light-gray;
166
+ $keystroke-padding: rem-calc(2 4 0);
167
+ $keystroke-radius: $global-radius;
168
+ $abbr-underline: 1px dotted $black;
169
+
170
+ // 5. Typography Helpers
171
+ // ---------------------
172
+
173
+ $lead-font-size: $global-font-size * 1.25;
174
+ $lead-lineheight: 1.6;
175
+ $subheader-lineheight: 1.4;
176
+ $subheader-color: $dark-gray;
177
+ $subheader-font-weight: $global-weight-normal;
178
+ $subheader-margin-top: 0.2rem;
179
+ $subheader-margin-bottom: 0.5rem;
180
+ $stat-font-size: 2.5rem;
181
+
182
+ // 6. Abide
183
+ // --------
184
+
185
+ $abide-inputs: true;
186
+ $abide-labels: true;
187
+ $input-background-invalid: map-get($foundation-palette, alert);
188
+ $form-label-color-invalid: map-get($foundation-palette, alert);
189
+ $input-error-color: map-get($foundation-palette, alert);
190
+ $input-error-font-size: rem-calc(12);
191
+ $input-error-font-weight: $global-weight-bold;
192
+
193
+ // 7. Accordion
194
+ // ------------
195
+
196
+ $accordion-background: $brand-blue-light;
197
+ $accordion-plusminus: false;
198
+ $accordion-item-color: foreground($accordion-background, $primary-color);
199
+ $accordion-item-background-hover: $brand-blue-light;
200
+ $accordion-item-padding: 1.25rem 1rem;
201
+ $accordion-content-background: $white;
202
+ $accordion-content-border: 1px solid $light-gray;
203
+ $accordion-content-color: foreground($accordion-background, $primary-color);
204
+ $accordion-content-padding: 1rem;
205
+
206
+ // 8. Accordion Menu
207
+ // -----------------
208
+
209
+ $accordionmenu-arrows: true;
210
+ $accordionmenu-arrow-color: $primary-color;
211
+
212
+ // 9. Badge
213
+ // --------
214
+
215
+ $badge-background: $primary-color;
216
+ $badge-color: foreground($badge-background);
217
+ $badge-padding: 0.3em;
218
+ $badge-minwidth: 2.1em;
219
+ $badge-font-size: 0.6rem;
220
+
221
+ // 10. Breadcrumbs
222
+ // ---------------
223
+
224
+ $breadcrumbs-margin: 0 0 $global-margin 0;
225
+ $breadcrumbs-item-font-size: rem-calc(11);
226
+ $breadcrumbs-item-color: $primary-color;
227
+ $breadcrumbs-item-color-current: $black;
228
+ $breadcrumbs-item-color-disabled: $medium-gray;
229
+ $breadcrumbs-item-margin: 0.75rem;
230
+ $breadcrumbs-item-uppercase: true;
231
+ $breadcrumbs-item-slash: true;
232
+
233
+ // 11. Button
234
+ // ----------
235
+
236
+ $button-padding: 1em 1.75em;
237
+ $button-margin: 0 0 $global-margin 0;
238
+ $button-fill: solid;
239
+ $button-background: $primary-color;
240
+ $button-background-hover: scale-color($button-background, $lightness: -15%);
241
+ $button-color: $white;
242
+ $button-color-alt: $black;
243
+ $button-radius: $global-radius;
244
+ $button-sizes: (
245
+ tiny: 0.6rem,
246
+ small: 0.75rem,
247
+ default: 0.9rem,
248
+ large: 1.25rem,
249
+ );
250
+ $button-opacity-disabled: 0.25;
251
+
252
+ // 12. Button Group
253
+ // ----------------
254
+
255
+ $buttongroup-margin: 1rem;
256
+ $buttongroup-spacing: 1px;
257
+ $buttongroup-child-selector: '.button';
258
+ $buttongroup-expand-max: 6;
259
+
260
+ // 13. Callout
261
+ // -----------
262
+
263
+ $callout-background: $white;
264
+ $callout-background-fade: 85%;
265
+ $callout-border: 1px solid rgba($black, 0.25);
266
+ $callout-margin: 0 0 1rem 0;
267
+ $callout-padding: 1rem;
268
+ $callout-font-color: $body-font-color;
269
+ $callout-font-color-alt: $body-background;
270
+ $callout-radius: 0;
271
+ $callout-link-tint: 30%;
272
+
273
+ // 14. Close Button
274
+ // ----------------
275
+
276
+ $closebutton-position: right top;
277
+ $closebutton-offset-horizontal: 1rem;
278
+ $closebutton-offset-vertical: 0.5rem;
279
+ $closebutton-size: 2em;
280
+ $closebutton-lineheight: 1;
281
+ $closebutton-color: $dark-gray;
282
+ $closebutton-color-hover: $black;
283
+
284
+ // 15. Drilldown
285
+ // -------------
286
+
287
+ $drilldown-transition: transform 0.15s linear;
288
+ $drilldown-arrows: true;
289
+ $drilldown-arrow-color: $primary-color;
290
+ $drilldown-background: $white;
291
+
292
+ // 16. Dropdown
293
+ // ------------
294
+
295
+ $dropdown-padding: 1rem;
296
+ $dropdown-border: 1px solid $medium-gray;
297
+ $dropdown-font-size: 1rem;
298
+ $dropdown-width: 300px;
299
+ $dropdown-radius: $global-radius;
300
+ $dropdown-sizes: (
301
+ tiny: 100px,
302
+ small: 200px,
303
+ large: 400px,
304
+ );
305
+
306
+ // 17. Dropdown Menu
307
+ // -----------------
308
+
309
+ $dropdownmenu-arrows: true;
310
+ $dropdownmenu-arrow-color: $anchor-color;
311
+ $dropdownmenu-min-width: 200px;
312
+ $dropdownmenu-background: $white;
313
+ $dropdownmenu-border: 1px solid $medium-gray;
314
+
315
+ // 18. Flex Video
316
+ // --------------
317
+
318
+ $flexvideo-margin-bottom: rem-calc(16);
319
+ $flexvideo-ratio: 4 by 3;
320
+ $flexvideo-ratio-widescreen: 16 by 9;
321
+
322
+ // 19. Forms
323
+ // ---------
324
+
325
+ $fieldset-border: none;
326
+ $fieldset-padding: none;
327
+ $fieldset-margin: none;
328
+ $legend-padding: rem-calc(0 3);
329
+ $form-spacing: rem-calc(16);
330
+ $helptext-color: $black;
331
+ $helptext-font-size: rem-calc(13);
332
+ $helptext-font-style: italic;
333
+ $input-prefix-color: $black;
334
+ $input-prefix-background: $light-gray;
335
+ $input-prefix-border: 1px solid $medium-gray;
336
+ $input-prefix-padding: 1rem;
337
+ $form-label-color: $black;
338
+ $form-label-font-size: rem-calc(14);
339
+ $form-label-font-weight: $global-weight-normal;
340
+ $form-label-line-height: 1.8;
341
+ $select-background: $white;
342
+ $select-triangle-color: $dark-gray;
343
+ $select-radius: 0;
344
+ $input-color: $black;
345
+ $input-placeholder-color: $brand-red !important;
346
+ $input-font-family: inherit;
347
+ $input-font-size: rem-calc(16);
348
+ $input-background: $white;
349
+ $input-background-focus: $white;
350
+ $input-background-disabled: $light-gray;
351
+ $input-border: 1px solid $medium-gray;
352
+ $input-border-focus: 1px solid $dark-gray;
353
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1);
354
+ $input-shadow-focus: 0 0 5px $medium-gray;
355
+ $input-cursor-disabled: default;
356
+ $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
357
+ $input-number-spinners: true;
358
+ $input-radius: 0;
359
+
360
+ // 20. Label
361
+ // ---------
362
+
363
+ $label-background: $primary-color;
364
+ $label-color: foreground($label-background);
365
+ $label-font-size: 0.8rem;
366
+ $label-padding: 0.33333rem 0.5rem;
367
+ $label-radius: $global-radius;
368
+
369
+ // 21. Media Object
370
+ // ----------------
371
+
372
+ $mediaobject-margin-bottom: $global-margin;
373
+ $mediaobject-section-padding: $global-padding;
374
+ $mediaobject-image-width-stacked: 100%;
375
+
376
+ // 22. Menu
377
+ // --------
378
+
379
+ $menu-margin: 0;
380
+ $menu-margin-nested: 1rem;
381
+ $menu-item-padding: 1.2rem 1rem;
382
+ $menu-item-color-active: $white;
383
+ $menu-item-background-active: map-get($foundation-palette, primary);
384
+ $menu-icon-spacing: 0.25rem;
385
+
386
+ // 23. Meter
387
+ // ---------
388
+
389
+ $meter-height: 1rem;
390
+ $meter-radius: $global-radius;
391
+ $meter-background: $medium-gray;
392
+ $meter-fill-good: $success-color;
393
+ $meter-fill-medium: $warning-color;
394
+ $meter-fill-bad: $alert-color;
395
+
396
+ // 24. Off-canvas
397
+ // --------------
398
+
399
+ $offcanvas-size: 250px;
400
+ $offcanvas-background: $light-gray;
401
+ $offcanvas-zindex: -1;
402
+ $offcanvas-transition-length: 0.5s;
403
+ $offcanvas-transition-timing: ease;
404
+ $offcanvas-fixed-reveal: true;
405
+ $offcanvas-exit-background: rgba($white, 0.25);
406
+ $maincontent-class: 'off-canvas-content';
407
+ $maincontent-shadow: 0 0 10px rgba($black, 0.5);
408
+
409
+ // 25. Orbit
410
+ // ---------
411
+
412
+ $orbit-bullet-background: $medium-gray;
413
+ $orbit-bullet-background-active: $dark-gray;
414
+ $orbit-bullet-diameter: 1.2rem;
415
+ $orbit-bullet-margin: 0.1rem;
416
+ $orbit-bullet-margin-top: 0.8rem;
417
+ $orbit-bullet-margin-bottom: 0.8rem;
418
+ $orbit-caption-background: rgba($black, 0.5);
419
+ $orbit-caption-padding: 1rem;
420
+ $orbit-control-background-hover: rgba($black, 0.5);
421
+ $orbit-control-padding: 1rem;
422
+ $orbit-control-zindex: 10;
423
+
424
+ // 26. Pagination
425
+ // --------------
426
+
427
+ $pagination-font-size: rem-calc(14);
428
+ $pagination-margin-bottom: $global-margin;
429
+ $pagination-item-color: $black;
430
+ $pagination-item-padding: rem-calc(3 10);
431
+ $pagination-item-spacing: rem-calc(1);
432
+ $pagination-radius: $global-radius;
433
+ $pagination-item-background-hover: $light-gray;
434
+ $pagination-item-background-current: $primary-color;
435
+ $pagination-item-color-current: foreground($pagination-item-background-current);
436
+ $pagination-item-color-disabled: $medium-gray;
437
+ $pagination-ellipsis-color: $black;
438
+ $pagination-mobile-items: false;
439
+ $pagination-arrows: true;
440
+
441
+ // 27. Progress Bar
442
+ // ----------------
443
+
444
+ $progress-height: 1rem;
445
+ $progress-background: $medium-gray;
446
+ $progress-margin-bottom: $global-margin;
447
+ $progress-meter-background: $primary-color;
448
+ $progress-radius: $global-radius;
449
+
450
+ // 28. Reveal
451
+ // ----------
452
+
453
+ $reveal-background: $white;
454
+ $reveal-width: 960px;
455
+ $reveal-max-width: $global-width;
456
+ $reveal-padding: $global-padding;
457
+ $reveal-border: 1px solid $medium-gray;
458
+ $reveal-radius: $global-radius;
459
+ $reveal-zindex: 1005;
460
+ $reveal-overlay-background: rgba($black, 0.45);
461
+
462
+ // 29. Slider
463
+ // ----------
464
+
465
+ $slider-width-vertical: 0.5rem;
466
+ $slider-transition: all 0.2s ease-in-out;
467
+ $slider-height: 0.5rem;
468
+ $slider-background: $light-gray;
469
+ $slider-fill-background: $medium-gray;
470
+ $slider-handle-height: 1.4rem;
471
+ $slider-handle-width: 1.4rem;
472
+ $slider-handle-background: $primary-color;
473
+ $slider-opacity-disabled: 0.25;
474
+ $slider-radius: $global-radius;
475
+
476
+ // 30. Switch
477
+ // ----------
478
+
479
+ $switch-background: $medium-gray;
480
+ $switch-background-active: $primary-color;
481
+ $switch-height: 2rem;
482
+ $switch-height-tiny: 1.5rem;
483
+ $switch-height-small: 1.75rem;
484
+ $switch-height-large: 2.5rem;
485
+ $switch-radius: $global-radius;
486
+ $switch-margin: $global-margin;
487
+ $switch-paddle-background: $white;
488
+ $switch-paddle-offset: 0.25rem;
489
+ $switch-paddle-radius: $global-radius;
490
+ $switch-paddle-transition: all 0.25s ease-out;
491
+
492
+ // 31. Table
493
+ // ---------
494
+
495
+ $table-background: $white;
496
+ $table-color-scale: 5%;
497
+ $table-border: 1px solid smart-scale($table-background, $table-color-scale);
498
+ $table-padding: rem-calc(8 10 10);
499
+ $table-hover-scale: 2%;
500
+ $table-row-hover: darken($table-background, $table-hover-scale);
501
+ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
502
+ $table-striped-background: smart-scale($table-background, $table-color-scale);
503
+ $table-stripe: even;
504
+ $table-head-background: smart-scale($table-background, $table-color-scale / 2);
505
+ $table-foot-background: smart-scale($table-background, $table-color-scale);
506
+ $table-head-font-color: $body-font-color;
507
+ $show-header-for-stacked: false;
508
+
509
+ // 32. Tabs
510
+ // --------
511
+
512
+ $tab-margin: 0;
513
+ $tab-background: $white;
514
+ $tab-background-active: $light-gray;
515
+ $tab-item-font-size: $base-font-size;
516
+ $tab-item-background-hover: $white;
517
+ $tab-item-padding: 0;
518
+ $tab-expand-max: 6;
519
+ $tab-content-background: $white;
520
+ $tab-content-border: $light-gray;
521
+ $tab-content-color: foreground($tab-background, $primary-color);
522
+ $tab-content-padding: 0;
523
+
524
+ // 33. Thumbnail
525
+ // -------------
526
+
527
+ $thumbnail-border: solid 4px $white;
528
+ $thumbnail-margin-bottom: $global-margin;
529
+ $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
530
+ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
531
+ $thumbnail-transition: box-shadow 200ms ease-out;
532
+ $thumbnail-radius: $global-radius;
533
+
534
+ // 34. Title Bar
535
+ // -------------
536
+
537
+ $titlebar-background: $brand-blue-dark;
538
+ $titlebar-color: $white;
539
+ $titlebar-padding: 0.5rem;
540
+ $titlebar-text-font-weight: bold;
541
+ $titlebar-icon-color: $white;
542
+ $titlebar-icon-color-hover: $medium-gray;
543
+ $titlebar-icon-spacing: 0.25rem;
544
+
545
+ // 35. Tooltip
546
+ // -----------
547
+
548
+ $has-tip-font-weight: $global-weight-bold;
549
+ $has-tip-border-bottom: dotted 1px $dark-gray;
550
+ $tooltip-background-color: $black;
551
+ $tooltip-color: $white;
552
+ $tooltip-padding: 0.75rem;
553
+ $tooltip-font-size: $small-font-size;
554
+ $tooltip-pip-width: 0.75rem;
555
+ $tooltip-pip-height: $tooltip-pip-width * 0.866;
556
+ $tooltip-radius: $global-radius;
557
+
558
+ // 36. Top Bar
559
+ // -----------
560
+
561
+ $topbar-padding: 0;
562
+ $topbar-background: $brand-blue-dark;
563
+ $topbar-submenu-background: $topbar-background;
564
+ $topbar-title-spacing: 1rem;
565
+ $topbar-input-width: 200px;
566
+ $topbar-unstack-breakpoint: medium;