luna-one 3.1.596 → 3.1.598

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) 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.js +3 -3
  72. package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
  73. package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
  74. package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +289 -289
  75. package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
  76. package/dist/luna/components/MobileNav/MobileNav.scss +286 -286
  77. package/dist/luna/components/NavBar/NavBar.scss +628 -628
  78. package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -245
  79. package/dist/luna/components/NavBarTop/NavBarTop.scss +403 -403
  80. package/dist/luna/components/NavSearch/NavSearch.scss +130 -130
  81. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +339 -339
  82. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -89
  83. package/dist/luna/components/OverlayNotice/OverlayNotice.scss +247 -247
  84. package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -45
  85. package/dist/luna/components/Pagination/Pagination.scss +27 -27
  86. package/dist/luna/components/ProductSummary/ProductSummary.scss +273 -273
  87. package/dist/luna/components/ProductsPackage/ProductsPackage.scss +194 -194
  88. package/dist/luna/components/ProseLayout/ProseLayout.js +7 -5
  89. package/dist/luna/components/ProseLayout/ProseLayout.scss +394 -384
  90. package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -93
  91. package/dist/luna/components/PullQuote/PullQuote.scss +400 -400
  92. package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -60
  93. package/dist/luna/components/PullQuote/ico-quote-white.svg +3 -3
  94. package/dist/luna/components/PullQuote/ico-quote.svg +3 -3
  95. package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
  96. package/dist/luna/components/ResourceGrid/ResourceGrid.scss +34 -34
  97. package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -102
  98. package/dist/luna/components/ScrollInPlace/ScrollInPlace.scss +219 -219
  99. package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -123
  100. package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.scss +142 -142
  101. package/dist/luna/components/SlideOutFeat/SlideOutFeat.scss +124 -124
  102. package/dist/luna/components/StoreFrontCard/StoreFrontCard.scss +434 -434
  103. package/dist/luna/components/SubNav/SubNav.scss +274 -274
  104. package/dist/luna/components/SuperHero/SuperHero.scss +804 -804
  105. package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -57
  106. package/dist/luna/components/SupportCard/SupportCard.scss +134 -134
  107. package/dist/luna/components/Tabs/Tabs.scss +871 -871
  108. package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -94
  109. package/dist/luna/components/TimeBasedList/TimeBasedList.scss +394 -394
  110. package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -123
  111. package/dist/luna/components/TrainerCard/TrainerCard.scss +51 -51
  112. package/dist/luna/components/TrialForm/TrialComponents/TrialSpecifics.scss +44 -44
  113. package/dist/luna/components/TrialForm/TrialComponents/TrialSummary.scss +57 -57
  114. package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.scss +28 -28
  115. package/dist/luna/components/TrialForm/images/check.svg +3 -3
  116. package/dist/luna/components/TrialForm/images/form-border-bottom-dark.svg +4 -4
  117. package/dist/luna/components/TrialForm/images/form-border-bottom-light.svg +4 -4
  118. package/dist/luna/components/TrialForm/images/form-border-top-dark.svg +4 -4
  119. package/dist/luna/components/TrialForm/images/form-border-top-light.svg +4 -4
  120. package/dist/luna/components/UnboundedCard/UnboundedCard.scss +108 -108
  121. package/dist/luna/components/UnboundedCard/playIcon.svg +17 -17
  122. package/dist/luna/components/VariableContentCard/VariableContentCard.scss +253 -253
  123. package/dist/luna/components/Video/Video.scss +209 -209
  124. package/dist/luna/components/Video/VideoDocumentation.mdx +56 -56
  125. package/dist/luna/components/VidyardModal/VidyardModal.scss +34 -34
  126. package/dist/luna/components/WaffleMenu/WaffleMenu.scss +73 -73
  127. package/dist/luna/images/arrow-diagonal-black.svg +13 -13
  128. package/dist/luna/images/arrow-diagonal-blue.svg +13 -13
  129. package/dist/luna/images/arrow-diagonal-white.svg +13 -13
  130. package/dist/luna/images/bulletpoint.svg +3 -3
  131. package/dist/luna/images/callout-icon.svg +3 -3
  132. package/dist/luna/images/carat-down.svg +3 -3
  133. package/dist/luna/images/carat-up.svg +3 -3
  134. package/dist/luna/images/check-blue.svg +4 -4
  135. package/dist/luna/images/circle-arrow-right-black.svg +3 -3
  136. package/dist/luna/images/circle-arrow-right-white.svg +3 -3
  137. package/dist/luna/images/circle-arrow.svg +3 -3
  138. package/dist/luna/images/close-blue.svg +4 -4
  139. package/dist/luna/images/close-button.svg +42 -42
  140. package/dist/luna/images/close-dark-navy.svg +3 -3
  141. package/dist/luna/images/close-icon.svg +3 -3
  142. package/dist/luna/images/close.svg +3 -3
  143. package/dist/luna/images/collapse-close-blue.svg +5 -5
  144. package/dist/luna/images/collapse-close-gold.svg +5 -5
  145. package/dist/luna/images/collapse-open-blue.svg +4 -4
  146. package/dist/luna/images/collapse-open-gold.svg +4 -4
  147. package/dist/luna/images/cross-medium-blue.svg +4 -4
  148. package/dist/luna/images/cross-medium-white.svg +5 -5
  149. package/dist/luna/images/down-caret-dark-blue.svg +4 -4
  150. package/dist/luna/images/down-caret-dark-gray.svg +4 -4
  151. package/dist/luna/images/down-caret-light-gray.svg +4 -4
  152. package/dist/luna/images/downArrow.svg +36 -36
  153. package/dist/luna/images/ellipses.svg +6 -6
  154. package/dist/luna/images/external-arrow-blue.svg +11 -11
  155. package/dist/luna/images/external-arrow-white-theme.svg +12 -12
  156. package/dist/luna/images/external-arrow.svg +12 -12
  157. package/dist/luna/images/facebook.svg +13 -13
  158. package/dist/luna/images/form-border-top-light.svg +4 -4
  159. package/dist/luna/images/frame-intersection.svg +3 -3
  160. package/dist/luna/images/gallery-image-corner-border.svg +3 -3
  161. package/dist/luna/images/green-tick.svg +3 -3
  162. package/dist/luna/images/instagram.svg +19 -19
  163. package/dist/luna/images/internal-arrow-blue.svg +15 -15
  164. package/dist/luna/images/internal-arrow-white-theme.svg +15 -15
  165. package/dist/luna/images/internal-arrow.svg +15 -15
  166. package/dist/luna/images/linkedin.svg +15 -15
  167. package/dist/luna/images/logo-icon.svg +17 -17
  168. package/dist/luna/images/pdf-doc.svg +9 -9
  169. package/dist/luna/images/play.svg +17 -17
  170. package/dist/luna/images/right-caret-dark-blue.svg +3 -3
  171. package/dist/luna/images/right-caret-light-gray.svg +4 -4
  172. package/dist/luna/images/right-caret-light-yellow-stroke.svg +9 -9
  173. package/dist/luna/images/right-caret-light-yellow.svg +4 -4
  174. package/dist/luna/images/right-caret-medium-gray.svg +4 -4
  175. package/dist/luna/images/search.svg +9 -9
  176. package/dist/luna/images/skipicon.svg +154 -154
  177. package/dist/luna/images/text-doc.svg +9 -9
  178. package/dist/luna/images/text-lines.svg +22 -22
  179. package/dist/luna/images/tooltip-close-icon.svg +3 -3
  180. package/dist/luna/images/tooltip-icon.svg +3 -3
  181. package/dist/luna/images/twitter.svg +17 -17
  182. package/dist/luna/images/up-arrow.svg +36 -36
  183. package/dist/luna/images/up-right-arrow.svg +9 -9
  184. package/dist/luna/images/user-profile.svg +37 -37
  185. package/dist/luna/images/user.svg +4 -4
  186. package/dist/luna/images/waffle.svg +11 -11
  187. package/dist/luna/images/worldwide.svg +19 -19
  188. package/dist/luna/images/youtube.svg +14 -14
  189. package/package.json +91 -91
