luna-one 3.1.597 → 3.1.599
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2315 -2315
- package/dist/global-styles/content/typography.scss +140 -140
- package/dist/global-styles/fonts/benton.scss +113 -113
- package/dist/global-styles/global-terra.scss +10 -10
- package/dist/global-styles/global-vars.scss +599 -599
- 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 +102 -102
- 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 +915 -915
- package/dist/luna/components/2x2/2x2Documentation.mdx +77 -77
- package/dist/luna/components/Accordion/Accordion.scss +154 -154
- package/dist/luna/components/Accordion/AccordionDocumentation.mdx +45 -45
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.scss +81 -81
- package/dist/luna/components/AdminProductData/AdminProductData.scss +75 -75
- package/dist/luna/components/BlockListItems/BlockListItems.scss +285 -285
- package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -339
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBanner.scss +6 -6
- package/dist/luna/components/CTAButtons/CTAButtons.scss +19 -19
- package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -33
- package/dist/luna/components/Carousel/Carousel.scss +155 -155
- package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -161
- package/dist/luna/components/ComparisonTable/ComparisonTable.scss +331 -331
- package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -159
- package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -45
- package/dist/luna/components/CtaWithHeader/CtaWithHeader.scss +324 -324
- package/dist/luna/components/DataPoint/DataPoint.scss +170 -170
- package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -40
- package/dist/luna/components/EventCard/EventCard.scss +134 -134
- package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -46
- package/dist/luna/components/FilterHero/FilterHero.scss +80 -80
- package/dist/luna/components/FilterSection/FilterSection.scss +175 -175
- package/dist/luna/components/Flyout/Flyout.scss +367 -367
- package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -60
- package/dist/luna/components/Footer/Footer.scss +484 -484
- package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -133
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.scss +722 -722
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +93 -93
- package/dist/luna/components/HTMLEmbed/HTMLEmbed.scss +51 -51
- package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -31
- package/dist/luna/components/Header/Header.scss +36 -36
- package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -24
- package/dist/luna/components/IconTextList/IconTextList.scss +124 -124
- package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +45 -45
- package/dist/luna/components/ImageGallery/ImageGallery.scss +442 -442
- package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -90
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.scss +122 -122
- package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +22 -22
- package/dist/luna/components/JobPosting/JobPosting.scss +171 -171
- package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -69
- package/dist/luna/components/LanguageSelector/LanguageSelector.js +4 -4
- package/dist/luna/components/LanguageSelector/LanguageSelector.scss +318 -318
- package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +119 -119
- package/dist/luna/components/LinkList/LinkList.scss +59 -59
- package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -54
- package/dist/luna/components/LoadingSpinner/LoadingSpinner.scss +34 -34
- package/dist/luna/components/Login/Login.scss +180 -180
- package/dist/luna/components/MarketoForm/MarketoForm.scss +56 -56
- package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -1
- package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
- package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +289 -289
- package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
- package/dist/luna/components/MobileNav/MobileNav.scss +286 -286
- package/dist/luna/components/NavBar/NavBar.scss +628 -628
- package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -245
- package/dist/luna/components/NavBarTop/NavBarTop.scss +403 -403
- package/dist/luna/components/NavSearch/NavSearch.scss +130 -130
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +339 -339
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -89
- package/dist/luna/components/OverlayNotice/OverlayNotice.scss +247 -247
- package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -45
- package/dist/luna/components/Pagination/Pagination.scss +27 -27
- package/dist/luna/components/ProductSummary/ProductSummary.scss +273 -273
- package/dist/luna/components/ProductsPackage/ProductsPackage.scss +194 -194
- package/dist/luna/components/ProseLayout/ProseLayout.js +7 -5
- package/dist/luna/components/ProseLayout/ProseLayout.scss +394 -384
- package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -93
- package/dist/luna/components/PullQuote/PullQuote.scss +400 -400
- package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -60
- package/dist/luna/components/PullQuote/ico-quote-white.svg +3 -3
- package/dist/luna/components/PullQuote/ico-quote.svg +3 -3
- package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
- package/dist/luna/components/ResourceGrid/ResourceGrid.scss +34 -34
- package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -102
- package/dist/luna/components/ScrollInPlace/ScrollInPlace.scss +219 -219
- package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -123
- 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/SubNav/SubNav.scss +274 -274
- package/dist/luna/components/SuperHero/SuperHero.scss +804 -804
- package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -57
- package/dist/luna/components/SupportCard/SupportCard.scss +134 -134
- package/dist/luna/components/Tabs/Tabs.scss +871 -871
- package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -94
- package/dist/luna/components/TimeBasedList/TimeBasedList.scss +394 -394
- package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -123
- package/dist/luna/components/TrainerCard/TrainerCard.scss +51 -51
- package/dist/luna/components/TrialForm/TrialComponents/TrialSpecifics.scss +44 -44
- package/dist/luna/components/TrialForm/TrialComponents/TrialSummary.scss +57 -57
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.scss +28 -28
- package/dist/luna/components/TrialForm/images/check.svg +3 -3
- package/dist/luna/components/TrialForm/images/form-border-bottom-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-bottom-light.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-light.svg +4 -4
- package/dist/luna/components/UnboundedCard/UnboundedCard.scss +108 -108
- 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 +209 -209
- package/dist/luna/components/Video/VideoDocumentation.mdx +56 -56
- package/dist/luna/components/VidyardModal/VidyardModal.scss +34 -34
- package/dist/luna/components/WaffleMenu/WaffleMenu.scss +73 -73
- 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/carat-down.svg +3 -3
- package/dist/luna/images/carat-up.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-blue.svg +4 -4
- 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/close.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/ellipses.svg +6 -6
- 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/facebook.svg +13 -13
- 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/instagram.svg +19 -19
- 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/linkedin.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/twitter.svg +17 -17
- 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/user.svg +4 -4
- package/dist/luna/images/waffle.svg +11 -11
- package/dist/luna/images/worldwide.svg +19 -19
- package/dist/luna/images/youtube.svg +14 -14
- package/package.json +91 -91
@@ -1,599 +1,599 @@
|
|
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 for Trimble W05";
|
228
|
-
$font-serif: georgia, times, serif;
|
229
|
-
$font-code: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
230
|
-
|
231
|
-
// globals
|
232
|
-
$body-bg-color: color("white");
|
233
|
-
$body-font-color: type-color("normal");
|
234
|
-
$border-radius-base: border-radius("none");
|
235
|
-
$body-font-family: $font-sans-serif;
|
236
|
-
$body-font-weight: font-weight("normal");
|
237
|
-
$selection-highlight-bg: color("brand-3");
|
238
|
-
|
239
|
-
// navigation tabs
|
240
|
-
$nav-tabs-link-color: color("gray-7");
|
241
|
-
$nav-tabs-link-hover: color("gray-9");
|
242
|
-
$nav-tabs-border-color: color("gray-7");
|
243
|
-
$nav-tabs-border-size: 2px;
|
244
|
-
$nav-tabs-link-bg: transparent;
|
245
|
-
$nav-tabs-active-link-bg: color("white");
|
246
|
-
$nav-tabs-font-weight: font-weight("bold");
|
247
|
-
|
248
|
-
// pagination
|
249
|
-
$pagination-border-hover-color: color("gray-3");
|
250
|
-
$pagination-border-active-color: color("brand-1");
|
251
|
-
|
252
|
-
// headers
|
253
|
-
$header-font-color: color("gray-8");
|
254
|
-
$header-font-family: "Benton Sans W05 Regular", $font-sans-serif;
|
255
|
-
$header-font-weight: font-weight("extra-bold");
|
256
|
-
|
257
|
-
// links
|
258
|
-
$link-color: color("ui-1");
|
259
|
-
$link-hover-color: darken($link-color, 10%);
|
260
|
-
$link-inverse-color: color("ui-2");
|
261
|
-
$link-inverse-hover-color: darken($link-inverse-color, 10%);
|
262
|
-
$link-font-weight: font-weight("normal");
|
263
|
-
|
264
|
-
// navigation bar
|
265
|
-
$navbar-height: 72px;
|
266
|
-
// set to true if using module
|
267
|
-
$has-universal-navbar: false;
|
268
|
-
$navbar-universal-height: 32px;
|
269
|
-
$navbar-bg: color("gray-2");
|
270
|
-
$navbar-logo-height: 42px;
|
271
|
-
$navbar-font-size: font-size("nano");
|
272
|
-
$navbar-link-color: color("gray-8");
|
273
|
-
$navbar-link-hover: color("gray-6");
|
274
|
-
$navbar-link-hover-bg: color("gray-0");
|
275
|
-
$navbar-link-text-transform: uppercase;
|
276
|
-
$navbar-link-font-weight: font-weight("extra-bold");
|
277
|
-
$navbar-border-width: 0px;
|
278
|
-
$navbar-border-color: color("gray-1");
|
279
|
-
$navbar-menu-icon-color: color("gray-3");
|
280
|
-
$navbar-inverse-bg: color("gray-8");
|
281
|
-
$navbar-inverse-border-color: color("gray-8");
|
282
|
-
$navbar-inverse-link-color: $link-inverse-color;
|
283
|
-
$navbar-inverse-link-hover-color: $link-inverse-hover-color;
|
284
|
-
|
285
|
-
// calculate total navbar height
|
286
|
-
$total-navbar-height: null;
|
287
|
-
@if $has-universal-navbar == false {
|
288
|
-
$total-navbar-height: $navbar-height;
|
289
|
-
} @else {
|
290
|
-
$total-navbar-height: calc(#{$navbar-height} + #{$navbar-universal-height});
|
291
|
-
}
|
292
|
-
|
293
|
-
// mega menu
|
294
|
-
$mega-menu-bg: color("gray-2");
|
295
|
-
// $mega-menu-offset: calc(-1 * #{spacing('mini')});
|
296
|
-
$mega-menu-offset: 0px;
|
297
|
-
$mega-menu-type-color: type-color("normal");
|
298
|
-
$mega-menu-link-color: color("brand-1");
|
299
|
-
$mega-menu-link-hover: darken($link-color, 10%);
|
300
|
-
|
301
|
-
// buttons
|
302
|
-
$button-colors: () !default;
|
303
|
-
$button-colors: map-merge(
|
304
|
-
(
|
305
|
-
1: color("ui-1"),
|
306
|
-
2: color("brand-1"),
|
307
|
-
3: color("ui-2"),
|
308
|
-
4: color("gray-7"),
|
309
|
-
5: color("gray-3"),
|
310
|
-
),
|
311
|
-
$button-colors
|
312
|
-
);
|
313
|
-
|
314
|
-
$button-border-radius: $border-radius-base;
|
315
|
-
$button-height: 48px;
|
316
|
-
$button-small-height: 32px;
|
317
|
-
$button-font-size: font-size("sm");
|
318
|
-
$button-font-weight: font-weight("bold");
|
319
|
-
$button-border-size: 1px;
|
320
|
-
$button-inverse-bg-color: color("ui-2");
|
321
|
-
$button-inverse-color: #0d6aa8; // color('brand-2')
|
322
|
-
$button-outline-text-color: color("brand-1");
|
323
|
-
$button-outline-border-color: color("brand-1");
|
324
|
-
$button-outline-hover-color: type-color("inverse");
|
325
|
-
$button-outline-inverse-text-color: color("ui-2");
|
326
|
-
$button-outline-inverse-border-color: color("ui-2");
|
327
|
-
$button-outline-inverse-hover-color: color("brand-2");
|
328
|
-
|
329
|
-
// tooltips
|
330
|
-
$tooltip-bg: color("gray-2");
|
331
|
-
$tooltip-font-size: font-size("micro");
|
332
|
-
$tooltip-text-color: type-color("normal");
|
333
|
-
$tooltip-border-radius: $border-radius-base;
|
334
|
-
|
335
|
-
// cards
|
336
|
-
$card-bg: color("gray-2");
|
337
|
-
$card-box-shadow: box-shadow(2);
|
338
|
-
$card-border-radius: $border-radius-base;
|
339
|
-
$card-border-width: 0px;
|
340
|
-
$card-border-color: color("gray-3");
|
341
|
-
$card-font-size: font-size("sm");
|
342
|
-
|
343
|
-
// dropdowns
|
344
|
-
$dropdown-item-font-size: font-size("sm");
|
345
|
-
$dropdown-border-size: 1px;
|
346
|
-
$dropdown-border-color: color("gray-7");
|
347
|
-
$dropdown-border-radius: $border-radius-base;
|
348
|
-
$dropdown-bg: color("gray-1");
|
349
|
-
$dropdown-link-color: color("gray-9");
|
350
|
-
$dropdown-link-hover-bg: color("gray-3");
|
351
|
-
$drodown-arrow-color: color("gray-6");
|
352
|
-
$dropdown-no-link-color: color("gray-6");
|
353
|
-
$dropdown-feature-background: brand-color("ui-3");
|
354
|
-
|
355
|
-
// panels
|
356
|
-
$panel-bg: color("white");
|
357
|
-
$panel-border-color: color("gray-2");
|
358
|
-
|
359
|
-
// accordion
|
360
|
-
$accordion-font-size: font-size("sm");
|
361
|
-
$accordion-bg: color("white");
|
362
|
-
$accordion-expanded-bg: color("white");
|
363
|
-
$accordion-border-width: 0.05rem;
|
364
|
-
$accordion-border-color: color("gray-4");
|
365
|
-
$accordion-arrow-color: color("gray-4");
|
366
|
-
|
367
|
-
// breadcrumbs
|
368
|
-
$breadcrumbs-caret-color: color("brand-2");
|
369
|
-
|
370
|
-
// form inputs
|
371
|
-
$input-bg-color: color("gray-1");
|
372
|
-
$input-height: 48px;
|
373
|
-
$input-text-color: $body-font-color;
|
374
|
-
$input-font-size: font-size("sm");
|
375
|
-
$input-border-radius: $border-radius-base;
|
376
|
-
$input-border-color: color("gray-7");
|
377
|
-
$input-border-width: 1px;
|
378
|
-
|
379
|
-
$input-placeholder-color: color("gray-5");
|
380
|
-
$input-focus-border-color: color("ui-1");
|
381
|
-
$input-focus-bg-color: color("white");
|
382
|
-
|
383
|
-
$input-disabled-color: color("gray-5");
|
384
|
-
$input-disabled-border-color: color("gray-5");
|
385
|
-
$input-disabled-bg: $input-bg-color;
|
386
|
-
|
387
|
-
// forms
|
388
|
-
$form-label-font-size: font-size("sm");
|
389
|
-
$form-label-color: color("gray-9");
|
390
|
-
$form-status-message-font-size: font-size("sm");
|
391
|
-
|
392
|
-
// fieldset
|
393
|
-
$fieldset-legend-font-size: font-size("sm");
|
394
|
-
$fieldset-legend-font-weight: font-weight("bold");
|
395
|
-
|
396
|
-
// checkboxes
|
397
|
-
$checkbox-border-color: $input-border-color;
|
398
|
-
$checkbox-fill-color: color("brand-2");
|
399
|
-
|
400
|
-
// radio buttons
|
401
|
-
$radio-border-color: $input-border-color;
|
402
|
-
$radio-fill-color: color("brand-2");
|
403
|
-
|
404
|
-
// tables
|
405
|
-
$table-font-size: font-size("sm");
|
406
|
-
$table-header-bg: color("gray-2");
|
407
|
-
$table-row-bg-even: color("gray-2");
|
408
|
-
$table-row-bg-odd: transparent;
|
409
|
-
|
410
|
-
// modals
|
411
|
-
$modal-bg: color("white");
|
412
|
-
$modal-overlay-bg: color("gray-9");
|
413
|
-
$modal-font-size: font-size("sm");
|
414
|
-
|
415
|
-
// alerts
|
416
|
-
$alert-border-radius: $border-radius-base;
|
417
|
-
$alert-padding: spacing("sm");
|
418
|
-
|
419
|
-
// notifications
|
420
|
-
|
421
|
-
$noficiation-bg-color: color("gray-1");
|
422
|
-
$notification-border-radius: $border-radius-base;
|
423
|
-
|
424
|
-
// tree menu
|
425
|
-
$tree-menu-font-size: font-size("sm");
|
426
|
-
$tree-menu-link-color: color("gray-5");
|
427
|
-
$tree-menu-link-hover: color("gray-8");
|
428
|
-
|
429
|
-
// viewport breakpoints
|
430
|
-
$breakpoint-xxs: 360px;
|
431
|
-
$breakpoint-xs: 600px;
|
432
|
-
$breakpoint-sm: 960px;
|
433
|
-
$breakpoint-md: 1280px;
|
434
|
-
$breakpoint-lg: 1800px;
|
435
|
-
$breakpoint-xl: 2000px;
|
436
|
-
|
437
|
-
// YIQ contrast colors
|
438
|
-
$yiq-contrasted-dark-default: type-color("normal") !default;
|
439
|
-
$yiq-contrasted-light-default: type-color("inverse") !default;
|
440
|
-
$yiq-contrasted-threshold: 128 !default;
|
441
|
-
$yiq-debug: false !default;
|
442
|
-
|
443
|
-
// Image Filtering
|
444
|
-
$filter-gray-100: gray(100%);
|
445
|
-
|
446
|
-
// Theme Mixins
|
447
|
-
$brand-theme-text-color: color("gray-1");
|
448
|
-
$gray-theme-text-color: color("gray-7");
|
449
|
-
|
450
|
-
@mixin theme-1 {
|
451
|
-
color: color("gray-7");
|
452
|
-
}
|
453
|
-
|
454
|
-
@mixin theme-2 {
|
455
|
-
color: color("gray-7");
|
456
|
-
}
|
457
|
-
|
458
|
-
@mixin theme-3 {
|
459
|
-
color: color("gray-7");
|
460
|
-
}
|
461
|
-
|
462
|
-
@mixin theme-4 {
|
463
|
-
color: color("gray-1");
|
464
|
-
}
|
465
|
-
|
466
|
-
@mixin theme-5 {
|
467
|
-
color: color("gray-1");
|
468
|
-
}
|
469
|
-
|
470
|
-
@mixin light-theme {
|
471
|
-
background-color: color("gray-1");
|
472
|
-
color: $gray-theme-text-color;
|
473
|
-
}
|
474
|
-
|
475
|
-
@mixin dark-theme {
|
476
|
-
background-color: color("gray-2");
|
477
|
-
color: $gray-theme-text-color;
|
478
|
-
}
|
479
|
-
|
480
|
-
@mixin light-brand-theme {
|
481
|
-
background-color: color("brand-4");
|
482
|
-
color: $brand-theme-text-color;
|
483
|
-
}
|
484
|
-
|
485
|
-
@mixin dark-brand-theme {
|
486
|
-
background-color: color("brand-2");
|
487
|
-
color: $brand-theme-text-color;
|
488
|
-
}
|
489
|
-
|
490
|
-
@mixin very-dark-brand-theme {
|
491
|
-
background-color: color("brand-1");
|
492
|
-
color: $brand-theme-text-color;
|
493
|
-
}
|
494
|
-
|
495
|
-
@mixin brand-theme-text {
|
496
|
-
color: $brand-theme-text-color;
|
497
|
-
}
|
498
|
-
|
499
|
-
@mixin brand-theme-fill {
|
500
|
-
fill: $brand-theme-text-color;
|
501
|
-
}
|
502
|
-
|
503
|
-
@mixin brand-theme-border {
|
504
|
-
border-color: $brand-theme-text-color;
|
505
|
-
}
|
506
|
-
|
507
|
-
@mixin brand-theme-link-text {
|
508
|
-
color: $brand-theme-text-color !important;
|
509
|
-
}
|
510
|
-
|
511
|
-
@mixin light-brand-bg {
|
512
|
-
background-color: color("brand-4");
|
513
|
-
}
|
514
|
-
|
515
|
-
@mixin dark-brand-bg {
|
516
|
-
background-color: color("brand-2");
|
517
|
-
}
|
518
|
-
|
519
|
-
@mixin very-dark-brand-bg {
|
520
|
-
background-color: color("brand-1");
|
521
|
-
}
|
522
|
-
|
523
|
-
@mixin brand-link-text-deco {
|
524
|
-
text-decoration-color: color("gray-2") !important;
|
525
|
-
}
|
526
|
-
|
527
|
-
@mixin icon-base() {
|
528
|
-
display: inline-block;
|
529
|
-
background-repeat: no-repeat;
|
530
|
-
}
|
531
|
-
|
532
|
-
@mixin container-wrap {
|
533
|
-
padding-right: var(--outer-margin, 2rem);
|
534
|
-
padding-left: var(--outer-margin, 2rem);
|
535
|
-
box-sizing: border-box;
|
536
|
-
max-width: 64rem;
|
537
|
-
margin: 0 auto;
|
538
|
-
}
|
539
|
-
|
540
|
-
@mixin header-standard-size {
|
541
|
-
font-size: $heading-3-size;
|
542
|
-
line-height: 50px;
|
543
|
-
letter-spacing: -0.005em;
|
544
|
-
margin-bottom: 6px;
|
545
|
-
@include benton-very-bold();
|
546
|
-
}
|
547
|
-
|
548
|
-
@mixin subheader-standard-size {
|
549
|
-
font-size: $subheading-size;
|
550
|
-
letter-spacing: 0.0175em;
|
551
|
-
@include benton-light();
|
552
|
-
margin-bottom: 20px;
|
553
|
-
line-height: 27px;
|
554
|
-
}
|
555
|
-
|
556
|
-
@mixin text-standard-size {
|
557
|
-
font-size: font-size("micro");
|
558
|
-
line-height: 18px;
|
559
|
-
letter-spacing: -0.005em;
|
560
|
-
@include benton-light();
|
561
|
-
margin-bottom: 37px;
|
562
|
-
}
|
563
|
-
|
564
|
-
@mixin h1-standard-size {
|
565
|
-
@include benton-very-bold();
|
566
|
-
font-size: 12px;
|
567
|
-
line-height: 18px;
|
568
|
-
letter-spacing: 0.07em;
|
569
|
-
}
|
570
|
-
|
571
|
-
@mixin h2-standard-size {
|
572
|
-
font-size: 38px;
|
573
|
-
line-height: 43px;
|
574
|
-
@include benton-very-bold();
|
575
|
-
}
|
576
|
-
|
577
|
-
@mixin h3-standard-size {
|
578
|
-
font-size: 28px;
|
579
|
-
line-height: 34px;
|
580
|
-
font-weight: 800;
|
581
|
-
}
|
582
|
-
|
583
|
-
@mixin h4-standard-size {
|
584
|
-
font-size: 20px;
|
585
|
-
line-height: 24px;
|
586
|
-
@include benton-very-bold();
|
587
|
-
}
|
588
|
-
|
589
|
-
@mixin h5-standard-size {
|
590
|
-
font-size: 24px;
|
591
|
-
line-height: 29px;
|
592
|
-
@include benton-medium();
|
593
|
-
}
|
594
|
-
|
595
|
-
@mixin h6-standard-size {
|
596
|
-
font-size: 16px;
|
597
|
-
line-height: 29px;
|
598
|
-
@include benton-normal();
|
599
|
-
}
|
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 for Trimble W05";
|
228
|
+
$font-serif: georgia, times, serif;
|
229
|
+
$font-code: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
230
|
+
|
231
|
+
// globals
|
232
|
+
$body-bg-color: color("white");
|
233
|
+
$body-font-color: type-color("normal");
|
234
|
+
$border-radius-base: border-radius("none");
|
235
|
+
$body-font-family: $font-sans-serif;
|
236
|
+
$body-font-weight: font-weight("normal");
|
237
|
+
$selection-highlight-bg: color("brand-3");
|
238
|
+
|
239
|
+
// navigation tabs
|
240
|
+
$nav-tabs-link-color: color("gray-7");
|
241
|
+
$nav-tabs-link-hover: color("gray-9");
|
242
|
+
$nav-tabs-border-color: color("gray-7");
|
243
|
+
$nav-tabs-border-size: 2px;
|
244
|
+
$nav-tabs-link-bg: transparent;
|
245
|
+
$nav-tabs-active-link-bg: color("white");
|
246
|
+
$nav-tabs-font-weight: font-weight("bold");
|
247
|
+
|
248
|
+
// pagination
|
249
|
+
$pagination-border-hover-color: color("gray-3");
|
250
|
+
$pagination-border-active-color: color("brand-1");
|
251
|
+
|
252
|
+
// headers
|
253
|
+
$header-font-color: color("gray-8");
|
254
|
+
$header-font-family: "Benton Sans W05 Regular", $font-sans-serif;
|
255
|
+
$header-font-weight: font-weight("extra-bold");
|
256
|
+
|
257
|
+
// links
|
258
|
+
$link-color: color("ui-1");
|
259
|
+
$link-hover-color: darken($link-color, 10%);
|
260
|
+
$link-inverse-color: color("ui-2");
|
261
|
+
$link-inverse-hover-color: darken($link-inverse-color, 10%);
|
262
|
+
$link-font-weight: font-weight("normal");
|
263
|
+
|
264
|
+
// navigation bar
|
265
|
+
$navbar-height: 72px;
|
266
|
+
// set to true if using module
|
267
|
+
$has-universal-navbar: false;
|
268
|
+
$navbar-universal-height: 32px;
|
269
|
+
$navbar-bg: color("gray-2");
|
270
|
+
$navbar-logo-height: 42px;
|
271
|
+
$navbar-font-size: font-size("nano");
|
272
|
+
$navbar-link-color: color("gray-8");
|
273
|
+
$navbar-link-hover: color("gray-6");
|
274
|
+
$navbar-link-hover-bg: color("gray-0");
|
275
|
+
$navbar-link-text-transform: uppercase;
|
276
|
+
$navbar-link-font-weight: font-weight("extra-bold");
|
277
|
+
$navbar-border-width: 0px;
|
278
|
+
$navbar-border-color: color("gray-1");
|
279
|
+
$navbar-menu-icon-color: color("gray-3");
|
280
|
+
$navbar-inverse-bg: color("gray-8");
|
281
|
+
$navbar-inverse-border-color: color("gray-8");
|
282
|
+
$navbar-inverse-link-color: $link-inverse-color;
|
283
|
+
$navbar-inverse-link-hover-color: $link-inverse-hover-color;
|
284
|
+
|
285
|
+
// calculate total navbar height
|
286
|
+
$total-navbar-height: null;
|
287
|
+
@if $has-universal-navbar == false {
|
288
|
+
$total-navbar-height: $navbar-height;
|
289
|
+
} @else {
|
290
|
+
$total-navbar-height: calc(#{$navbar-height} + #{$navbar-universal-height});
|
291
|
+
}
|
292
|
+
|
293
|
+
// mega menu
|
294
|
+
$mega-menu-bg: color("gray-2");
|
295
|
+
// $mega-menu-offset: calc(-1 * #{spacing('mini')});
|
296
|
+
$mega-menu-offset: 0px;
|
297
|
+
$mega-menu-type-color: type-color("normal");
|
298
|
+
$mega-menu-link-color: color("brand-1");
|
299
|
+
$mega-menu-link-hover: darken($link-color, 10%);
|
300
|
+
|
301
|
+
// buttons
|
302
|
+
$button-colors: () !default;
|
303
|
+
$button-colors: map-merge(
|
304
|
+
(
|
305
|
+
1: color("ui-1"),
|
306
|
+
2: color("brand-1"),
|
307
|
+
3: color("ui-2"),
|
308
|
+
4: color("gray-7"),
|
309
|
+
5: color("gray-3"),
|
310
|
+
),
|
311
|
+
$button-colors
|
312
|
+
);
|
313
|
+
|
314
|
+
$button-border-radius: $border-radius-base;
|
315
|
+
$button-height: 48px;
|
316
|
+
$button-small-height: 32px;
|
317
|
+
$button-font-size: font-size("sm");
|
318
|
+
$button-font-weight: font-weight("bold");
|
319
|
+
$button-border-size: 1px;
|
320
|
+
$button-inverse-bg-color: color("ui-2");
|
321
|
+
$button-inverse-color: #0d6aa8; // color('brand-2')
|
322
|
+
$button-outline-text-color: color("brand-1");
|
323
|
+
$button-outline-border-color: color("brand-1");
|
324
|
+
$button-outline-hover-color: type-color("inverse");
|
325
|
+
$button-outline-inverse-text-color: color("ui-2");
|
326
|
+
$button-outline-inverse-border-color: color("ui-2");
|
327
|
+
$button-outline-inverse-hover-color: color("brand-2");
|
328
|
+
|
329
|
+
// tooltips
|
330
|
+
$tooltip-bg: color("gray-2");
|
331
|
+
$tooltip-font-size: font-size("micro");
|
332
|
+
$tooltip-text-color: type-color("normal");
|
333
|
+
$tooltip-border-radius: $border-radius-base;
|
334
|
+
|
335
|
+
// cards
|
336
|
+
$card-bg: color("gray-2");
|
337
|
+
$card-box-shadow: box-shadow(2);
|
338
|
+
$card-border-radius: $border-radius-base;
|
339
|
+
$card-border-width: 0px;
|
340
|
+
$card-border-color: color("gray-3");
|
341
|
+
$card-font-size: font-size("sm");
|
342
|
+
|
343
|
+
// dropdowns
|
344
|
+
$dropdown-item-font-size: font-size("sm");
|
345
|
+
$dropdown-border-size: 1px;
|
346
|
+
$dropdown-border-color: color("gray-7");
|
347
|
+
$dropdown-border-radius: $border-radius-base;
|
348
|
+
$dropdown-bg: color("gray-1");
|
349
|
+
$dropdown-link-color: color("gray-9");
|
350
|
+
$dropdown-link-hover-bg: color("gray-3");
|
351
|
+
$drodown-arrow-color: color("gray-6");
|
352
|
+
$dropdown-no-link-color: color("gray-6");
|
353
|
+
$dropdown-feature-background: brand-color("ui-3");
|
354
|
+
|
355
|
+
// panels
|
356
|
+
$panel-bg: color("white");
|
357
|
+
$panel-border-color: color("gray-2");
|
358
|
+
|
359
|
+
// accordion
|
360
|
+
$accordion-font-size: font-size("sm");
|
361
|
+
$accordion-bg: color("white");
|
362
|
+
$accordion-expanded-bg: color("white");
|
363
|
+
$accordion-border-width: 0.05rem;
|
364
|
+
$accordion-border-color: color("gray-4");
|
365
|
+
$accordion-arrow-color: color("gray-4");
|
366
|
+
|
367
|
+
// breadcrumbs
|
368
|
+
$breadcrumbs-caret-color: color("brand-2");
|
369
|
+
|
370
|
+
// form inputs
|
371
|
+
$input-bg-color: color("gray-1");
|
372
|
+
$input-height: 48px;
|
373
|
+
$input-text-color: $body-font-color;
|
374
|
+
$input-font-size: font-size("sm");
|
375
|
+
$input-border-radius: $border-radius-base;
|
376
|
+
$input-border-color: color("gray-7");
|
377
|
+
$input-border-width: 1px;
|
378
|
+
|
379
|
+
$input-placeholder-color: color("gray-5");
|
380
|
+
$input-focus-border-color: color("ui-1");
|
381
|
+
$input-focus-bg-color: color("white");
|
382
|
+
|
383
|
+
$input-disabled-color: color("gray-5");
|
384
|
+
$input-disabled-border-color: color("gray-5");
|
385
|
+
$input-disabled-bg: $input-bg-color;
|
386
|
+
|
387
|
+
// forms
|
388
|
+
$form-label-font-size: font-size("sm");
|
389
|
+
$form-label-color: color("gray-9");
|
390
|
+
$form-status-message-font-size: font-size("sm");
|
391
|
+
|
392
|
+
// fieldset
|
393
|
+
$fieldset-legend-font-size: font-size("sm");
|
394
|
+
$fieldset-legend-font-weight: font-weight("bold");
|
395
|
+
|
396
|
+
// checkboxes
|
397
|
+
$checkbox-border-color: $input-border-color;
|
398
|
+
$checkbox-fill-color: color("brand-2");
|
399
|
+
|
400
|
+
// radio buttons
|
401
|
+
$radio-border-color: $input-border-color;
|
402
|
+
$radio-fill-color: color("brand-2");
|
403
|
+
|
404
|
+
// tables
|
405
|
+
$table-font-size: font-size("sm");
|
406
|
+
$table-header-bg: color("gray-2");
|
407
|
+
$table-row-bg-even: color("gray-2");
|
408
|
+
$table-row-bg-odd: transparent;
|
409
|
+
|
410
|
+
// modals
|
411
|
+
$modal-bg: color("white");
|
412
|
+
$modal-overlay-bg: color("gray-9");
|
413
|
+
$modal-font-size: font-size("sm");
|
414
|
+
|
415
|
+
// alerts
|
416
|
+
$alert-border-radius: $border-radius-base;
|
417
|
+
$alert-padding: spacing("sm");
|
418
|
+
|
419
|
+
// notifications
|
420
|
+
|
421
|
+
$noficiation-bg-color: color("gray-1");
|
422
|
+
$notification-border-radius: $border-radius-base;
|
423
|
+
|
424
|
+
// tree menu
|
425
|
+
$tree-menu-font-size: font-size("sm");
|
426
|
+
$tree-menu-link-color: color("gray-5");
|
427
|
+
$tree-menu-link-hover: color("gray-8");
|
428
|
+
|
429
|
+
// viewport breakpoints
|
430
|
+
$breakpoint-xxs: 360px;
|
431
|
+
$breakpoint-xs: 600px;
|
432
|
+
$breakpoint-sm: 960px;
|
433
|
+
$breakpoint-md: 1280px;
|
434
|
+
$breakpoint-lg: 1800px;
|
435
|
+
$breakpoint-xl: 2000px;
|
436
|
+
|
437
|
+
// YIQ contrast colors
|
438
|
+
$yiq-contrasted-dark-default: type-color("normal") !default;
|
439
|
+
$yiq-contrasted-light-default: type-color("inverse") !default;
|
440
|
+
$yiq-contrasted-threshold: 128 !default;
|
441
|
+
$yiq-debug: false !default;
|
442
|
+
|
443
|
+
// Image Filtering
|
444
|
+
$filter-gray-100: gray(100%);
|
445
|
+
|
446
|
+
// Theme Mixins
|
447
|
+
$brand-theme-text-color: color("gray-1");
|
448
|
+
$gray-theme-text-color: color("gray-7");
|
449
|
+
|
450
|
+
@mixin theme-1 {
|
451
|
+
color: color("gray-7");
|
452
|
+
}
|
453
|
+
|
454
|
+
@mixin theme-2 {
|
455
|
+
color: color("gray-7");
|
456
|
+
}
|
457
|
+
|
458
|
+
@mixin theme-3 {
|
459
|
+
color: color("gray-7");
|
460
|
+
}
|
461
|
+
|
462
|
+
@mixin theme-4 {
|
463
|
+
color: color("gray-1");
|
464
|
+
}
|
465
|
+
|
466
|
+
@mixin theme-5 {
|
467
|
+
color: color("gray-1");
|
468
|
+
}
|
469
|
+
|
470
|
+
@mixin light-theme {
|
471
|
+
background-color: color("gray-1");
|
472
|
+
color: $gray-theme-text-color;
|
473
|
+
}
|
474
|
+
|
475
|
+
@mixin dark-theme {
|
476
|
+
background-color: color("gray-2");
|
477
|
+
color: $gray-theme-text-color;
|
478
|
+
}
|
479
|
+
|
480
|
+
@mixin light-brand-theme {
|
481
|
+
background-color: color("brand-4");
|
482
|
+
color: $brand-theme-text-color;
|
483
|
+
}
|
484
|
+
|
485
|
+
@mixin dark-brand-theme {
|
486
|
+
background-color: color("brand-2");
|
487
|
+
color: $brand-theme-text-color;
|
488
|
+
}
|
489
|
+
|
490
|
+
@mixin very-dark-brand-theme {
|
491
|
+
background-color: color("brand-1");
|
492
|
+
color: $brand-theme-text-color;
|
493
|
+
}
|
494
|
+
|
495
|
+
@mixin brand-theme-text {
|
496
|
+
color: $brand-theme-text-color;
|
497
|
+
}
|
498
|
+
|
499
|
+
@mixin brand-theme-fill {
|
500
|
+
fill: $brand-theme-text-color;
|
501
|
+
}
|
502
|
+
|
503
|
+
@mixin brand-theme-border {
|
504
|
+
border-color: $brand-theme-text-color;
|
505
|
+
}
|
506
|
+
|
507
|
+
@mixin brand-theme-link-text {
|
508
|
+
color: $brand-theme-text-color !important;
|
509
|
+
}
|
510
|
+
|
511
|
+
@mixin light-brand-bg {
|
512
|
+
background-color: color("brand-4");
|
513
|
+
}
|
514
|
+
|
515
|
+
@mixin dark-brand-bg {
|
516
|
+
background-color: color("brand-2");
|
517
|
+
}
|
518
|
+
|
519
|
+
@mixin very-dark-brand-bg {
|
520
|
+
background-color: color("brand-1");
|
521
|
+
}
|
522
|
+
|
523
|
+
@mixin brand-link-text-deco {
|
524
|
+
text-decoration-color: color("gray-2") !important;
|
525
|
+
}
|
526
|
+
|
527
|
+
@mixin icon-base() {
|
528
|
+
display: inline-block;
|
529
|
+
background-repeat: no-repeat;
|
530
|
+
}
|
531
|
+
|
532
|
+
@mixin container-wrap {
|
533
|
+
padding-right: var(--outer-margin, 2rem);
|
534
|
+
padding-left: var(--outer-margin, 2rem);
|
535
|
+
box-sizing: border-box;
|
536
|
+
max-width: 64rem;
|
537
|
+
margin: 0 auto;
|
538
|
+
}
|
539
|
+
|
540
|
+
@mixin header-standard-size {
|
541
|
+
font-size: $heading-3-size;
|
542
|
+
line-height: 50px;
|
543
|
+
letter-spacing: -0.005em;
|
544
|
+
margin-bottom: 6px;
|
545
|
+
@include benton-very-bold();
|
546
|
+
}
|
547
|
+
|
548
|
+
@mixin subheader-standard-size {
|
549
|
+
font-size: $subheading-size;
|
550
|
+
letter-spacing: 0.0175em;
|
551
|
+
@include benton-light();
|
552
|
+
margin-bottom: 20px;
|
553
|
+
line-height: 27px;
|
554
|
+
}
|
555
|
+
|
556
|
+
@mixin text-standard-size {
|
557
|
+
font-size: font-size("micro");
|
558
|
+
line-height: 18px;
|
559
|
+
letter-spacing: -0.005em;
|
560
|
+
@include benton-light();
|
561
|
+
margin-bottom: 37px;
|
562
|
+
}
|
563
|
+
|
564
|
+
@mixin h1-standard-size {
|
565
|
+
@include benton-very-bold();
|
566
|
+
font-size: 12px;
|
567
|
+
line-height: 18px;
|
568
|
+
letter-spacing: 0.07em;
|
569
|
+
}
|
570
|
+
|
571
|
+
@mixin h2-standard-size {
|
572
|
+
font-size: 38px;
|
573
|
+
line-height: 43px;
|
574
|
+
@include benton-very-bold();
|
575
|
+
}
|
576
|
+
|
577
|
+
@mixin h3-standard-size {
|
578
|
+
font-size: 28px;
|
579
|
+
line-height: 34px;
|
580
|
+
font-weight: 800;
|
581
|
+
}
|
582
|
+
|
583
|
+
@mixin h4-standard-size {
|
584
|
+
font-size: 20px;
|
585
|
+
line-height: 24px;
|
586
|
+
@include benton-very-bold();
|
587
|
+
}
|
588
|
+
|
589
|
+
@mixin h5-standard-size {
|
590
|
+
font-size: 24px;
|
591
|
+
line-height: 29px;
|
592
|
+
@include benton-medium();
|
593
|
+
}
|
594
|
+
|
595
|
+
@mixin h6-standard-size {
|
596
|
+
font-size: 16px;
|
597
|
+
line-height: 29px;
|
598
|
+
@include benton-normal();
|
599
|
+
}
|