luna-one 3.1.430 → 3.1.433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2315 -2315
- package/dist/application/assets/images/carat-down.svg +3 -3
- package/dist/application/assets/images/carat-up.svg +3 -3
- package/dist/application/assets/images/close-blue.svg +4 -4
- package/dist/application/assets/images/close.svg +3 -3
- package/dist/application/assets/images/ellipses.svg +6 -6
- package/dist/application/assets/images/facebook.svg +13 -13
- package/dist/application/assets/images/instagram.svg +19 -19
- package/dist/application/assets/images/linkedin.svg +15 -15
- package/dist/application/assets/images/twitter.svg +17 -17
- package/dist/application/assets/images/youtube.svg +14 -14
- package/dist/application/components/Loading/Loading.scss +10 -10
- package/dist/global-styles/content/typography.scss +140 -140
- package/dist/global-styles/fonts/benton.scss +5 -5
- package/dist/global-styles/global-terra.scss +10 -10
- package/dist/global-styles/global-vars.scss +600 -600
- package/dist/global-styles/layout/_css-grid.scss +20 -20
- package/dist/global-styles/layout/_media-queries.scss +35 -35
- package/dist/global-styles/layout/_normalize.scss +340 -340
- package/dist/global-styles/layout/_reset.scss +13 -13
- package/dist/global-styles/mixins/_box-shadow.scss +6 -6
- package/dist/global-styles/mixins/_mixins.scss +5 -5
- package/dist/global-styles/mixins/_organism-padding-hack.scss +7 -7
- package/dist/global-styles/mixins/_typography.scss +110 -110
- package/dist/global-styles/mixins/_yiq.scss +50 -50
- package/dist/global-styles/mixins/_z-index.scss +3 -3
- package/dist/global-styles/terra.scss +15 -15
- package/dist/global-styles/utilities/_box-shadow.scss +8 -8
- package/dist/global-styles/utilities/_display.scss +48 -48
- package/dist/global-styles/utilities/_font-family.scss +15 -15
- package/dist/global-styles/utilities/_parallax.scss +23 -23
- package/dist/global-styles/utilities/_text-align.scss +24 -24
- package/dist/luna/components/2x2/2x2.scss +776 -776
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.scss +81 -81
- package/dist/luna/components/AdminProductData/AdminProductData.scss +75 -75
- package/dist/luna/components/BlockListItems/AppCards.js +1 -1
- package/dist/luna/components/BlockListItems/BlockListItems.scss +236 -236
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBanner.scss +6 -6
- package/dist/luna/components/CTAButtons/CTAButtons.scss +19 -19
- package/dist/luna/components/ComparisonTable/ComparisonTable.scss +354 -354
- package/dist/luna/components/CtaWithHeader/CtaWithHeader.scss +279 -279
- package/dist/luna/components/DataPoint/DataPoint.scss +160 -160
- package/dist/luna/components/EventCard/EventCard.scss +134 -134
- package/dist/luna/components/HTMLEmbed/HTMLEmbed.scss +26 -26
- package/dist/luna/components/Header/Header.scss +34 -34
- package/dist/luna/components/ImageGallery/ImageGallery.scss +438 -438
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.scss +124 -124
- package/dist/luna/components/JobPosting/JobPosting.scss +171 -171
- package/dist/luna/components/LinkList/LinkList.scss +44 -44
- package/dist/luna/components/Login/Login.scss +180 -180
- package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
- package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.scss +107 -107
- package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +272 -272
- package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
- package/dist/luna/components/MobileNav/MobileNav.scss +283 -283
- package/dist/luna/components/NavBarTop/NavBarTop.scss +408 -408
- package/dist/luna/components/NavSearch/NavSearch.scss +129 -129
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +338 -338
- package/dist/luna/components/OverlayNotice/OverlayNotice.scss +248 -248
- package/dist/luna/components/Pagination/Pagination.scss +27 -27
- package/dist/luna/components/ProductSummary/ProductSummary.scss +266 -266
- package/dist/luna/components/ProseLayout/ProseLayout.scss +384 -384
- package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
- package/dist/luna/components/ScrollInPlace/ScrollInPlace.scss +219 -219
- package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.scss +142 -142
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.scss +124 -124
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.scss +434 -434
- package/dist/luna/components/SupportCard/SupportCard.scss +134 -134
- package/dist/luna/components/Tabs/Tabs.scss +747 -747
- package/dist/luna/components/TimeBasedList/TimeBasedList.scss +394 -394
- package/dist/luna/components/TrainerCard/TrainerCard.scss +51 -51
- package/dist/luna/components/UnboundedCard/UnboundedCard.scss +101 -101
- package/dist/luna/components/UnboundedCard/playIcon.svg +17 -17
- package/dist/luna/components/VariableContentCard/VariableContentCard.scss +253 -253
- package/dist/luna/components/Video/Video.scss +207 -207
- package/dist/luna/components/VidyardModal/VidyardModal.scss +32 -32
- package/dist/luna/featurettes/Accordion/Accordion.scss +137 -137
- package/dist/luna/featurettes/CustomFeat/CustomFeat.scss +17 -17
- package/dist/luna/featurettes/Feat1/Feat1.scss +110 -110
- package/dist/luna/featurettes/Feat2A/Feat2A.scss +132 -132
- package/dist/luna/featurettes/Feat2B/Feat2B.scss +231 -231
- package/dist/luna/featurettes/Feat3/Feat3.scss +49 -49
- package/dist/luna/featurettes/Feat4/Feat4.scss +86 -86
- package/dist/luna/featurettes/Feat5/Feat5.scss +235 -235
- package/dist/luna/featurettes/Feat7/Feat7.scss +49 -49
- package/dist/luna/featurettes/Feat8/Feat8.scss +103 -103
- package/dist/luna/featurettes/IconTextList/IconTextList.scss +118 -118
- package/dist/luna/featurettes/ProductsPackage/ProductsPackage.scss +187 -187
- package/dist/luna/featurettes/PullQuote/PullQuote.scss +322 -322
- package/dist/luna/featurettes/PullQuote/ico-quote-white.svg +3 -3
- package/dist/luna/featurettes/PullQuote/ico-quote.svg +3 -3
- package/dist/luna/heroes/FilterHero/FilterHero.scss +80 -80
- package/dist/luna/heroes/FullBackgroundHero/FullBackgroundHero.scss +605 -605
- package/dist/luna/heroes/Hero1/Hero1.scss +223 -223
- package/dist/luna/heroes/Hero2/Hero2.scss +165 -165
- package/dist/luna/heroes/Hero3/Hero3.scss +250 -250
- package/dist/luna/heroes/Hero4/Hero4.scss +112 -112
- package/dist/luna/heroes/Hero6/Hero6.scss +127 -127
- package/dist/luna/heroes/Hero7/Hero7.scss +193 -193
- package/dist/luna/heroes/SuperHero/SuperHero.scss +774 -774
- package/dist/luna/images/arrow-diagonal-black.svg +13 -13
- package/dist/luna/images/arrow-diagonal-blue.svg +13 -13
- package/dist/luna/images/arrow-diagonal-white.svg +13 -13
- package/dist/luna/images/bulletpoint.svg +3 -3
- package/dist/luna/images/callout-icon.svg +3 -3
- package/dist/luna/images/check-blue.svg +4 -4
- package/dist/luna/images/circle-arrow-right-black.svg +3 -3
- package/dist/luna/images/circle-arrow-right-white.svg +3 -3
- package/dist/luna/images/circle-arrow.svg +3 -3
- package/dist/luna/images/close-button.svg +42 -42
- package/dist/luna/images/close-dark-navy.svg +3 -3
- package/dist/luna/images/close-icon.svg +3 -3
- package/dist/luna/images/collapse-close-blue.svg +5 -5
- package/dist/luna/images/collapse-close-gold.svg +5 -5
- package/dist/luna/images/collapse-open-blue.svg +4 -4
- package/dist/luna/images/collapse-open-gold.svg +4 -4
- package/dist/luna/images/cross-medium-blue.svg +4 -4
- package/dist/luna/images/cross-medium-white.svg +5 -5
- package/dist/luna/images/down-caret-dark-blue.svg +4 -4
- package/dist/luna/images/down-caret-dark-gray.svg +4 -4
- package/dist/luna/images/down-caret-light-gray.svg +4 -4
- package/dist/luna/images/downArrow.svg +36 -36
- package/dist/luna/images/external-arrow-blue.svg +11 -11
- package/dist/luna/images/external-arrow-white-theme.svg +12 -12
- package/dist/luna/images/external-arrow.svg +12 -12
- package/dist/luna/images/form-border-top-light.svg +4 -4
- package/dist/luna/images/frame-intersection.svg +3 -3
- package/dist/luna/images/gallery-image-corner-border.svg +3 -3
- package/dist/luna/images/green-tick.svg +3 -3
- package/dist/luna/images/internal-arrow-blue.svg +15 -15
- package/dist/luna/images/internal-arrow-white-theme.svg +15 -15
- package/dist/luna/images/internal-arrow.svg +15 -15
- package/dist/luna/images/logo-icon.svg +17 -17
- package/dist/luna/images/pdf-doc.svg +9 -9
- package/dist/luna/images/play.svg +17 -17
- package/dist/luna/images/right-caret-dark-blue.svg +3 -3
- package/dist/luna/images/right-caret-light-gray.svg +4 -4
- package/dist/luna/images/right-caret-light-yellow-stroke.svg +9 -9
- package/dist/luna/images/right-caret-light-yellow.svg +4 -4
- package/dist/luna/images/right-caret-medium-gray.svg +4 -4
- package/dist/luna/images/search.svg +9 -9
- package/dist/luna/images/skipicon.svg +154 -154
- package/dist/luna/images/text-doc.svg +9 -9
- package/dist/luna/images/text-lines.svg +22 -22
- package/dist/luna/images/tooltip-close-icon.svg +3 -3
- package/dist/luna/images/tooltip-icon.svg +3 -3
- package/dist/luna/images/up-arrow.svg +36 -36
- package/dist/luna/images/up-right-arrow.svg +9 -9
- package/dist/luna/images/user-profile.svg +37 -37
- package/dist/luna/images/worldwide.svg +19 -19
- package/dist/luna/list-feats/ListFeat/ListFeat.scss +112 -112
- package/dist/luna/list-feats/ListFeat1/ListFeat1.scss +94 -94
- package/dist/luna/list-feats/ListFeat2/ListFeat2.scss +19 -19
- package/dist/luna/list-feats/ListFeat4/ListFeat4.scss +32 -32
- package/dist/luna/list-feats/ListFeat5/ListFeat5.scss +26 -26
- package/dist/luna/list-feats/ListFeat6/ListFeat6.scss +34 -34
- package/dist/luna/list-feats/ListFeat7/ListFeat7.scss +13 -13
- package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.scss +7 -7
- package/dist/luna/other-organisms/Carousel/Carousel.scss +134 -134
- package/dist/luna/other-organisms/Flyout/Flyout.scss +254 -254
- package/dist/luna/other-organisms/Footer/Footer.scss +469 -469
- package/dist/luna/other-organisms/LanguageSelector/LanguageSelector.scss +317 -317
- package/dist/luna/other-organisms/MarketoForm/MarketoForm.scss +56 -56
- package/dist/luna/other-organisms/NavBar/NavBar.js +2 -1
- package/dist/luna/other-organisms/NavBar/NavBar.scss +636 -638
- package/dist/luna/other-organisms/SubNav/SubNav.scss +232 -232
- package/package.json +93 -93
|
@@ -1,600 +1,600 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Variables
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@function map-collect($maps...) {
|
|
7
|
-
$collection: ();
|
|
8
|
-
@each $map in $maps {
|
|
9
|
-
$collection: map-merge($collection, $map);
|
|
10
|
-
}
|
|
11
|
-
@return $collection;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// gray
|
|
15
|
-
@function gray($key) {
|
|
16
|
-
@return map-get($gray, $key);
|
|
17
|
-
}
|
|
18
|
-
$gray: () !default;
|
|
19
|
-
$gray: map-merge(
|
|
20
|
-
(
|
|
21
|
-
"white": #ffffff,
|
|
22
|
-
"gray-1": #f9f9fb,
|
|
23
|
-
"gray-2": #f3f3f7,
|
|
24
|
-
"gray-3": #eaeaef,
|
|
25
|
-
"gray-4": #bfbfc6,
|
|
26
|
-
"gray-5": #9d9da6,
|
|
27
|
-
"gray-6": #7b7a86,
|
|
28
|
-
"gray-7": #363545,
|
|
29
|
-
"gray-8": #262533,
|
|
30
|
-
"gray-9": #1b1a26,
|
|
31
|
-
"black": #000000,
|
|
32
|
-
),
|
|
33
|
-
$gray
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
$mep-gray-3: #363545;
|
|
37
|
-
$mep-blue-1: #009ad9;
|
|
38
|
-
$mep-blue-2: #005f9e;
|
|
39
|
-
$mep-blue-3: #0e416c;
|
|
40
|
-
$mep-blue-4: #00437b;
|
|
41
|
-
$mep-gray-1: #eaeaef;
|
|
42
|
-
$mep-gray-2: #d0d0d7;
|
|
43
|
-
$mep-gray-0: #f9f9fb;
|
|
44
|
-
$max-screen-width: 1266px;
|
|
45
|
-
|
|
46
|
-
// brand colors
|
|
47
|
-
@function brand-color($key) {
|
|
48
|
-
@return map-get($brand-colors, $key);
|
|
49
|
-
}
|
|
50
|
-
$brand-colors: () !default;
|
|
51
|
-
$brand-colors: map-merge(
|
|
52
|
-
(
|
|
53
|
-
"brand-1": #002d5b,
|
|
54
|
-
"brand-2": #005f9e,
|
|
55
|
-
"brand-3": #009ad9,
|
|
56
|
-
"brand-4": #00437b,
|
|
57
|
-
"brand-5": #ffbe00,
|
|
58
|
-
"ui-1": #0d6aa8,
|
|
59
|
-
"ui-2": #cfe1ee,
|
|
60
|
-
"ui-3": #f4f7fa,
|
|
61
|
-
),
|
|
62
|
-
$brand-colors
|
|
63
|
-
);
|
|
64
|
-
|
|
65
|
-
// emotive colors
|
|
66
|
-
@function emotive-colors($key) {
|
|
67
|
-
@return map-get($emotive-colors, $key);
|
|
68
|
-
}
|
|
69
|
-
$emotive-colors: () !default;
|
|
70
|
-
$emotive-colors: map-merge(
|
|
71
|
-
(
|
|
72
|
-
"default": brand-color("ui-1"),
|
|
73
|
-
"danger": #f57362,
|
|
74
|
-
"success": #c0f57a,
|
|
75
|
-
"warning": #fff172,
|
|
76
|
-
),
|
|
77
|
-
$emotive-colors
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
// create color palette map
|
|
81
|
-
@function color($key) {
|
|
82
|
-
@return map-get($color-palette, $key);
|
|
83
|
-
}
|
|
84
|
-
$color-palette: map-collect($brand-colors, $emotive-colors, $gray);
|
|
85
|
-
|
|
86
|
-
// type colors
|
|
87
|
-
@function type-color($key: "normal") {
|
|
88
|
-
@return map-get($type-colors, $key);
|
|
89
|
-
}
|
|
90
|
-
$type-colors: () !default;
|
|
91
|
-
$type-colors: map-merge(
|
|
92
|
-
(
|
|
93
|
-
"normal": color("gray-7"),
|
|
94
|
-
"inverse": color("gray-1"),
|
|
95
|
-
),
|
|
96
|
-
$type-colors
|
|
97
|
-
);
|
|
98
|
-
|
|
99
|
-
// font weight
|
|
100
|
-
@function font-weight($key: "normal") {
|
|
101
|
-
@return map-get($font-weight-scale, $key);
|
|
102
|
-
}
|
|
103
|
-
$font-weight-scale: () !default;
|
|
104
|
-
$font-weight-scale: map-merge(
|
|
105
|
-
(
|
|
106
|
-
"light": 300,
|
|
107
|
-
"normal": 400,
|
|
108
|
-
"book": 400,
|
|
109
|
-
"regular": 500,
|
|
110
|
-
"medium": 600,
|
|
111
|
-
"bold": 600,
|
|
112
|
-
"extra-bold": 800,
|
|
113
|
-
),
|
|
114
|
-
$font-weight-scale
|
|
115
|
-
);
|
|
116
|
-
|
|
117
|
-
// type scale
|
|
118
|
-
@function font-size($key: "base") {
|
|
119
|
-
@return map-get($font-size-scale, $key);
|
|
120
|
-
}
|
|
121
|
-
$font-size-scale: () !default;
|
|
122
|
-
$font-size-scale: map-merge(
|
|
123
|
-
(
|
|
124
|
-
"nano": 12px,
|
|
125
|
-
"micro": 14px,
|
|
126
|
-
"sm": 16px,
|
|
127
|
-
"base": 20px,
|
|
128
|
-
"md": 24px,
|
|
129
|
-
"lg": 28px,
|
|
130
|
-
"xl": 32px,
|
|
131
|
-
"xxl": 36px,
|
|
132
|
-
"huge": 42px,
|
|
133
|
-
"mega": 48px,
|
|
134
|
-
"jumbo": 56px,
|
|
135
|
-
"massive": 80px,
|
|
136
|
-
),
|
|
137
|
-
$font-size-scale
|
|
138
|
-
);
|
|
139
|
-
|
|
140
|
-
// line-height scale
|
|
141
|
-
@function line-height($key: "regular") {
|
|
142
|
-
@return map-get($line-height-scale, $key);
|
|
143
|
-
}
|
|
144
|
-
$line-height-scale: () !default;
|
|
145
|
-
$line-height-scale: map-merge(
|
|
146
|
-
(
|
|
147
|
-
"tight": 1.2,
|
|
148
|
-
"regular": 1.4,
|
|
149
|
-
"loose": 1.6,
|
|
150
|
-
),
|
|
151
|
-
$line-height-scale
|
|
152
|
-
);
|
|
153
|
-
|
|
154
|
-
// border radius
|
|
155
|
-
@function border-radius($key) {
|
|
156
|
-
@return map-get($border-radius-scale, $key);
|
|
157
|
-
}
|
|
158
|
-
$border-radius-scale: () !default;
|
|
159
|
-
$border-radius-scale: map-merge(
|
|
160
|
-
(
|
|
161
|
-
"none": 0,
|
|
162
|
-
"sm": 0.125rem,
|
|
163
|
-
"md": 0.25rem,
|
|
164
|
-
"lg": 0.5rem,
|
|
165
|
-
"xl": 1rem,
|
|
166
|
-
),
|
|
167
|
-
$border-radius-scale
|
|
168
|
-
);
|
|
169
|
-
|
|
170
|
-
// spacing scale
|
|
171
|
-
@function spacing($key) {
|
|
172
|
-
@return map-get($spacing-scale, $key);
|
|
173
|
-
}
|
|
174
|
-
$spacing-scale: () !default;
|
|
175
|
-
$spacing-scale: map-merge(
|
|
176
|
-
(
|
|
177
|
-
"none": 0px,
|
|
178
|
-
"auto": auto,
|
|
179
|
-
"micro": 4px,
|
|
180
|
-
"mini": 8px,
|
|
181
|
-
"xxs": 12px,
|
|
182
|
-
"xs": 16px,
|
|
183
|
-
"sm": 24px,
|
|
184
|
-
"md": 32px,
|
|
185
|
-
"lg": 48px,
|
|
186
|
-
"xl": 64px,
|
|
187
|
-
"xxl": 72px,
|
|
188
|
-
"super": 96px,
|
|
189
|
-
"mega": 120px,
|
|
190
|
-
),
|
|
191
|
-
$spacing-scale
|
|
192
|
-
);
|
|
193
|
-
|
|
194
|
-
// box shadow
|
|
195
|
-
@function box-shadow($key) {
|
|
196
|
-
@return map-get($box-shadows, $key);
|
|
197
|
-
}
|
|
198
|
-
$box-shadows: (
|
|
199
|
-
"none": none,
|
|
200
|
-
1: (
|
|
201
|
-
0 4px 8px 0 rgba(54, 53, 69, 0.1),
|
|
202
|
-
0 4px 8px 0 rgba(54, 53, 69, 0.1),
|
|
203
|
-
),
|
|
204
|
-
2: (
|
|
205
|
-
0 4px 12px 0 rgba(54, 53, 69, 0.1),
|
|
206
|
-
0 12px 16px 4px rgba(54, 53, 69, 0.05),
|
|
207
|
-
),
|
|
208
|
-
3: (
|
|
209
|
-
0 8px 24px 0 rgba(54, 53, 69, 0.1),
|
|
210
|
-
0 16px 20px 0 rgba(54, 53, 69, 0.05),
|
|
211
|
-
),
|
|
212
|
-
4: (
|
|
213
|
-
0 16px 28px 0 rgba(54, 53, 69, 0.05),
|
|
214
|
-
0 16px 40px 0 rgba(54, 53, 69, 0.1),
|
|
215
|
-
),
|
|
216
|
-
5: (
|
|
217
|
-
0 5px gray("white"),
|
|
218
|
-
0 8px brand-color("brand-5"),
|
|
219
|
-
),
|
|
220
|
-
6: (
|
|
221
|
-
0 5px gray("white"),
|
|
222
|
-
0 8px gray("white"),
|
|
223
|
-
),
|
|
224
|
-
);
|
|
225
|
-
|
|
226
|
-
// font family
|
|
227
|
-
$font-sans-serif: "Benton Sans W05 Book", -apple-system, BlinkMacSystemFont,
|
|
228
|
-
"helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial,
|
|
229
|
-
sans-serif;
|
|
230
|
-
$font-serif: georgia, times, serif;
|
|
231
|
-
$font-code: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
232
|
-
|
|
233
|
-
// globals
|
|
234
|
-
$body-bg-color: color("white");
|
|
235
|
-
$body-font-color: type-color("normal");
|
|
236
|
-
$border-radius-base: border-radius("none");
|
|
237
|
-
$body-font-family: $font-sans-serif;
|
|
238
|
-
$body-font-weight: font-weight("normal");
|
|
239
|
-
$selection-highlight-bg: color("brand-3");
|
|
240
|
-
|
|
241
|
-
// navigation tabs
|
|
242
|
-
$nav-tabs-link-color: color("gray-7");
|
|
243
|
-
$nav-tabs-link-hover: color("gray-9");
|
|
244
|
-
$nav-tabs-border-color: color("gray-7");
|
|
245
|
-
$nav-tabs-border-size: 2px;
|
|
246
|
-
$nav-tabs-link-bg: transparent;
|
|
247
|
-
$nav-tabs-active-link-bg: color("white");
|
|
248
|
-
$nav-tabs-font-weight: font-weight("bold");
|
|
249
|
-
|
|
250
|
-
// pagination
|
|
251
|
-
$pagination-border-hover-color: color("gray-3");
|
|
252
|
-
$pagination-border-active-color: color("brand-1");
|
|
253
|
-
|
|
254
|
-
// headers
|
|
255
|
-
$header-font-color: color("gray-8");
|
|
256
|
-
$header-font-family: "Benton Sans W05 Regular", $font-sans-serif;
|
|
257
|
-
$header-font-weight: font-weight("extra-bold");
|
|
258
|
-
|
|
259
|
-
// links
|
|
260
|
-
$link-color: color("ui-1");
|
|
261
|
-
$link-hover-color: darken($link-color, 10%);
|
|
262
|
-
$link-inverse-color: color("ui-2");
|
|
263
|
-
$link-inverse-hover-color: darken($link-inverse-color, 10%);
|
|
264
|
-
$link-font-weight: font-weight("normal");
|
|
265
|
-
|
|
266
|
-
// navigation bar
|
|
267
|
-
$navbar-height: 72px;
|
|
268
|
-
// set to true if using module
|
|
269
|
-
$has-universal-navbar: false;
|
|
270
|
-
$navbar-universal-height: 32px;
|
|
271
|
-
$navbar-bg: color("gray-2");
|
|
272
|
-
$navbar-logo-height: 42px;
|
|
273
|
-
$navbar-font-size: font-size("nano");
|
|
274
|
-
$navbar-link-color: color("gray-8");
|
|
275
|
-
$navbar-link-hover: color("gray-6");
|
|
276
|
-
$navbar-link-hover-bg: color("gray-0");
|
|
277
|
-
$navbar-link-text-transform: uppercase;
|
|
278
|
-
$navbar-link-font-weight: font-weight("extra-bold");
|
|
279
|
-
$navbar-border-width: 0px;
|
|
280
|
-
$navbar-border-color: color("gray-1");
|
|
281
|
-
$navbar-menu-icon-color: color("gray-3");
|
|
282
|
-
$navbar-inverse-bg: color("gray-8");
|
|
283
|
-
$navbar-inverse-border-color: color("gray-8");
|
|
284
|
-
$navbar-inverse-link-color: $link-inverse-color;
|
|
285
|
-
$navbar-inverse-link-hover-color: $link-inverse-hover-color;
|
|
286
|
-
|
|
287
|
-
// calculate total navbar height
|
|
288
|
-
$total-navbar-height: null;
|
|
289
|
-
@if $has-universal-navbar == false {
|
|
290
|
-
$total-navbar-height: $navbar-height;
|
|
291
|
-
} @else {
|
|
292
|
-
$total-navbar-height: calc(#{$navbar-height} + #{$navbar-universal-height});
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
// mega menu
|
|
296
|
-
$mega-menu-bg: color("gray-2");
|
|
297
|
-
// $mega-menu-offset: calc(-1 * #{spacing('mini')});
|
|
298
|
-
$mega-menu-offset: 0px;
|
|
299
|
-
$mega-menu-type-color: type-color("normal");
|
|
300
|
-
$mega-menu-link-color: color("brand-1");
|
|
301
|
-
$mega-menu-link-hover: darken($link-color, 10%);
|
|
302
|
-
|
|
303
|
-
// buttons
|
|
304
|
-
$button-colors: () !default;
|
|
305
|
-
$button-colors: map-merge(
|
|
306
|
-
(
|
|
307
|
-
1: color("ui-1"),
|
|
308
|
-
2: color("brand-1"),
|
|
309
|
-
3: color("ui-2"),
|
|
310
|
-
4: color("gray-7"),
|
|
311
|
-
5: color("gray-3"),
|
|
312
|
-
),
|
|
313
|
-
$button-colors
|
|
314
|
-
);
|
|
315
|
-
|
|
316
|
-
$button-border-radius: $border-radius-base;
|
|
317
|
-
$button-height: 48px;
|
|
318
|
-
$button-small-height: 32px;
|
|
319
|
-
$button-font-size: font-size("sm");
|
|
320
|
-
$button-font-weight: font-weight("bold");
|
|
321
|
-
$button-border-size: 1px;
|
|
322
|
-
$button-inverse-bg-color: color("ui-2");
|
|
323
|
-
$button-inverse-color: #0d6aa8; // color('brand-2')
|
|
324
|
-
$button-outline-text-color: color("brand-1");
|
|
325
|
-
$button-outline-border-color: color("brand-1");
|
|
326
|
-
$button-outline-hover-color: type-color("inverse");
|
|
327
|
-
$button-outline-inverse-text-color: color("ui-2");
|
|
328
|
-
$button-outline-inverse-border-color: color("ui-2");
|
|
329
|
-
$button-outline-inverse-hover-color: color("brand-2");
|
|
330
|
-
|
|
331
|
-
// tooltips
|
|
332
|
-
$tooltip-bg: color("gray-2");
|
|
333
|
-
$tooltip-font-size: font-size("micro");
|
|
334
|
-
$tooltip-text-color: type-color("normal");
|
|
335
|
-
$tooltip-border-radius: $border-radius-base;
|
|
336
|
-
|
|
337
|
-
// cards
|
|
338
|
-
$card-bg: color("gray-2");
|
|
339
|
-
$card-box-shadow: box-shadow(2);
|
|
340
|
-
$card-border-radius: $border-radius-base;
|
|
341
|
-
$card-border-width: 0px;
|
|
342
|
-
$card-border-color: color("gray-3");
|
|
343
|
-
$card-font-size: font-size("sm");
|
|
344
|
-
|
|
345
|
-
// dropdowns
|
|
346
|
-
$dropdown-item-font-size: font-size("sm");
|
|
347
|
-
$dropdown-border-size: 1px;
|
|
348
|
-
$dropdown-border-color: color("gray-7");
|
|
349
|
-
$dropdown-border-radius: $border-radius-base;
|
|
350
|
-
$dropdown-bg: color("gray-1");
|
|
351
|
-
$dropdown-link-color: color("gray-9");
|
|
352
|
-
$dropdown-link-hover-bg: color("gray-3");
|
|
353
|
-
$drodown-arrow-color: color("gray-6");
|
|
354
|
-
$dropdown-no-link-color: color("gray-6");
|
|
355
|
-
$dropdown-feature-background: brand-color("ui-3");
|
|
356
|
-
|
|
357
|
-
// panels
|
|
358
|
-
$panel-bg: color("white");
|
|
359
|
-
$panel-border-color: color("gray-2");
|
|
360
|
-
|
|
361
|
-
// accordion
|
|
362
|
-
$accordion-font-size: font-size("sm");
|
|
363
|
-
$accordion-bg: color("white");
|
|
364
|
-
$accordion-expanded-bg: color("white");
|
|
365
|
-
$accordion-border-width: 0.05rem;
|
|
366
|
-
$accordion-border-color: color("gray-4");
|
|
367
|
-
$accordion-arrow-color: color("gray-4");
|
|
368
|
-
|
|
369
|
-
// breadcrumbs
|
|
370
|
-
$breadcrumbs-caret-color: color("brand-2");
|
|
371
|
-
|
|
372
|
-
// form inputs
|
|
373
|
-
$input-bg-color: color("gray-1");
|
|
374
|
-
$input-height: 48px;
|
|
375
|
-
$input-text-color: $body-font-color;
|
|
376
|
-
$input-font-size: font-size("sm");
|
|
377
|
-
$input-border-radius: $border-radius-base;
|
|
378
|
-
$input-border-color: color("gray-7");
|
|
379
|
-
$input-border-width: 1px;
|
|
380
|
-
|
|
381
|
-
$input-placeholder-color: color("gray-5");
|
|
382
|
-
$input-focus-border-color: color("ui-1");
|
|
383
|
-
$input-focus-bg-color: color("white");
|
|
384
|
-
|
|
385
|
-
$input-disabled-color: color("gray-5");
|
|
386
|
-
$input-disabled-border-color: color("gray-5");
|
|
387
|
-
$input-disabled-bg: $input-bg-color;
|
|
388
|
-
|
|
389
|
-
// forms
|
|
390
|
-
$form-label-font-size: font-size("sm");
|
|
391
|
-
$form-label-color: color("gray-9");
|
|
392
|
-
$form-status-message-font-size: font-size("sm");
|
|
393
|
-
|
|
394
|
-
// fieldset
|
|
395
|
-
$fieldset-legend-font-size: font-size("sm");
|
|
396
|
-
$fieldset-legend-font-weight: font-weight("bold");
|
|
397
|
-
|
|
398
|
-
// checkboxes
|
|
399
|
-
$checkbox-border-color: $input-border-color;
|
|
400
|
-
$checkbox-fill-color: color("brand-2");
|
|
401
|
-
|
|
402
|
-
// radio buttons
|
|
403
|
-
$radio-border-color: $input-border-color;
|
|
404
|
-
$radio-fill-color: color("brand-2");
|
|
405
|
-
|
|
406
|
-
// tables
|
|
407
|
-
$table-font-size: font-size("sm");
|
|
408
|
-
$table-header-bg: color("gray-2");
|
|
409
|
-
$table-row-bg-even: color("gray-2");
|
|
410
|
-
$table-row-bg-odd: transparent;
|
|
411
|
-
|
|
412
|
-
// modals
|
|
413
|
-
$modal-bg: color("white");
|
|
414
|
-
$modal-overlay-bg: color("gray-9");
|
|
415
|
-
$modal-font-size: font-size("sm");
|
|
416
|
-
|
|
417
|
-
// alerts
|
|
418
|
-
$alert-border-radius: $border-radius-base;
|
|
419
|
-
$alert-padding: spacing("sm");
|
|
420
|
-
|
|
421
|
-
// notifications
|
|
422
|
-
|
|
423
|
-
$noficiation-bg-color: color("gray-1");
|
|
424
|
-
$notification-border-radius: $border-radius-base;
|
|
425
|
-
|
|
426
|
-
// tree menu
|
|
427
|
-
$tree-menu-font-size: font-size("sm");
|
|
428
|
-
$tree-menu-link-color: color("gray-5");
|
|
429
|
-
$tree-menu-link-hover: color("gray-8");
|
|
430
|
-
|
|
431
|
-
// viewport breakpoints
|
|
432
|
-
$breakpoint-xxs: 360px;
|
|
433
|
-
$breakpoint-xs: 600px;
|
|
434
|
-
$breakpoint-sm: 960px;
|
|
435
|
-
$breakpoint-md: 1280px;
|
|
436
|
-
$breakpoint-lg: 1800px;
|
|
437
|
-
|
|
438
|
-
// YIQ contrast colors
|
|
439
|
-
$yiq-contrasted-dark-default: type-color("normal") !default;
|
|
440
|
-
$yiq-contrasted-light-default: type-color("inverse") !default;
|
|
441
|
-
$yiq-contrasted-threshold: 128 !default;
|
|
442
|
-
$yiq-debug: false !default;
|
|
443
|
-
|
|
444
|
-
// Image Filtering
|
|
445
|
-
$filter-gray-100: gray(100%);
|
|
446
|
-
|
|
447
|
-
// Theme Mixins
|
|
448
|
-
$brand-theme-text-color: color("gray-1");
|
|
449
|
-
$gray-theme-text-color: color("gray-7");
|
|
450
|
-
|
|
451
|
-
@mixin theme-1 {
|
|
452
|
-
color: color("gray-7");
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
@mixin theme-2 {
|
|
456
|
-
color: color("gray-7");
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
@mixin theme-3 {
|
|
460
|
-
color: color("gray-7");
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
@mixin theme-4 {
|
|
464
|
-
color: color("gray-1");
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
@mixin theme-5 {
|
|
468
|
-
color: color("gray-1");
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
@mixin light-theme {
|
|
472
|
-
background-color: color("gray-1");
|
|
473
|
-
color: $gray-theme-text-color;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
@mixin dark-theme {
|
|
477
|
-
background-color: color("gray-2");
|
|
478
|
-
color: $gray-theme-text-color;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
@mixin light-brand-theme {
|
|
482
|
-
background-color: color("brand-4");
|
|
483
|
-
color: $brand-theme-text-color;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
@mixin dark-brand-theme {
|
|
487
|
-
background-color: color("brand-2");
|
|
488
|
-
color: $brand-theme-text-color;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
@mixin very-dark-brand-theme {
|
|
492
|
-
background-color: color("brand-1");
|
|
493
|
-
color: $brand-theme-text-color;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
@mixin brand-theme-text {
|
|
497
|
-
color: $brand-theme-text-color;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
@mixin brand-theme-fill {
|
|
501
|
-
fill: $brand-theme-text-color;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
@mixin brand-theme-border {
|
|
505
|
-
border-color: $brand-theme-text-color;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
@mixin brand-theme-link-text {
|
|
509
|
-
color: $brand-theme-text-color !important;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
@mixin light-brand-bg {
|
|
513
|
-
background-color: color("brand-4");
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
@mixin dark-brand-bg {
|
|
517
|
-
background-color: color("brand-2");
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
@mixin very-dark-brand-bg {
|
|
521
|
-
background-color: color("brand-1");
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
@mixin brand-link-text-deco {
|
|
525
|
-
text-decoration-color: color("gray-2") !important;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
@mixin icon-base() {
|
|
529
|
-
display: inline-block;
|
|
530
|
-
background-repeat: no-repeat;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
@mixin container-wrap {
|
|
534
|
-
padding-right: var(--outer-margin, 2rem);
|
|
535
|
-
padding-left: var(--outer-margin, 2rem);
|
|
536
|
-
box-sizing: border-box;
|
|
537
|
-
max-width: 64rem;
|
|
538
|
-
margin: 0 auto;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
@mixin header-standard-size {
|
|
542
|
-
font-size: $heading-3-size;
|
|
543
|
-
line-height: 50px;
|
|
544
|
-
letter-spacing: -0.005em;
|
|
545
|
-
margin-bottom: 6px;
|
|
546
|
-
@include benton-very-bold();
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
@mixin subheader-standard-size {
|
|
550
|
-
font-size: $subheading-size;
|
|
551
|
-
letter-spacing: 0.0175em;
|
|
552
|
-
@include benton-light();
|
|
553
|
-
margin-bottom: 20px;
|
|
554
|
-
line-height: 27px;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
@mixin text-standard-size {
|
|
558
|
-
font-size: font-size("micro");
|
|
559
|
-
line-height: 18px;
|
|
560
|
-
letter-spacing: -0.005em;
|
|
561
|
-
@include benton-light();
|
|
562
|
-
margin-bottom: 37px;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
@mixin h1-standard-size {
|
|
566
|
-
@include benton-very-bold();
|
|
567
|
-
font-size: 12px;
|
|
568
|
-
line-height: 18px;
|
|
569
|
-
letter-spacing: 0.07em;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
@mixin h2-standard-size {
|
|
573
|
-
font-size: 38px;
|
|
574
|
-
line-height: 43px;
|
|
575
|
-
@include benton-very-bold();
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
@mixin h3-standard-size {
|
|
579
|
-
font-size: 28px;
|
|
580
|
-
line-height: 34px;
|
|
581
|
-
font-weight: 800;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
@mixin h4-standard-size {
|
|
585
|
-
font-size: 20px;
|
|
586
|
-
line-height: 24px;
|
|
587
|
-
@include benton-very-bold();
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
@mixin h5-standard-size {
|
|
591
|
-
font-size: 24px;
|
|
592
|
-
line-height: 29px;
|
|
593
|
-
@include benton-medium();
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
@mixin h6-standard-size {
|
|
597
|
-
font-size: 16px;
|
|
598
|
-
line-height: 29px;
|
|
599
|
-
@include benton-normal();
|
|
600
|
-
}
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Variables
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@function map-collect($maps...) {
|
|
7
|
+
$collection: ();
|
|
8
|
+
@each $map in $maps {
|
|
9
|
+
$collection: map-merge($collection, $map);
|
|
10
|
+
}
|
|
11
|
+
@return $collection;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// gray
|
|
15
|
+
@function gray($key) {
|
|
16
|
+
@return map-get($gray, $key);
|
|
17
|
+
}
|
|
18
|
+
$gray: () !default;
|
|
19
|
+
$gray: map-merge(
|
|
20
|
+
(
|
|
21
|
+
"white": #ffffff,
|
|
22
|
+
"gray-1": #f9f9fb,
|
|
23
|
+
"gray-2": #f3f3f7,
|
|
24
|
+
"gray-3": #eaeaef,
|
|
25
|
+
"gray-4": #bfbfc6,
|
|
26
|
+
"gray-5": #9d9da6,
|
|
27
|
+
"gray-6": #7b7a86,
|
|
28
|
+
"gray-7": #363545,
|
|
29
|
+
"gray-8": #262533,
|
|
30
|
+
"gray-9": #1b1a26,
|
|
31
|
+
"black": #000000,
|
|
32
|
+
),
|
|
33
|
+
$gray
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
$mep-gray-3: #363545;
|
|
37
|
+
$mep-blue-1: #009ad9;
|
|
38
|
+
$mep-blue-2: #005f9e;
|
|
39
|
+
$mep-blue-3: #0e416c;
|
|
40
|
+
$mep-blue-4: #00437b;
|
|
41
|
+
$mep-gray-1: #eaeaef;
|
|
42
|
+
$mep-gray-2: #d0d0d7;
|
|
43
|
+
$mep-gray-0: #f9f9fb;
|
|
44
|
+
$max-screen-width: 1266px;
|
|
45
|
+
|
|
46
|
+
// brand colors
|
|
47
|
+
@function brand-color($key) {
|
|
48
|
+
@return map-get($brand-colors, $key);
|
|
49
|
+
}
|
|
50
|
+
$brand-colors: () !default;
|
|
51
|
+
$brand-colors: map-merge(
|
|
52
|
+
(
|
|
53
|
+
"brand-1": #002d5b,
|
|
54
|
+
"brand-2": #005f9e,
|
|
55
|
+
"brand-3": #009ad9,
|
|
56
|
+
"brand-4": #00437b,
|
|
57
|
+
"brand-5": #ffbe00,
|
|
58
|
+
"ui-1": #0d6aa8,
|
|
59
|
+
"ui-2": #cfe1ee,
|
|
60
|
+
"ui-3": #f4f7fa,
|
|
61
|
+
),
|
|
62
|
+
$brand-colors
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
// emotive colors
|
|
66
|
+
@function emotive-colors($key) {
|
|
67
|
+
@return map-get($emotive-colors, $key);
|
|
68
|
+
}
|
|
69
|
+
$emotive-colors: () !default;
|
|
70
|
+
$emotive-colors: map-merge(
|
|
71
|
+
(
|
|
72
|
+
"default": brand-color("ui-1"),
|
|
73
|
+
"danger": #f57362,
|
|
74
|
+
"success": #c0f57a,
|
|
75
|
+
"warning": #fff172,
|
|
76
|
+
),
|
|
77
|
+
$emotive-colors
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
// create color palette map
|
|
81
|
+
@function color($key) {
|
|
82
|
+
@return map-get($color-palette, $key);
|
|
83
|
+
}
|
|
84
|
+
$color-palette: map-collect($brand-colors, $emotive-colors, $gray);
|
|
85
|
+
|
|
86
|
+
// type colors
|
|
87
|
+
@function type-color($key: "normal") {
|
|
88
|
+
@return map-get($type-colors, $key);
|
|
89
|
+
}
|
|
90
|
+
$type-colors: () !default;
|
|
91
|
+
$type-colors: map-merge(
|
|
92
|
+
(
|
|
93
|
+
"normal": color("gray-7"),
|
|
94
|
+
"inverse": color("gray-1"),
|
|
95
|
+
),
|
|
96
|
+
$type-colors
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
// font weight
|
|
100
|
+
@function font-weight($key: "normal") {
|
|
101
|
+
@return map-get($font-weight-scale, $key);
|
|
102
|
+
}
|
|
103
|
+
$font-weight-scale: () !default;
|
|
104
|
+
$font-weight-scale: map-merge(
|
|
105
|
+
(
|
|
106
|
+
"light": 300,
|
|
107
|
+
"normal": 400,
|
|
108
|
+
"book": 400,
|
|
109
|
+
"regular": 500,
|
|
110
|
+
"medium": 600,
|
|
111
|
+
"bold": 600,
|
|
112
|
+
"extra-bold": 800,
|
|
113
|
+
),
|
|
114
|
+
$font-weight-scale
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
// type scale
|
|
118
|
+
@function font-size($key: "base") {
|
|
119
|
+
@return map-get($font-size-scale, $key);
|
|
120
|
+
}
|
|
121
|
+
$font-size-scale: () !default;
|
|
122
|
+
$font-size-scale: map-merge(
|
|
123
|
+
(
|
|
124
|
+
"nano": 12px,
|
|
125
|
+
"micro": 14px,
|
|
126
|
+
"sm": 16px,
|
|
127
|
+
"base": 20px,
|
|
128
|
+
"md": 24px,
|
|
129
|
+
"lg": 28px,
|
|
130
|
+
"xl": 32px,
|
|
131
|
+
"xxl": 36px,
|
|
132
|
+
"huge": 42px,
|
|
133
|
+
"mega": 48px,
|
|
134
|
+
"jumbo": 56px,
|
|
135
|
+
"massive": 80px,
|
|
136
|
+
),
|
|
137
|
+
$font-size-scale
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
// line-height scale
|
|
141
|
+
@function line-height($key: "regular") {
|
|
142
|
+
@return map-get($line-height-scale, $key);
|
|
143
|
+
}
|
|
144
|
+
$line-height-scale: () !default;
|
|
145
|
+
$line-height-scale: map-merge(
|
|
146
|
+
(
|
|
147
|
+
"tight": 1.2,
|
|
148
|
+
"regular": 1.4,
|
|
149
|
+
"loose": 1.6,
|
|
150
|
+
),
|
|
151
|
+
$line-height-scale
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
// border radius
|
|
155
|
+
@function border-radius($key) {
|
|
156
|
+
@return map-get($border-radius-scale, $key);
|
|
157
|
+
}
|
|
158
|
+
$border-radius-scale: () !default;
|
|
159
|
+
$border-radius-scale: map-merge(
|
|
160
|
+
(
|
|
161
|
+
"none": 0,
|
|
162
|
+
"sm": 0.125rem,
|
|
163
|
+
"md": 0.25rem,
|
|
164
|
+
"lg": 0.5rem,
|
|
165
|
+
"xl": 1rem,
|
|
166
|
+
),
|
|
167
|
+
$border-radius-scale
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
// spacing scale
|
|
171
|
+
@function spacing($key) {
|
|
172
|
+
@return map-get($spacing-scale, $key);
|
|
173
|
+
}
|
|
174
|
+
$spacing-scale: () !default;
|
|
175
|
+
$spacing-scale: map-merge(
|
|
176
|
+
(
|
|
177
|
+
"none": 0px,
|
|
178
|
+
"auto": auto,
|
|
179
|
+
"micro": 4px,
|
|
180
|
+
"mini": 8px,
|
|
181
|
+
"xxs": 12px,
|
|
182
|
+
"xs": 16px,
|
|
183
|
+
"sm": 24px,
|
|
184
|
+
"md": 32px,
|
|
185
|
+
"lg": 48px,
|
|
186
|
+
"xl": 64px,
|
|
187
|
+
"xxl": 72px,
|
|
188
|
+
"super": 96px,
|
|
189
|
+
"mega": 120px,
|
|
190
|
+
),
|
|
191
|
+
$spacing-scale
|
|
192
|
+
);
|
|
193
|
+
|
|
194
|
+
// box shadow
|
|
195
|
+
@function box-shadow($key) {
|
|
196
|
+
@return map-get($box-shadows, $key);
|
|
197
|
+
}
|
|
198
|
+
$box-shadows: (
|
|
199
|
+
"none": none,
|
|
200
|
+
1: (
|
|
201
|
+
0 4px 8px 0 rgba(54, 53, 69, 0.1),
|
|
202
|
+
0 4px 8px 0 rgba(54, 53, 69, 0.1),
|
|
203
|
+
),
|
|
204
|
+
2: (
|
|
205
|
+
0 4px 12px 0 rgba(54, 53, 69, 0.1),
|
|
206
|
+
0 12px 16px 4px rgba(54, 53, 69, 0.05),
|
|
207
|
+
),
|
|
208
|
+
3: (
|
|
209
|
+
0 8px 24px 0 rgba(54, 53, 69, 0.1),
|
|
210
|
+
0 16px 20px 0 rgba(54, 53, 69, 0.05),
|
|
211
|
+
),
|
|
212
|
+
4: (
|
|
213
|
+
0 16px 28px 0 rgba(54, 53, 69, 0.05),
|
|
214
|
+
0 16px 40px 0 rgba(54, 53, 69, 0.1),
|
|
215
|
+
),
|
|
216
|
+
5: (
|
|
217
|
+
0 5px gray("white"),
|
|
218
|
+
0 8px brand-color("brand-5"),
|
|
219
|
+
),
|
|
220
|
+
6: (
|
|
221
|
+
0 5px gray("white"),
|
|
222
|
+
0 8px gray("white"),
|
|
223
|
+
),
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
// font family
|
|
227
|
+
$font-sans-serif: "Benton Sans W05 Book", -apple-system, BlinkMacSystemFont,
|
|
228
|
+
"helvetica neue", helvetica, ubuntu, roboto, noto, "segoe ui", arial,
|
|
229
|
+
sans-serif;
|
|
230
|
+
$font-serif: georgia, times, serif;
|
|
231
|
+
$font-code: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
232
|
+
|
|
233
|
+
// globals
|
|
234
|
+
$body-bg-color: color("white");
|
|
235
|
+
$body-font-color: type-color("normal");
|
|
236
|
+
$border-radius-base: border-radius("none");
|
|
237
|
+
$body-font-family: $font-sans-serif;
|
|
238
|
+
$body-font-weight: font-weight("normal");
|
|
239
|
+
$selection-highlight-bg: color("brand-3");
|
|
240
|
+
|
|
241
|
+
// navigation tabs
|
|
242
|
+
$nav-tabs-link-color: color("gray-7");
|
|
243
|
+
$nav-tabs-link-hover: color("gray-9");
|
|
244
|
+
$nav-tabs-border-color: color("gray-7");
|
|
245
|
+
$nav-tabs-border-size: 2px;
|
|
246
|
+
$nav-tabs-link-bg: transparent;
|
|
247
|
+
$nav-tabs-active-link-bg: color("white");
|
|
248
|
+
$nav-tabs-font-weight: font-weight("bold");
|
|
249
|
+
|
|
250
|
+
// pagination
|
|
251
|
+
$pagination-border-hover-color: color("gray-3");
|
|
252
|
+
$pagination-border-active-color: color("brand-1");
|
|
253
|
+
|
|
254
|
+
// headers
|
|
255
|
+
$header-font-color: color("gray-8");
|
|
256
|
+
$header-font-family: "Benton Sans W05 Regular", $font-sans-serif;
|
|
257
|
+
$header-font-weight: font-weight("extra-bold");
|
|
258
|
+
|
|
259
|
+
// links
|
|
260
|
+
$link-color: color("ui-1");
|
|
261
|
+
$link-hover-color: darken($link-color, 10%);
|
|
262
|
+
$link-inverse-color: color("ui-2");
|
|
263
|
+
$link-inverse-hover-color: darken($link-inverse-color, 10%);
|
|
264
|
+
$link-font-weight: font-weight("normal");
|
|
265
|
+
|
|
266
|
+
// navigation bar
|
|
267
|
+
$navbar-height: 72px;
|
|
268
|
+
// set to true if using module
|
|
269
|
+
$has-universal-navbar: false;
|
|
270
|
+
$navbar-universal-height: 32px;
|
|
271
|
+
$navbar-bg: color("gray-2");
|
|
272
|
+
$navbar-logo-height: 42px;
|
|
273
|
+
$navbar-font-size: font-size("nano");
|
|
274
|
+
$navbar-link-color: color("gray-8");
|
|
275
|
+
$navbar-link-hover: color("gray-6");
|
|
276
|
+
$navbar-link-hover-bg: color("gray-0");
|
|
277
|
+
$navbar-link-text-transform: uppercase;
|
|
278
|
+
$navbar-link-font-weight: font-weight("extra-bold");
|
|
279
|
+
$navbar-border-width: 0px;
|
|
280
|
+
$navbar-border-color: color("gray-1");
|
|
281
|
+
$navbar-menu-icon-color: color("gray-3");
|
|
282
|
+
$navbar-inverse-bg: color("gray-8");
|
|
283
|
+
$navbar-inverse-border-color: color("gray-8");
|
|
284
|
+
$navbar-inverse-link-color: $link-inverse-color;
|
|
285
|
+
$navbar-inverse-link-hover-color: $link-inverse-hover-color;
|
|
286
|
+
|
|
287
|
+
// calculate total navbar height
|
|
288
|
+
$total-navbar-height: null;
|
|
289
|
+
@if $has-universal-navbar == false {
|
|
290
|
+
$total-navbar-height: $navbar-height;
|
|
291
|
+
} @else {
|
|
292
|
+
$total-navbar-height: calc(#{$navbar-height} + #{$navbar-universal-height});
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// mega menu
|
|
296
|
+
$mega-menu-bg: color("gray-2");
|
|
297
|
+
// $mega-menu-offset: calc(-1 * #{spacing('mini')});
|
|
298
|
+
$mega-menu-offset: 0px;
|
|
299
|
+
$mega-menu-type-color: type-color("normal");
|
|
300
|
+
$mega-menu-link-color: color("brand-1");
|
|
301
|
+
$mega-menu-link-hover: darken($link-color, 10%);
|
|
302
|
+
|
|
303
|
+
// buttons
|
|
304
|
+
$button-colors: () !default;
|
|
305
|
+
$button-colors: map-merge(
|
|
306
|
+
(
|
|
307
|
+
1: color("ui-1"),
|
|
308
|
+
2: color("brand-1"),
|
|
309
|
+
3: color("ui-2"),
|
|
310
|
+
4: color("gray-7"),
|
|
311
|
+
5: color("gray-3"),
|
|
312
|
+
),
|
|
313
|
+
$button-colors
|
|
314
|
+
);
|
|
315
|
+
|
|
316
|
+
$button-border-radius: $border-radius-base;
|
|
317
|
+
$button-height: 48px;
|
|
318
|
+
$button-small-height: 32px;
|
|
319
|
+
$button-font-size: font-size("sm");
|
|
320
|
+
$button-font-weight: font-weight("bold");
|
|
321
|
+
$button-border-size: 1px;
|
|
322
|
+
$button-inverse-bg-color: color("ui-2");
|
|
323
|
+
$button-inverse-color: #0d6aa8; // color('brand-2')
|
|
324
|
+
$button-outline-text-color: color("brand-1");
|
|
325
|
+
$button-outline-border-color: color("brand-1");
|
|
326
|
+
$button-outline-hover-color: type-color("inverse");
|
|
327
|
+
$button-outline-inverse-text-color: color("ui-2");
|
|
328
|
+
$button-outline-inverse-border-color: color("ui-2");
|
|
329
|
+
$button-outline-inverse-hover-color: color("brand-2");
|
|
330
|
+
|
|
331
|
+
// tooltips
|
|
332
|
+
$tooltip-bg: color("gray-2");
|
|
333
|
+
$tooltip-font-size: font-size("micro");
|
|
334
|
+
$tooltip-text-color: type-color("normal");
|
|
335
|
+
$tooltip-border-radius: $border-radius-base;
|
|
336
|
+
|
|
337
|
+
// cards
|
|
338
|
+
$card-bg: color("gray-2");
|
|
339
|
+
$card-box-shadow: box-shadow(2);
|
|
340
|
+
$card-border-radius: $border-radius-base;
|
|
341
|
+
$card-border-width: 0px;
|
|
342
|
+
$card-border-color: color("gray-3");
|
|
343
|
+
$card-font-size: font-size("sm");
|
|
344
|
+
|
|
345
|
+
// dropdowns
|
|
346
|
+
$dropdown-item-font-size: font-size("sm");
|
|
347
|
+
$dropdown-border-size: 1px;
|
|
348
|
+
$dropdown-border-color: color("gray-7");
|
|
349
|
+
$dropdown-border-radius: $border-radius-base;
|
|
350
|
+
$dropdown-bg: color("gray-1");
|
|
351
|
+
$dropdown-link-color: color("gray-9");
|
|
352
|
+
$dropdown-link-hover-bg: color("gray-3");
|
|
353
|
+
$drodown-arrow-color: color("gray-6");
|
|
354
|
+
$dropdown-no-link-color: color("gray-6");
|
|
355
|
+
$dropdown-feature-background: brand-color("ui-3");
|
|
356
|
+
|
|
357
|
+
// panels
|
|
358
|
+
$panel-bg: color("white");
|
|
359
|
+
$panel-border-color: color("gray-2");
|
|
360
|
+
|
|
361
|
+
// accordion
|
|
362
|
+
$accordion-font-size: font-size("sm");
|
|
363
|
+
$accordion-bg: color("white");
|
|
364
|
+
$accordion-expanded-bg: color("white");
|
|
365
|
+
$accordion-border-width: 0.05rem;
|
|
366
|
+
$accordion-border-color: color("gray-4");
|
|
367
|
+
$accordion-arrow-color: color("gray-4");
|
|
368
|
+
|
|
369
|
+
// breadcrumbs
|
|
370
|
+
$breadcrumbs-caret-color: color("brand-2");
|
|
371
|
+
|
|
372
|
+
// form inputs
|
|
373
|
+
$input-bg-color: color("gray-1");
|
|
374
|
+
$input-height: 48px;
|
|
375
|
+
$input-text-color: $body-font-color;
|
|
376
|
+
$input-font-size: font-size("sm");
|
|
377
|
+
$input-border-radius: $border-radius-base;
|
|
378
|
+
$input-border-color: color("gray-7");
|
|
379
|
+
$input-border-width: 1px;
|
|
380
|
+
|
|
381
|
+
$input-placeholder-color: color("gray-5");
|
|
382
|
+
$input-focus-border-color: color("ui-1");
|
|
383
|
+
$input-focus-bg-color: color("white");
|
|
384
|
+
|
|
385
|
+
$input-disabled-color: color("gray-5");
|
|
386
|
+
$input-disabled-border-color: color("gray-5");
|
|
387
|
+
$input-disabled-bg: $input-bg-color;
|
|
388
|
+
|
|
389
|
+
// forms
|
|
390
|
+
$form-label-font-size: font-size("sm");
|
|
391
|
+
$form-label-color: color("gray-9");
|
|
392
|
+
$form-status-message-font-size: font-size("sm");
|
|
393
|
+
|
|
394
|
+
// fieldset
|
|
395
|
+
$fieldset-legend-font-size: font-size("sm");
|
|
396
|
+
$fieldset-legend-font-weight: font-weight("bold");
|
|
397
|
+
|
|
398
|
+
// checkboxes
|
|
399
|
+
$checkbox-border-color: $input-border-color;
|
|
400
|
+
$checkbox-fill-color: color("brand-2");
|
|
401
|
+
|
|
402
|
+
// radio buttons
|
|
403
|
+
$radio-border-color: $input-border-color;
|
|
404
|
+
$radio-fill-color: color("brand-2");
|
|
405
|
+
|
|
406
|
+
// tables
|
|
407
|
+
$table-font-size: font-size("sm");
|
|
408
|
+
$table-header-bg: color("gray-2");
|
|
409
|
+
$table-row-bg-even: color("gray-2");
|
|
410
|
+
$table-row-bg-odd: transparent;
|
|
411
|
+
|
|
412
|
+
// modals
|
|
413
|
+
$modal-bg: color("white");
|
|
414
|
+
$modal-overlay-bg: color("gray-9");
|
|
415
|
+
$modal-font-size: font-size("sm");
|
|
416
|
+
|
|
417
|
+
// alerts
|
|
418
|
+
$alert-border-radius: $border-radius-base;
|
|
419
|
+
$alert-padding: spacing("sm");
|
|
420
|
+
|
|
421
|
+
// notifications
|
|
422
|
+
|
|
423
|
+
$noficiation-bg-color: color("gray-1");
|
|
424
|
+
$notification-border-radius: $border-radius-base;
|
|
425
|
+
|
|
426
|
+
// tree menu
|
|
427
|
+
$tree-menu-font-size: font-size("sm");
|
|
428
|
+
$tree-menu-link-color: color("gray-5");
|
|
429
|
+
$tree-menu-link-hover: color("gray-8");
|
|
430
|
+
|
|
431
|
+
// viewport breakpoints
|
|
432
|
+
$breakpoint-xxs: 360px;
|
|
433
|
+
$breakpoint-xs: 600px;
|
|
434
|
+
$breakpoint-sm: 960px;
|
|
435
|
+
$breakpoint-md: 1280px;
|
|
436
|
+
$breakpoint-lg: 1800px;
|
|
437
|
+
|
|
438
|
+
// YIQ contrast colors
|
|
439
|
+
$yiq-contrasted-dark-default: type-color("normal") !default;
|
|
440
|
+
$yiq-contrasted-light-default: type-color("inverse") !default;
|
|
441
|
+
$yiq-contrasted-threshold: 128 !default;
|
|
442
|
+
$yiq-debug: false !default;
|
|
443
|
+
|
|
444
|
+
// Image Filtering
|
|
445
|
+
$filter-gray-100: gray(100%);
|
|
446
|
+
|
|
447
|
+
// Theme Mixins
|
|
448
|
+
$brand-theme-text-color: color("gray-1");
|
|
449
|
+
$gray-theme-text-color: color("gray-7");
|
|
450
|
+
|
|
451
|
+
@mixin theme-1 {
|
|
452
|
+
color: color("gray-7");
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
@mixin theme-2 {
|
|
456
|
+
color: color("gray-7");
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
@mixin theme-3 {
|
|
460
|
+
color: color("gray-7");
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@mixin theme-4 {
|
|
464
|
+
color: color("gray-1");
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
@mixin theme-5 {
|
|
468
|
+
color: color("gray-1");
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
@mixin light-theme {
|
|
472
|
+
background-color: color("gray-1");
|
|
473
|
+
color: $gray-theme-text-color;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
@mixin dark-theme {
|
|
477
|
+
background-color: color("gray-2");
|
|
478
|
+
color: $gray-theme-text-color;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
@mixin light-brand-theme {
|
|
482
|
+
background-color: color("brand-4");
|
|
483
|
+
color: $brand-theme-text-color;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
@mixin dark-brand-theme {
|
|
487
|
+
background-color: color("brand-2");
|
|
488
|
+
color: $brand-theme-text-color;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
@mixin very-dark-brand-theme {
|
|
492
|
+
background-color: color("brand-1");
|
|
493
|
+
color: $brand-theme-text-color;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@mixin brand-theme-text {
|
|
497
|
+
color: $brand-theme-text-color;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
@mixin brand-theme-fill {
|
|
501
|
+
fill: $brand-theme-text-color;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
@mixin brand-theme-border {
|
|
505
|
+
border-color: $brand-theme-text-color;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@mixin brand-theme-link-text {
|
|
509
|
+
color: $brand-theme-text-color !important;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@mixin light-brand-bg {
|
|
513
|
+
background-color: color("brand-4");
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@mixin dark-brand-bg {
|
|
517
|
+
background-color: color("brand-2");
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@mixin very-dark-brand-bg {
|
|
521
|
+
background-color: color("brand-1");
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
@mixin brand-link-text-deco {
|
|
525
|
+
text-decoration-color: color("gray-2") !important;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
@mixin icon-base() {
|
|
529
|
+
display: inline-block;
|
|
530
|
+
background-repeat: no-repeat;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
@mixin container-wrap {
|
|
534
|
+
padding-right: var(--outer-margin, 2rem);
|
|
535
|
+
padding-left: var(--outer-margin, 2rem);
|
|
536
|
+
box-sizing: border-box;
|
|
537
|
+
max-width: 64rem;
|
|
538
|
+
margin: 0 auto;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
@mixin header-standard-size {
|
|
542
|
+
font-size: $heading-3-size;
|
|
543
|
+
line-height: 50px;
|
|
544
|
+
letter-spacing: -0.005em;
|
|
545
|
+
margin-bottom: 6px;
|
|
546
|
+
@include benton-very-bold();
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
@mixin subheader-standard-size {
|
|
550
|
+
font-size: $subheading-size;
|
|
551
|
+
letter-spacing: 0.0175em;
|
|
552
|
+
@include benton-light();
|
|
553
|
+
margin-bottom: 20px;
|
|
554
|
+
line-height: 27px;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
@mixin text-standard-size {
|
|
558
|
+
font-size: font-size("micro");
|
|
559
|
+
line-height: 18px;
|
|
560
|
+
letter-spacing: -0.005em;
|
|
561
|
+
@include benton-light();
|
|
562
|
+
margin-bottom: 37px;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
@mixin h1-standard-size {
|
|
566
|
+
@include benton-very-bold();
|
|
567
|
+
font-size: 12px;
|
|
568
|
+
line-height: 18px;
|
|
569
|
+
letter-spacing: 0.07em;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
@mixin h2-standard-size {
|
|
573
|
+
font-size: 38px;
|
|
574
|
+
line-height: 43px;
|
|
575
|
+
@include benton-very-bold();
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
@mixin h3-standard-size {
|
|
579
|
+
font-size: 28px;
|
|
580
|
+
line-height: 34px;
|
|
581
|
+
font-weight: 800;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
@mixin h4-standard-size {
|
|
585
|
+
font-size: 20px;
|
|
586
|
+
line-height: 24px;
|
|
587
|
+
@include benton-very-bold();
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
@mixin h5-standard-size {
|
|
591
|
+
font-size: 24px;
|
|
592
|
+
line-height: 29px;
|
|
593
|
+
@include benton-medium();
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@mixin h6-standard-size {
|
|
597
|
+
font-size: 16px;
|
|
598
|
+
line-height: 29px;
|
|
599
|
+
@include benton-normal();
|
|
600
|
+
}
|