@@ -1,46 +1,46 @@
1
- #### EventCard
2
-
3
- ###### Props -
4
-
5
- - `content` - object containing date, year, image, industry, industryLabel, name, description, link, and location
6
- - `year` - string to represent year
7
- - `date` - string to represent date
8
- - `image` - object with key value pair `url` to reprensent image path
9
- - `industry` - string to represent industry type
10
- - `industryLabel` - string to represent industry label
11
- - `name` - string to represent name of event
12
- - `description` - string to represent description of event
13
- - `location` - string to represent location of event
14
- - `link` - object with key value pair `url` to represent url path
15
-
16
- ###### Example
17
-
18
- ```
19
-
20
- const date = "Nov 18 - Nov 19";
21
- const year = "2019";
22
- const image = { url: "http://fpoimg.com/95x95" };
23
- const industry = "Construction";
24
- const industryLabel = "Industry";
25
- const name = "Test Event Two";
26
- const description =
27
- "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua consequat.";
28
- const location = "Denver, CO";
29
- const content = {
30
- date,
31
- year,
32
- image,
33
- industry,
34
- industryLabel,
35
- name,
36
- location,
37
- description,
38
- link: { url: "/wut" }
39
- };
40
-
41
- return (
42
-
43
- <EventCard content={content} />
44
- )
45
-
46
- ```
1
+ #### EventCard
2
+
3
+ ###### Props -
4
+
5
+ - `content` - object containing date, year, image, industry, industryLabel, name, description, link, and location
6
+ - `year` - string to represent year
7
+ - `date` - string to represent date
8
+ - `image` - object with key value pair `url` to reprensent image path
9
+ - `industry` - string to represent industry type
10
+ - `industryLabel` - string to represent industry label
11
+ - `name` - string to represent name of event
12
+ - `description` - string to represent description of event
13
+ - `location` - string to represent location of event
14
+ - `link` - object with key value pair `url` to represent url path
15
+
16
+ ###### Example
17
+
18
+ ```
19
+
20
+ const date = "Nov 18 - Nov 19";
21
+ const year = "2019";
22
+ const image = { url: "http://fpoimg.com/95x95" };
23
+ const industry = "Construction";
24
+ const industryLabel = "Industry";
25
+ const name = "Test Event Two";
26
+ const description =
27
+ "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua consequat.";
28
+ const location = "Denver, CO";
29
+ const content = {
30
+ date,
31
+ year,
32
+ image,
33
+ industry,
34
+ industryLabel,
35
+ name,
36
+ location,
37
+ description,
38
+ link: { url: "/wut" }
39
+ };
40
+
41
+ return (
42
+
43
+ <EventCard content={content} />
44
+ )
45
+
46
+ ```
@@ -1,80 +1,80 @@
1
- @import "../../../global-styles/terra.scss";
2
-
3
- .ter-filter-hero {
4
- padding: 0 calc((100vw - 1200px) / 2) 48px;
5
-
6
- &__header-section {
7
- max-width: 500px;
8
- padding: 100px 0 100px 100px;
9
-
10
- @media (max-width: 500px) {
11
- padding: 100px 32px;
12
- }
13
- }
14
-
15
- &__header {
16
- font-size: $heading-4-size;
17
- margin: 0;
18
- }
19
-
20
- &__text,
21
- &__text-holder p {
22
- font-size: $subheading-size;
23
- padding-top: 12px;
24
- margin: 0;
25
- }
26
-
27
- &__dropdown-container {
28
- margin-left: 100px;
29
- display: -webkit-box;
30
- display: -ms-flexbox;
31
- display: flex;
32
- -ms-flex-wrap: wrap;
33
- flex-wrap: wrap;
34
- @media (max-width: 500px) {
35
- margin-left: 32px;
36
- }
37
- }
38
-
39
- &__checkbox-container {
40
- display: -webkit-box;
41
- display: -ms-flexbox;
42
- display: flex;
43
- }
44
-
45
- &__dropdown-label {
46
- margin-bottom: 0;
47
- @include benton-medium();
48
- font-size: $large-body-font-size;
49
- }
50
-
51
- .ter-select {
52
- &__wrapper {
53
- width: 256px;
54
- margin-right: 20px;
55
- }
56
-
57
- @media (max-width: 500px) {
58
- margin: 0 0 20px 0 !important;
59
- }
60
-
61
- &__options-list {
62
- top: 50px;
63
- }
64
- }
65
-
66
- .ter-checkbox {
67
- margin: 0 20px;
68
- -ms-flex-item-align: end;
69
- align-self: flex-end;
70
-
71
- &__label {
72
- font-size: font-size("micro");
73
- padding-top: 3px;
74
-
75
- @media (max-width: 500px) {
76
- margin: 0 !important;
77
- }
78
- }
79
- }
80
- }
1
+ @import "../../../global-styles/terra.scss";
2
+
3
+ .ter-filter-hero {
4
+ padding: 0 calc((100vw - 1200px) / 2) 48px;
5
+
6
+ &__header-section {
7
+ max-width: 500px;
8
+ padding: 100px 0 100px 100px;
9
+
10
+ @media (max-width: 500px) {
11
+ padding: 100px 32px;
12
+ }
13
+ }
14
+
15
+ &__header {
16
+ font-size: $heading-4-size;
17
+ margin: 0;
18
+ }
19
+
20
+ &__text,
21
+ &__text-holder p {
22
+ font-size: $subheading-size;
23
+ padding-top: 12px;
24
+ margin: 0;
25
+ }
26
+
27
+ &__dropdown-container {
28
+ margin-left: 100px;
29
+ display: -webkit-box;
30
+ display: -ms-flexbox;
31
+ display: flex;
32
+ -ms-flex-wrap: wrap;
33
+ flex-wrap: wrap;
34
+ @media (max-width: 500px) {
35
+ margin-left: 32px;
36
+ }
37
+ }
38
+
39
+ &__checkbox-container {
40
+ display: -webkit-box;
41
+ display: -ms-flexbox;
42
+ display: flex;
43
+ }
44
+
45
+ &__dropdown-label {
46
+ margin-bottom: 0;
47
+ @include benton-medium();
48
+ font-size: $large-body-font-size;
49
+ }
50
+
51
+ .ter-select {
52
+ &__wrapper {
53
+ width: 256px;
54
+ margin-right: 20px;
55
+ }
56
+
57
+ @media (max-width: 500px) {
58
+ margin: 0 0 20px 0 !important;
59
+ }
60
+
61
+ &__options-list {
62
+ top: 50px;
63
+ }
64
+ }
65
+
66
+ .ter-checkbox {
67
+ margin: 0 20px;
68
+ -ms-flex-item-align: end;
69
+ align-self: flex-end;
70
+
71
+ &__label {
72
+ font-size: font-size("micro");
73
+ padding-top: 3px;
74
+
75
+ @media (max-width: 500px) {
76
+ margin: 0 !important;
77
+ }
78
+ }
79
+ }
80
+ }
@@ -1,176 +1,176 @@
1
- @import "../../../global-styles/terra.scss";
2
-
3
- .ter-filter-section {
4
- &__intro {
5
- max-width: 650px;
6
- margin-bottom: 48px;
7
- }
8
- &__title {
9
- font-size: $body-font-size;
10
- text-transform: uppercase;
11
- margin-bottom: 24px;
12
- }
13
- &__filters {
14
- display: flex;
15
- flex-wrap: wrap;
16
- width: 100%;
17
- grid-gap: 0 11px;
18
- align-items: center;
19
- font-size: $large-body-font-size;
20
- margin-bottom: 16px;
21
- }
22
- &__filter {
23
- &-placeholder {
24
- display: block;
25
- border-radius: 4px;
26
- border: 1px solid $trimble-dark-gray;
27
- padding: 11px 14px;
28
- color: $trimble-blue;
29
- font-weight: 500;
30
- line-height: 1;
31
- font-size: $body-font-size;
32
- cursor: pointer;
33
- &> span,
34
- &> svg {
35
- pointer-events: none;
36
- }
37
- }
38
- &-wrapper {
39
- width: 100%;
40
- position: relative;
41
- margin-bottom: 15px;
42
- @media screen and (min-width: $breakpoint-xs){
43
- max-width: 270px;
44
- }
45
- @media screen and (min-width: $breakpoint-sm) {
46
- max-width: 215px;
47
- }
48
- }
49
- &-title {
50
- font-weight: 500;
51
- margin-bottom: 5px;
52
- display: block;
53
- font-size: $body-font-size;
54
- }
55
- &-list {
56
- height: 0;
57
- border-radius: 0 0 5px 5px;
58
- border: 1px solid black;
59
- background-color: $white;
60
- max-height: 250px;
61
- overflow-y: scroll;
62
- display: block;
63
- opacity: 0;
64
- position: absolute;
65
- left: 0;
66
- right: 0;
67
- z-index: 1;
68
- visibility: hidden;
69
- &--open {
70
- height: auto;
71
- visibility: visible;
72
- opacity: 1;
73
- }
74
- }
75
- &-option {
76
- display: flex;
77
- padding: 15px;
78
- align-items: center;
79
- pointer-events: none;
80
- cursor: default;
81
- & > * {
82
- cursor: pointer;
83
- pointer-events: auto;
84
- }
85
- & + .ter-filter-section__filter-option {
86
- border-top: 1px solid $concrete-gray;
87
- }
88
- & > .ter-checkbox {
89
- padding: 0;
90
- }
91
- &--hovered {
92
- background-color: $gray--1;
93
- }
94
- }
95
- &-label {
96
- flex-grow: 1;
97
- line-height: 1;
98
- padding-left: 24px;
99
- padding-bottom: 0;
100
- font-size: $eyebrow-font-size;
101
- &:before {
102
- top: -2px;
103
- height: 14px;
104
- width: 14px;
105
- }
106
- &:after {
107
- top: 1px;
108
- height: 10px;
109
- width: 10px;
110
-
111
- }
112
- }
113
- }
114
- &__collapse-button {
115
- font-size: $body-font-size;
116
- font-weight: 700;
117
- @media screen and (max-width: $breakpoint-sm) {
118
- display: block;
119
- margin-bottom: 14px;
120
- }
121
- }
122
- &__clear {
123
- margin-top: 9px;
124
- width: 100%;
125
- &-button {
126
- font-size: $body-font-size;
127
- font-weight: 500;
128
- position: relative;
129
- cursor: pointer;
130
- display: block;
131
- padding: 0;
132
- &:after {
133
- content: "";
134
- display: block;
135
- position: absolute;
136
- bottom: 0;
137
- left: 0;
138
- right: 0;
139
- background-color: $trimble-gold;
140
- height: 2px;
141
- }
142
- &:hover:after {
143
- background-color: $trimble-dark-gray;
144
- }
145
- }
146
- }
147
- &__chevron {
148
- margin-right: 16px;
149
- &--open {
150
- transform: rotate(180deg);
151
- }
152
- }
153
- &__chips {
154
- display: flex;
155
- flex-wrap: wrap;
156
- padding: 15px 0;
157
- &> .ter-chip {
158
- margin-right: 16px;
159
- margin-bottom: 14px;
160
- font-size: $body-font-size;
161
- }
162
- }
163
- &__collapse-button {
164
- display: none;
165
- padding: 8px 10px;
166
- height: auto;
167
- line-height: 1;
168
- @media screen and (max-width: $breakpoint-xs) {
169
- display: block;
170
- }
171
- }
172
- &__collapse-wrapper {
173
- z-index: 10;
174
- position: relative;
175
- }
1
+ @import "../../../global-styles/terra.scss";
2
+
3
+ .ter-filter-section {
4
+ &__intro {
5
+ max-width: 650px;
6
+ margin-bottom: 48px;
7
+ }
8
+ &__title {
9
+ font-size: $body-font-size;
10
+ text-transform: uppercase;
11
+ margin-bottom: 24px;
12
+ }
13
+ &__filters {
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ width: 100%;
17
+ grid-gap: 0 11px;
18
+ align-items: center;
19
+ font-size: $large-body-font-size;
20
+ margin-bottom: 16px;
21
+ }
22
+ &__filter {
23
+ &-placeholder {
24
+ display: block;
25
+ border-radius: 4px;
26
+ border: 1px solid $trimble-dark-gray;
27
+ padding: 11px 14px;
28
+ color: $trimble-blue;
29
+ font-weight: 500;
30
+ line-height: 1;
31
+ font-size: $body-font-size;
32
+ cursor: pointer;
33
+ &> span,
34
+ &> svg {
35
+ pointer-events: none;
36
+ }
37
+ }
38
+ &-wrapper {
39
+ width: 100%;
40
+ position: relative;
41
+ margin-bottom: 15px;
42
+ @media screen and (min-width: $breakpoint-xs){
43
+ max-width: 270px;
44
+ }
45
+ @media screen and (min-width: $breakpoint-sm) {
46
+ max-width: 215px;
47
+ }
48
+ }
49
+ &-title {
50
+ font-weight: 500;
51
+ margin-bottom: 5px;
52
+ display: block;
53
+ font-size: $body-font-size;
54
+ }
55
+ &-list {
56
+ height: 0;
57
+ border-radius: 0 0 5px 5px;
58
+ border: 1px solid black;
59
+ background-color: $white;
60
+ max-height: 250px;
61
+ overflow-y: scroll;
62
+ display: block;
63
+ opacity: 0;
64
+ position: absolute;
65
+ left: 0;
66
+ right: 0;
67
+ z-index: 1;
68
+ visibility: hidden;
69
+ &--open {
70
+ height: auto;
71
+ visibility: visible;
72
+ opacity: 1;
73
+ }
74
+ }
75
+ &-option {
76
+ display: flex;
77
+ padding: 15px;
78
+ align-items: center;
79
+ pointer-events: none;
80
+ cursor: default;
81
+ & > * {
82
+ cursor: pointer;
83
+ pointer-events: auto;
84
+ }
85
+ & + .ter-filter-section__filter-option {
86
+ border-top: 1px solid $concrete-gray;
87
+ }
88
+ & > .ter-checkbox {
89
+ padding: 0;
90
+ }
91
+ &--hovered {
92
+ background-color: $gray--1;
93
+ }
94
+ }
95
+ &-label {
96
+ flex-grow: 1;
97
+ line-height: 1;
98
+ padding-left: 24px;
99
+ padding-bottom: 0;
100
+ font-size: $eyebrow-font-size;
101
+ &:before {
102
+ top: -2px;
103
+ height: 14px;
104
+ width: 14px;
105
+ }
106
+ &:after {
107
+ top: 1px;
108
+ height: 10px;
109
+ width: 10px;
110
+
111
+ }
112
+ }
113
+ }
114
+ &__collapse-button {
115
+ font-size: $body-font-size;
116
+ font-weight: 700;
117
+ @media screen and (max-width: $breakpoint-sm) {
118
+ display: block;
119
+ margin-bottom: 14px;
120
+ }
121
+ }
122
+ &__clear {
123
+ margin-top: 9px;
124
+ width: 100%;
125
+ &-button {
126
+ font-size: $body-font-size;
127
+ font-weight: 500;
128
+ position: relative;
129
+ cursor: pointer;
130
+ display: block;
131
+ padding: 0;
132
+ &:after {
133
+ content: "";
134
+ display: block;
135
+ position: absolute;
136
+ bottom: 0;
137
+ left: 0;
138
+ right: 0;
139
+ background-color: $trimble-gold;
140
+ height: 2px;
141
+ }
142
+ &:hover:after {
143
+ background-color: $trimble-dark-gray;
144
+ }
145
+ }
146
+ }
147
+ &__chevron {
148
+ margin-right: 16px;
149
+ &--open {
150
+ transform: rotate(180deg);
151
+ }
152
+ }
153
+ &__chips {
154
+ display: flex;
155
+ flex-wrap: wrap;
156
+ padding: 15px 0;
157
+ &> .ter-chip {
158
+ margin-right: 16px;
159
+ margin-bottom: 14px;
160
+ font-size: $body-font-size;
161
+ }
162
+ }
163
+ &__collapse-button {
164
+ display: none;
165
+ padding: 8px 10px;
166
+ height: auto;
167
+ line-height: 1;
168
+ @media screen and (max-width: $breakpoint-xs) {
169
+ display: block;
170
+ }
171
+ }
172
+ &__collapse-wrapper {
173
+ z-index: 10;
174
+ position: relative;
175
+ }
176
176
  }