luna-one 3.1.597 → 3.1.598

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. package/README.md +2315 -2315
  2. package/dist/global-styles/content/typography.scss +140 -140
  3. package/dist/global-styles/fonts/benton.scss +113 -113
  4. package/dist/global-styles/global-terra.scss +10 -10
  5. package/dist/global-styles/global-vars.scss +599 -599
  6. package/dist/global-styles/layout/_css-grid.scss +20 -20
  7. package/dist/global-styles/layout/_media-queries.scss +35 -35
  8. package/dist/global-styles/layout/_normalize.scss +340 -340
  9. package/dist/global-styles/layout/_reset.scss +13 -13
  10. package/dist/global-styles/mixins/_box-shadow.scss +6 -6
  11. package/dist/global-styles/mixins/_mixins.scss +5 -5
  12. package/dist/global-styles/mixins/_organism-padding-hack.scss +7 -7
  13. package/dist/global-styles/mixins/_typography.scss +102 -102
  14. package/dist/global-styles/mixins/_yiq.scss +50 -50
  15. package/dist/global-styles/mixins/_z-index.scss +3 -3
  16. package/dist/global-styles/terra.scss +15 -15
  17. package/dist/global-styles/utilities/_box-shadow.scss +8 -8
  18. package/dist/global-styles/utilities/_display.scss +48 -48
  19. package/dist/global-styles/utilities/_font-family.scss +15 -15
  20. package/dist/global-styles/utilities/_parallax.scss +23 -23
  21. package/dist/global-styles/utilities/_text-align.scss +24 -24
  22. package/dist/luna/components/2x2/2x2.scss +915 -915
  23. package/dist/luna/components/2x2/2x2Documentation.mdx +77 -77
  24. package/dist/luna/components/Accordion/Accordion.scss +154 -154
  25. package/dist/luna/components/Accordion/AccordionDocumentation.mdx +45 -45
  26. package/dist/luna/components/AdminCategoryData/AdminCategoryData.scss +81 -81
  27. package/dist/luna/components/AdminProductData/AdminProductData.scss +75 -75
  28. package/dist/luna/components/BlockListItems/BlockListItems.scss +285 -285
  29. package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -339
  30. package/dist/luna/components/BrowserSupportBanner/BrowserSupportBanner.scss +6 -6
  31. package/dist/luna/components/CTAButtons/CTAButtons.scss +19 -19
  32. package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -33
  33. package/dist/luna/components/Carousel/Carousel.scss +155 -155
  34. package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -161
  35. package/dist/luna/components/ComparisonTable/ComparisonTable.scss +331 -331
  36. package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -159
  37. package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -45
  38. package/dist/luna/components/CtaWithHeader/CtaWithHeader.scss +324 -324
  39. package/dist/luna/components/DataPoint/DataPoint.scss +170 -170
  40. package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -40
  41. package/dist/luna/components/EventCard/EventCard.scss +134 -134
  42. package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -46
  43. package/dist/luna/components/FilterHero/FilterHero.scss +80 -80
  44. package/dist/luna/components/FilterSection/FilterSection.scss +175 -175
  45. package/dist/luna/components/Flyout/Flyout.scss +367 -367
  46. package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -60
  47. package/dist/luna/components/Footer/Footer.scss +484 -484
  48. package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -133
  49. package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.scss +722 -722
  50. package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +93 -93
  51. package/dist/luna/components/HTMLEmbed/HTMLEmbed.scss +51 -51
  52. package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -31
  53. package/dist/luna/components/Header/Header.scss +36 -36
  54. package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -24
  55. package/dist/luna/components/IconTextList/IconTextList.scss +124 -124
  56. package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +45 -45
  57. package/dist/luna/components/ImageGallery/ImageGallery.scss +442 -442
  58. package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -90
  59. package/dist/luna/components/InPageJumpNav/InPageJumpNav.scss +122 -122
  60. package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +22 -22
  61. package/dist/luna/components/JobPosting/JobPosting.scss +171 -171
  62. package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -69
  63. package/dist/luna/components/LanguageSelector/LanguageSelector.scss +318 -318
  64. package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +119 -119
  65. package/dist/luna/components/LinkList/LinkList.scss +59 -59
  66. package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -54
  67. package/dist/luna/components/LoadingSpinner/LoadingSpinner.scss +34 -34
  68. package/dist/luna/components/Login/Login.scss +180 -180
  69. package/dist/luna/components/MarketoForm/MarketoForm.scss +56 -56
  70. package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -1
  71. package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
  72. package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
  73. package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +289 -289
  74. package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
  75. package/dist/luna/components/MobileNav/MobileNav.scss +286 -286
  76. package/dist/luna/components/NavBar/NavBar.scss +628 -628
  77. package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -245
  78. package/dist/luna/components/NavBarTop/NavBarTop.scss +403 -403
  79. package/dist/luna/components/NavSearch/NavSearch.scss +130 -130
  80. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +339 -339
  81. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -89
  82. package/dist/luna/components/OverlayNotice/OverlayNotice.scss +247 -247
  83. package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -45
  84. package/dist/luna/components/Pagination/Pagination.scss +27 -27
  85. package/dist/luna/components/ProductSummary/ProductSummary.scss +273 -273
  86. package/dist/luna/components/ProductsPackage/ProductsPackage.scss +194 -194
  87. package/dist/luna/components/ProseLayout/ProseLayout.js +7 -5
  88. package/dist/luna/components/ProseLayout/ProseLayout.scss +394 -384
  89. package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -93
  90. package/dist/luna/components/PullQuote/PullQuote.scss +400 -400
  91. package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -60
  92. package/dist/luna/components/PullQuote/ico-quote-white.svg +3 -3
  93. package/dist/luna/components/PullQuote/ico-quote.svg +3 -3
  94. package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
  95. package/dist/luna/components/ResourceGrid/ResourceGrid.scss +34 -34
  96. package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -102
  97. package/dist/luna/components/ScrollInPlace/ScrollInPlace.scss +219 -219
  98. package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -123
  99. package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.scss +142 -142
  100. package/dist/luna/components/SlideOutFeat/SlideOutFeat.scss +124 -124
  101. package/dist/luna/components/StoreFrontCard/StoreFrontCard.scss +434 -434
  102. package/dist/luna/components/SubNav/SubNav.scss +274 -274
  103. package/dist/luna/components/SuperHero/SuperHero.scss +804 -804
  104. package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -57
  105. package/dist/luna/components/SupportCard/SupportCard.scss +134 -134
  106. package/dist/luna/components/Tabs/Tabs.scss +871 -871
  107. package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -94
  108. package/dist/luna/components/TimeBasedList/TimeBasedList.scss +394 -394
  109. package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -123
  110. package/dist/luna/components/TrainerCard/TrainerCard.scss +51 -51
  111. package/dist/luna/components/TrialForm/TrialComponents/TrialSpecifics.scss +44 -44
  112. package/dist/luna/components/TrialForm/TrialComponents/TrialSummary.scss +57 -57
  113. package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.scss +28 -28
  114. package/dist/luna/components/TrialForm/images/check.svg +3 -3
  115. package/dist/luna/components/TrialForm/images/form-border-bottom-dark.svg +4 -4
  116. package/dist/luna/components/TrialForm/images/form-border-bottom-light.svg +4 -4
  117. package/dist/luna/components/TrialForm/images/form-border-top-dark.svg +4 -4
  118. package/dist/luna/components/TrialForm/images/form-border-top-light.svg +4 -4
  119. package/dist/luna/components/UnboundedCard/UnboundedCard.scss +108 -108
  120. package/dist/luna/components/UnboundedCard/playIcon.svg +17 -17
  121. package/dist/luna/components/VariableContentCard/VariableContentCard.scss +253 -253
  122. package/dist/luna/components/Video/Video.scss +209 -209
  123. package/dist/luna/components/Video/VideoDocumentation.mdx +56 -56
  124. package/dist/luna/components/VidyardModal/VidyardModal.scss +34 -34
  125. package/dist/luna/components/WaffleMenu/WaffleMenu.scss +73 -73
  126. package/dist/luna/images/arrow-diagonal-black.svg +13 -13
  127. package/dist/luna/images/arrow-diagonal-blue.svg +13 -13
  128. package/dist/luna/images/arrow-diagonal-white.svg +13 -13
  129. package/dist/luna/images/bulletpoint.svg +3 -3
  130. package/dist/luna/images/callout-icon.svg +3 -3
  131. package/dist/luna/images/carat-down.svg +3 -3
  132. package/dist/luna/images/carat-up.svg +3 -3
  133. package/dist/luna/images/check-blue.svg +4 -4
  134. package/dist/luna/images/circle-arrow-right-black.svg +3 -3
  135. package/dist/luna/images/circle-arrow-right-white.svg +3 -3
  136. package/dist/luna/images/circle-arrow.svg +3 -3
  137. package/dist/luna/images/close-blue.svg +4 -4
  138. package/dist/luna/images/close-button.svg +42 -42
  139. package/dist/luna/images/close-dark-navy.svg +3 -3
  140. package/dist/luna/images/close-icon.svg +3 -3
  141. package/dist/luna/images/close.svg +3 -3
  142. package/dist/luna/images/collapse-close-blue.svg +5 -5
  143. package/dist/luna/images/collapse-close-gold.svg +5 -5
  144. package/dist/luna/images/collapse-open-blue.svg +4 -4
  145. package/dist/luna/images/collapse-open-gold.svg +4 -4
  146. package/dist/luna/images/cross-medium-blue.svg +4 -4
  147. package/dist/luna/images/cross-medium-white.svg +5 -5
  148. package/dist/luna/images/down-caret-dark-blue.svg +4 -4
  149. package/dist/luna/images/down-caret-dark-gray.svg +4 -4
  150. package/dist/luna/images/down-caret-light-gray.svg +4 -4
  151. package/dist/luna/images/downArrow.svg +36 -36
  152. package/dist/luna/images/ellipses.svg +6 -6
  153. package/dist/luna/images/external-arrow-blue.svg +11 -11
  154. package/dist/luna/images/external-arrow-white-theme.svg +12 -12
  155. package/dist/luna/images/external-arrow.svg +12 -12
  156. package/dist/luna/images/facebook.svg +13 -13
  157. package/dist/luna/images/form-border-top-light.svg +4 -4
  158. package/dist/luna/images/frame-intersection.svg +3 -3
  159. package/dist/luna/images/gallery-image-corner-border.svg +3 -3
  160. package/dist/luna/images/green-tick.svg +3 -3
  161. package/dist/luna/images/instagram.svg +19 -19
  162. package/dist/luna/images/internal-arrow-blue.svg +15 -15
  163. package/dist/luna/images/internal-arrow-white-theme.svg +15 -15
  164. package/dist/luna/images/internal-arrow.svg +15 -15
  165. package/dist/luna/images/linkedin.svg +15 -15
  166. package/dist/luna/images/logo-icon.svg +17 -17
  167. package/dist/luna/images/pdf-doc.svg +9 -9
  168. package/dist/luna/images/play.svg +17 -17
  169. package/dist/luna/images/right-caret-dark-blue.svg +3 -3
  170. package/dist/luna/images/right-caret-light-gray.svg +4 -4
  171. package/dist/luna/images/right-caret-light-yellow-stroke.svg +9 -9
  172. package/dist/luna/images/right-caret-light-yellow.svg +4 -4
  173. package/dist/luna/images/right-caret-medium-gray.svg +4 -4
  174. package/dist/luna/images/search.svg +9 -9
  175. package/dist/luna/images/skipicon.svg +154 -154
  176. package/dist/luna/images/text-doc.svg +9 -9
  177. package/dist/luna/images/text-lines.svg +22 -22
  178. package/dist/luna/images/tooltip-close-icon.svg +3 -3
  179. package/dist/luna/images/tooltip-icon.svg +3 -3
  180. package/dist/luna/images/twitter.svg +17 -17
  181. package/dist/luna/images/up-arrow.svg +36 -36
  182. package/dist/luna/images/up-right-arrow.svg +9 -9
  183. package/dist/luna/images/user-profile.svg +37 -37
  184. package/dist/luna/images/user.svg +4 -4
  185. package/dist/luna/images/waffle.svg +11 -11
  186. package/dist/luna/images/worldwide.svg +19 -19
  187. package/dist/luna/images/youtube.svg +14 -14
  188. package/package.json +91 -91
@@ -1,60 +1,60 @@
1
- #### PullQuote
2
-
3
- ###### Props -
4
-
5
- - content **(required)** - object containing quotes, ctas, button
6
- - `quote` **(required)** - object consisting of text, source, and sourceTitle strings
7
- - `text` **(required)** - string that generates the quote text
8
- - `source` **(required)** - string that generates the text of the person who said the thing
9
- - `sourceTitle` **(required)** - string that generates the text of the source's job title
10
- - `sideImage` - This will be the side image if there is no top image
11
- - `alt` **(required)** - string that generates image accessibility text
12
- - `focalPointImage` - image object for focal point image. Consists of x & y coords along with image url.
13
- - `topImage` - This is the top image
14
- - `alt` **(required)** - string that generates image accessibility text
15
- - `focalPointImage` - image object for focal point image. Consists of x & y coords along with image url.
16
- - `cta` - object for generating a CTA below the quote
17
- - `url` - string for generating link href
18
- - `text` - string for generating CTA text
19
- - className -string that represents theme for CTA (or custom className) light themes use `primary--1` and `secondary--1`, dark themes use `primary--2` and `secondary--2`
20
- - `theme` - object with `backgroundColor`, and `color` as strings to represent hex value for background color,
21
- - `imagePosition` - This determines the side of the side image. Only if there is no top image
22
- - `imageWidth` - This determines the width of the image and quote on side image variant
23
- - `appearance` - This determines light or dark theme
24
- - variant **(required)** - This determines the type of variant to use for styling. reference storybook for all styles
25
-
26
- ###### Example -
27
-
28
- ```
29
- const content = {
30
- quote: {
31
- source: 'Gariatur Nostrud Pariatur',
32
- sourceTitle: 'TITLE OR CREDENTIALS FOR THE QUOTEE',
33
- text: '"Pull Quote can be aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat"',
34
- },
35
- cta: {
36
- className: 'primary--2',
37
- text: 'Call To Action',
38
- url: 'https://example.com',},
39
- topImage: {},
40
- sideImage: {
41
- alt: 'Image 400x580',
42
- focalPointImage: {
43
- height: 580,
44
- title: 'Image 400x580',
45
- url: '//images.ctfassets.net/citn2sn5tdjr/1PNbZmXXwO7v2iYMY1HUkU/ab464795421712604d7ee08a887e6bcb/400x580.jpg',
46
- width: 400,
47
- x: 149,
48
- y: 254,
49
- },
50
- },
51
- imagePosition: 'Left',
52
- imageWidth: '1/4',
53
- appearance: 'Dark',
54
- theme: { backgroundColor: '#252a2e', color: '#fff' },
55
- }
56
-
57
- return (
58
- <PullQuote content={content} variant="variant1" />
59
-
60
- ```
1
+ #### PullQuote
2
+
3
+ ###### Props -
4
+
5
+ - content **(required)** - object containing quotes, ctas, button
6
+ - `quote` **(required)** - object consisting of text, source, and sourceTitle strings
7
+ - `text` **(required)** - string that generates the quote text
8
+ - `source` **(required)** - string that generates the text of the person who said the thing
9
+ - `sourceTitle` **(required)** - string that generates the text of the source's job title
10
+ - `sideImage` - This will be the side image if there is no top image
11
+ - `alt` **(required)** - string that generates image accessibility text
12
+ - `focalPointImage` - image object for focal point image. Consists of x & y coords along with image url.
13
+ - `topImage` - This is the top image
14
+ - `alt` **(required)** - string that generates image accessibility text
15
+ - `focalPointImage` - image object for focal point image. Consists of x & y coords along with image url.
16
+ - `cta` - object for generating a CTA below the quote
17
+ - `url` - string for generating link href
18
+ - `text` - string for generating CTA text
19
+ - className -string that represents theme for CTA (or custom className) light themes use `primary--1` and `secondary--1`, dark themes use `primary--2` and `secondary--2`
20
+ - `theme` - object with `backgroundColor`, and `color` as strings to represent hex value for background color,
21
+ - `imagePosition` - This determines the side of the side image. Only if there is no top image
22
+ - `imageWidth` - This determines the width of the image and quote on side image variant
23
+ - `appearance` - This determines light or dark theme
24
+ - variant **(required)** - This determines the type of variant to use for styling. reference storybook for all styles
25
+
26
+ ###### Example -
27
+
28
+ ```
29
+ const content = {
30
+ quote: {
31
+ source: 'Gariatur Nostrud Pariatur',
32
+ sourceTitle: 'TITLE OR CREDENTIALS FOR THE QUOTEE',
33
+ text: '"Pull Quote can be aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat"',
34
+ },
35
+ cta: {
36
+ className: 'primary--2',
37
+ text: 'Call To Action',
38
+ url: 'https://example.com',},
39
+ topImage: {},
40
+ sideImage: {
41
+ alt: 'Image 400x580',
42
+ focalPointImage: {
43
+ height: 580,
44
+ title: 'Image 400x580',
45
+ url: '//images.ctfassets.net/citn2sn5tdjr/1PNbZmXXwO7v2iYMY1HUkU/ab464795421712604d7ee08a887e6bcb/400x580.jpg',
46
+ width: 400,
47
+ x: 149,
48
+ y: 254,
49
+ },
50
+ },
51
+ imagePosition: 'Left',
52
+ imageWidth: '1/4',
53
+ appearance: 'Dark',
54
+ theme: { backgroundColor: '#252a2e', color: '#fff' },
55
+ }
56
+
57
+ return (
58
+ <PullQuote content={content} variant="variant1" />
59
+
60
+ ```
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="15" viewBox="0 0 24 15">
2
- <path fill="#f9f9fb" d="M13.0023202,246.643632 C13.4106749,244.91562 14.083522,242.746142 15.0208817,240.135135 C15.9582413,237.524128 16.9187886,235.145773 17.9025522,233 L24,233 C22.7749359,238.070101 21.8375903,242.826811 21.187935,247.27027 L13.3921114,247.27027 L13.0023202,246.643632 Z M0,246.643632 C0.40835471,244.91562 1.08120181,242.746142 2.01856148,240.135135 C2.95592116,237.524128 3.9164684,235.145773 4.90023202,233 L10.9976798,233 C9.77261568,238.070101 8.83527007,242.826811 8.18561485,247.27027 L0.389791183,247.27027 L0,246.643632 Z" transform="translate(0 -233)"/>
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="15" viewBox="0 0 24 15">
2
+ <path fill="#f9f9fb" d="M13.0023202,246.643632 C13.4106749,244.91562 14.083522,242.746142 15.0208817,240.135135 C15.9582413,237.524128 16.9187886,235.145773 17.9025522,233 L24,233 C22.7749359,238.070101 21.8375903,242.826811 21.187935,247.27027 L13.3921114,247.27027 L13.0023202,246.643632 Z M0,246.643632 C0.40835471,244.91562 1.08120181,242.746142 2.01856148,240.135135 C2.95592116,237.524128 3.9164684,235.145773 4.90023202,233 L10.9976798,233 C9.77261568,238.070101 8.83527007,242.826811 8.18561485,247.27027 L0.389791183,247.27027 L0,246.643632 Z" transform="translate(0 -233)"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="15" viewBox="0 0 24 15">
2
- <path fill="#363545" d="M13.0023202,246.643632 C13.4106749,244.91562 14.083522,242.746142 15.0208817,240.135135 C15.9582413,237.524128 16.9187886,235.145773 17.9025522,233 L24,233 C22.7749359,238.070101 21.8375903,242.826811 21.187935,247.27027 L13.3921114,247.27027 L13.0023202,246.643632 Z M0,246.643632 C0.40835471,244.91562 1.08120181,242.746142 2.01856148,240.135135 C2.95592116,237.524128 3.9164684,235.145773 4.90023202,233 L10.9976798,233 C9.77261568,238.070101 8.83527007,242.826811 8.18561485,247.27027 L0.389791183,247.27027 L0,246.643632 Z" transform="translate(0 -233)"/>
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="15" viewBox="0 0 24 15">
2
+ <path fill="#363545" d="M13.0023202,246.643632 C13.4106749,244.91562 14.083522,242.746142 15.0208817,240.135135 C15.9582413,237.524128 16.9187886,235.145773 17.9025522,233 L24,233 C22.7749359,238.070101 21.8375903,242.826811 21.187935,247.27027 L13.3921114,247.27027 L13.0023202,246.643632 Z M0,246.643632 C0.40835471,244.91562 1.08120181,242.746142 2.01856148,240.135135 C2.95592116,237.524128 3.9164684,235.145773 4.90023202,233 L10.9976798,233 C9.77261568,238.070101 8.83527007,242.826811 8.18561485,247.27027 L0.389791183,247.27027 L0,246.643632 Z" transform="translate(0 -233)"/>
3
+ </svg>
@@ -1,86 +1,86 @@
1
- @import "../../../global-styles/terra.scss";
2
-
3
- .luna-region-card {
4
- width: 230px;
5
-
6
- // border: solid 2px rgba(0, 0, 0, 0.4);
7
- font-size: $eyebrow-font-size;
8
- margin: 0 auto 20px;
9
-
10
- &__region {
11
- font-size: $eyebrow-font-size;
12
- @include benton-medium();
13
- margin: 0;
14
- height: 30px;
15
- line-height: 30px;
16
- padding-left: 8px;
17
- background: $trimble-blue;
18
- color: $concrete-gray-1;
19
- border-top: solid $trimble-blue 2px;
20
- border-left: solid $trimble-blue 2px;
21
- border-right: solid $trimble-blue 2px;
22
- }
23
-
24
- &__language {
25
- list-style: none;
26
- cursor: pointer;
27
- padding: 4px 0;
28
-
29
- &:hover {
30
- color: $mep-blue-2;
31
- }
32
- }
33
- ul {
34
- margin: 0;
35
- padding-top: 8px;
36
- padding-bottom: 8px;
37
- border-bottom: solid $concrete-gray 2px;
38
- border-left: solid $concrete-gray 2px;
39
- border-right: solid $concrete-gray 2px;
40
- background: $concrete-gray;
41
- }
42
-
43
- &:hover {
44
- ul {
45
- border-bottom: solid $trimble-blue 2px;
46
- border-left: solid $trimble-blue 2px;
47
- border-right: solid $trimble-blue 2px;
48
- }
49
-
50
- .luna-region-card__region {
51
- // background: $mep-blue-2;
52
- border-top: solid $trimble-blue 2px;
53
- border-left: solid $trimble-blue 2px;
54
- border-right: solid $trimble-blue 2px;
55
- }
56
- }
57
-
58
- &--inactive {
59
- // border: solid 2px rgba(0, 0, 0, 0.2);
60
-
61
- .luna-region-card__region {
62
- background: $concrete-gray;
63
- border-top: solid $concrete-gray 2px;
64
- border-left: solid $concrete-gray 2px;
65
- border-right: solid $concrete-gray 2px;
66
- color: color("gray-7");
67
- }
68
-
69
- .luna-region-card__language {
70
- // color: rgba(0, 0, 0, 0.2);
71
- }
72
- }
73
-
74
- &__language--is-active {
75
- &:before {
76
- content: "•";
77
- font-size: 300%; /* or whatever */
78
- line-height: 0px;
79
- position: absolute;
80
- top: 12px;
81
- left: -20px;
82
- }
83
- color: $trimble-blue;
84
- position: relative;
85
- }
86
- }
1
+ @import "../../../global-styles/terra.scss";
2
+
3
+ .luna-region-card {
4
+ width: 230px;
5
+
6
+ // border: solid 2px rgba(0, 0, 0, 0.4);
7
+ font-size: $eyebrow-font-size;
8
+ margin: 0 auto 20px;
9
+
10
+ &__region {
11
+ font-size: $eyebrow-font-size;
12
+ @include benton-medium();
13
+ margin: 0;
14
+ height: 30px;
15
+ line-height: 30px;
16
+ padding-left: 8px;
17
+ background: $trimble-blue;
18
+ color: $concrete-gray-1;
19
+ border-top: solid $trimble-blue 2px;
20
+ border-left: solid $trimble-blue 2px;
21
+ border-right: solid $trimble-blue 2px;
22
+ }
23
+
24
+ &__language {
25
+ list-style: none;
26
+ cursor: pointer;
27
+ padding: 4px 0;
28
+
29
+ &:hover {
30
+ color: $mep-blue-2;
31
+ }
32
+ }
33
+ ul {
34
+ margin: 0;
35
+ padding-top: 8px;
36
+ padding-bottom: 8px;
37
+ border-bottom: solid $concrete-gray 2px;
38
+ border-left: solid $concrete-gray 2px;
39
+ border-right: solid $concrete-gray 2px;
40
+ background: $concrete-gray;
41
+ }
42
+
43
+ &:hover {
44
+ ul {
45
+ border-bottom: solid $trimble-blue 2px;
46
+ border-left: solid $trimble-blue 2px;
47
+ border-right: solid $trimble-blue 2px;
48
+ }
49
+
50
+ .luna-region-card__region {
51
+ // background: $mep-blue-2;
52
+ border-top: solid $trimble-blue 2px;
53
+ border-left: solid $trimble-blue 2px;
54
+ border-right: solid $trimble-blue 2px;
55
+ }
56
+ }
57
+
58
+ &--inactive {
59
+ // border: solid 2px rgba(0, 0, 0, 0.2);
60
+
61
+ .luna-region-card__region {
62
+ background: $concrete-gray;
63
+ border-top: solid $concrete-gray 2px;
64
+ border-left: solid $concrete-gray 2px;
65
+ border-right: solid $concrete-gray 2px;
66
+ color: color("gray-7");
67
+ }
68
+
69
+ .luna-region-card__language {
70
+ // color: rgba(0, 0, 0, 0.2);
71
+ }
72
+ }
73
+
74
+ &__language--is-active {
75
+ &:before {
76
+ content: "•";
77
+ font-size: 300%; /* or whatever */
78
+ line-height: 0px;
79
+ position: absolute;
80
+ top: 12px;
81
+ left: -20px;
82
+ }
83
+ color: $trimble-blue;
84
+ position: relative;
85
+ }
86
+ }
@@ -1,35 +1,35 @@
1
- @import "../../../global-styles/terra.scss";
2
- .luna-resource-grid {
3
- display: grid;
4
- grid-template-columns: 1fr;
5
- row-gap: 45px;
6
- grid-gap: 32px;
7
- padding: 80px 0;
8
- justify-items: center;
9
-
10
- @media screen and (max-width: $breakpoint-md) {
11
- padding: 40px 0 ;
12
- }
13
-
14
- .ter-bounded-card {
15
- width: 100%;
16
- max-width: 350px;
17
- &__header {
18
- flex: 1;
19
- }
20
- }
21
-
22
- &__load-more {
23
- display: flex;
24
- justify-content: center;
25
- padding-bottom: 80px;
26
- }
27
-
28
- @media screen and (min-width: $breakpoint-xs){
29
- grid-template-columns: repeat(2, 1fr);
30
- }
31
-
32
- @media screen and (min-width: $breakpoint-sm){
33
- grid-template-columns: repeat(3, 1fr);
34
- }
1
+ @import "../../../global-styles/terra.scss";
2
+ .luna-resource-grid {
3
+ display: grid;
4
+ grid-template-columns: 1fr;
5
+ row-gap: 45px;
6
+ grid-gap: 32px;
7
+ padding: 80px 0;
8
+ justify-items: center;
9
+
10
+ @media screen and (max-width: $breakpoint-md) {
11
+ padding: 40px 0 ;
12
+ }
13
+
14
+ .ter-bounded-card {
15
+ width: 100%;
16
+ max-width: 350px;
17
+ &__header {
18
+ flex: 1;
19
+ }
20
+ }
21
+
22
+ &__load-more {
23
+ display: flex;
24
+ justify-content: center;
25
+ padding-bottom: 80px;
26
+ }
27
+
28
+ @media screen and (min-width: $breakpoint-xs){
29
+ grid-template-columns: repeat(2, 1fr);
30
+ }
31
+
32
+ @media screen and (min-width: $breakpoint-sm){
33
+ grid-template-columns: repeat(3, 1fr);
34
+ }
35
35
  }
@@ -1,102 +1,102 @@
1
- #### Resource Grid
2
-
3
- ###### Props -
4
- - `content` **(required)** - object containing content for the selected block type, fields vary based on type - see individual sub-components for details
5
-
6
- ###### Example -
7
-
8
- ```
9
- const CardImage = "../images/dummy-image.png";
10
- const content = [
11
- {
12
- image: { src: CardImage, altText: "FPO Image" },
13
- eyebrow: "Eyebrow Option",
14
- header: "Article title lorem ipsum dolor sit amet.",
15
- cardLink: {
16
- url: "/resource-center/blog-1",
17
- text: "Learn more",
18
- },
19
- },
20
- {
21
- image: { src: CardImage, altText: "FPO Image" },
22
- eyebrow: "Eyebrow Option",
23
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
24
- cardLink: {
25
- url: "/resource-center/blog-1",
26
- text: "Learn more",
27
- },
28
- },
29
- {
30
- image: { src: CardImage, altText: "FPO Image" },
31
- eyebrow: "Eyebrow Option",
32
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
33
- cardLink: {
34
- url: "/resource-center/blog-1",
35
- text: "Learn more",
36
- },
37
- },
38
- {
39
- image: { src: CardImage, altText: "FPO Image" },
40
- eyebrow: "Eyebrow Option",
41
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
42
- cardLink: {
43
- url: "/resource-center/blog-1",
44
- text: "Learn more",
45
- },
46
- },
47
- {
48
- image: { src: CardImage, altText: "FPO Image" },
49
- eyebrow: "Eyebrow Option",
50
- header: "Article title lorem ipsum dolor sit amet.",
51
- cardLink: {
52
- url: "/resource-center/blog-1",
53
- text: "Learn more",
54
- },
55
- },
56
- {
57
- image: { src: CardImage, altText: "FPO Image" },
58
- eyebrow: "Eyebrow Option",
59
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
60
- cardLink: {
61
- url: "/resource-center/blog-1",
62
- text: "Learn more",
63
- },
64
- },
65
- {
66
- image: { src: CardImage, altText: "FPO Image" },
67
- eyebrow: "Eyebrow Option",
68
- header: "Article title lorem ipsum dolor sit amet.",
69
- cardLink: {
70
- url: "/resource-center/blog-1",
71
- text: "Learn more",
72
- },
73
- },
74
- {
75
- image: { src: CardImage, altText: "FPO Image" },
76
- eyebrow: "Eyebrow Option",
77
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
78
- cardLink: {
79
- url: "/resource-center/blog-1",
80
- text: "Learn more",
81
- },
82
- },
83
- {
84
- image: { src: CardImage, altText: "FPO Image" },
85
- eyebrow: "Eyebrow Option",
86
- header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
87
- cardLink: {
88
- url: "/resource-center/blog-1",
89
- text: "Learn more",
90
- },
91
- },
92
- ];
93
-
94
- export const Default = () => (
95
- <div style={{ maxWidth: "1400px", margin: "0 auto" }}>
96
- <ResourceGrid
97
- content={content}
98
- />
99
- </div>
100
- );
101
-
102
- ```
1
+ #### Resource Grid
2
+
3
+ ###### Props -
4
+ - `content` **(required)** - object containing content for the selected block type, fields vary based on type - see individual sub-components for details
5
+
6
+ ###### Example -
7
+
8
+ ```
9
+ const CardImage = "../images/dummy-image.png";
10
+ const content = [
11
+ {
12
+ image: { src: CardImage, altText: "FPO Image" },
13
+ eyebrow: "Eyebrow Option",
14
+ header: "Article title lorem ipsum dolor sit amet.",
15
+ cardLink: {
16
+ url: "/resource-center/blog-1",
17
+ text: "Learn more",
18
+ },
19
+ },
20
+ {
21
+ image: { src: CardImage, altText: "FPO Image" },
22
+ eyebrow: "Eyebrow Option",
23
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
24
+ cardLink: {
25
+ url: "/resource-center/blog-1",
26
+ text: "Learn more",
27
+ },
28
+ },
29
+ {
30
+ image: { src: CardImage, altText: "FPO Image" },
31
+ eyebrow: "Eyebrow Option",
32
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
33
+ cardLink: {
34
+ url: "/resource-center/blog-1",
35
+ text: "Learn more",
36
+ },
37
+ },
38
+ {
39
+ image: { src: CardImage, altText: "FPO Image" },
40
+ eyebrow: "Eyebrow Option",
41
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
42
+ cardLink: {
43
+ url: "/resource-center/blog-1",
44
+ text: "Learn more",
45
+ },
46
+ },
47
+ {
48
+ image: { src: CardImage, altText: "FPO Image" },
49
+ eyebrow: "Eyebrow Option",
50
+ header: "Article title lorem ipsum dolor sit amet.",
51
+ cardLink: {
52
+ url: "/resource-center/blog-1",
53
+ text: "Learn more",
54
+ },
55
+ },
56
+ {
57
+ image: { src: CardImage, altText: "FPO Image" },
58
+ eyebrow: "Eyebrow Option",
59
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
60
+ cardLink: {
61
+ url: "/resource-center/blog-1",
62
+ text: "Learn more",
63
+ },
64
+ },
65
+ {
66
+ image: { src: CardImage, altText: "FPO Image" },
67
+ eyebrow: "Eyebrow Option",
68
+ header: "Article title lorem ipsum dolor sit amet.",
69
+ cardLink: {
70
+ url: "/resource-center/blog-1",
71
+ text: "Learn more",
72
+ },
73
+ },
74
+ {
75
+ image: { src: CardImage, altText: "FPO Image" },
76
+ eyebrow: "Eyebrow Option",
77
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
78
+ cardLink: {
79
+ url: "/resource-center/blog-1",
80
+ text: "Learn more",
81
+ },
82
+ },
83
+ {
84
+ image: { src: CardImage, altText: "FPO Image" },
85
+ eyebrow: "Eyebrow Option",
86
+ header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
87
+ cardLink: {
88
+ url: "/resource-center/blog-1",
89
+ text: "Learn more",
90
+ },
91
+ },
92
+ ];
93
+
94
+ export const Default = () => (
95
+ <div style={{ maxWidth: "1400px", margin: "0 auto" }}>
96
+ <ResourceGrid
97
+ content={content}
98
+ />
99
+ </div>
100
+ );
101
+
102
+ ```