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,210 +1,210 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.videoContainer {
|
4
|
-
width: 100%;
|
5
|
-
&--deployed {
|
6
|
-
z-index: 20;
|
7
|
-
}
|
8
|
-
#video-modal:focus-within {
|
9
|
-
outline: none;
|
10
|
-
}
|
11
|
-
|
12
|
-
.luna-super-hero {
|
13
|
-
|
14
|
-
&__thumbnail {
|
15
|
-
-webkit-box-sizing: border-box;
|
16
|
-
box-sizing: border-box;
|
17
|
-
width: 100%;
|
18
|
-
height: 100%;
|
19
|
-
object-fit: cover;
|
20
|
-
margin: auto;
|
21
|
-
-webkit-transition: 0.2s;
|
22
|
-
-o-transition: 0.2s;
|
23
|
-
transition: 0.2s;
|
24
|
-
|
25
|
-
&--is-hovering {
|
26
|
-
-webkit-transform: scale(1.03);
|
27
|
-
transform: scale(1.03);
|
28
|
-
cursor: pointer;
|
29
|
-
}
|
30
|
-
|
31
|
-
@media screen and (max-width: $breakpoint-sm) {
|
32
|
-
padding: 0;
|
33
|
-
}
|
34
|
-
|
35
|
-
&-container {
|
36
|
-
-webkit-box-flex: 7;
|
37
|
-
flex: 7;
|
38
|
-
position: relative;
|
39
|
-
width: 100%;
|
40
|
-
height: 100%;
|
41
|
-
@media screen and (max-width: $breakpoint-sm) {
|
42
|
-
max-width: 100vw;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
&__play-btn {
|
48
|
-
height: 72px;
|
49
|
-
position: absolute;
|
50
|
-
top: 0;
|
51
|
-
bottom: 0;
|
52
|
-
left: 0;
|
53
|
-
right: 0;
|
54
|
-
margin: auto;
|
55
|
-
}
|
56
|
-
|
57
|
-
&__play-btn:hover {
|
58
|
-
-webkit-transform: scale(1.2);
|
59
|
-
transform: scale(1.2);
|
60
|
-
cursor: pointer;
|
61
|
-
}
|
62
|
-
|
63
|
-
&__video-wrapper {
|
64
|
-
position: relative;
|
65
|
-
bottom: 55px;
|
66
|
-
-webkit-transition: 0.3s;
|
67
|
-
-o-transition: 0.3s;
|
68
|
-
transistion: 0.3s;
|
69
|
-
-webkit-transform: translateY(50px);
|
70
|
-
transform: translateY(50px);
|
71
|
-
|
72
|
-
&--default {
|
73
|
-
padding-bottom: 56.25%;
|
74
|
-
padding-top: 25px;
|
75
|
-
height: 0;
|
76
|
-
}
|
77
|
-
|
78
|
-
&--is-deployed {
|
79
|
-
-webkit-transform: translateY(0);
|
80
|
-
transform: translateY(0);
|
81
|
-
}
|
82
|
-
|
83
|
-
iframe {
|
84
|
-
position: absolute;
|
85
|
-
top: -55px;
|
86
|
-
bottom: 0px;
|
87
|
-
left: 0;
|
88
|
-
right: 0;
|
89
|
-
max-width: 50%;
|
90
|
-
max-height: 50%;
|
91
|
-
margin: 100px auto 0;
|
92
|
-
|
93
|
-
@media screen and (max-width: $breakpoint-lg) {
|
94
|
-
max-width: 1200px;
|
95
|
-
max-height: 675px;
|
96
|
-
}
|
97
|
-
}
|
98
|
-
}
|
99
|
-
|
100
|
-
&__video-close-wrapper {
|
101
|
-
cursor: pointer;
|
102
|
-
height: 100px;
|
103
|
-
display: flex;
|
104
|
-
justify-content: flex-end;
|
105
|
-
}
|
106
|
-
|
107
|
-
&__close-button {
|
108
|
-
margin: 20px 50px 12px 50px;
|
109
|
-
|
110
|
-
@media screen and (max-width: 1300px) {
|
111
|
-
margin: 20px 40px 0px 0px;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
&__modal {
|
116
|
-
overflow: scroll;
|
117
|
-
position: fixed;
|
118
|
-
background: rgba(0, 0, 0, 0.7);
|
119
|
-
z-index: 100;
|
120
|
-
top: 0;
|
121
|
-
left: 0;
|
122
|
-
-webkit-transition: 0.3s;
|
123
|
-
-o-transition: 0.3s;
|
124
|
-
transition: 0.3s;
|
125
|
-
opacity: 0;
|
126
|
-
-webkit-animation: fade-in 0.5s linear;
|
127
|
-
animation: fade-in 0.5s linear;
|
128
|
-
height: 100%;
|
129
|
-
width: 100%;
|
130
|
-
scrollbar-width: none;
|
131
|
-
|
132
|
-
&--is-deployed {
|
133
|
-
opacity: 1;
|
134
|
-
visibility: visible;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
.luna-super-hero__modal::-webkit-scrollbar {
|
140
|
-
display: none;
|
141
|
-
}
|
142
|
-
|
143
|
-
.luna-super-hero__transcript-title {
|
144
|
-
position: fixed;
|
145
|
-
padding: 0 8px 8px;
|
146
|
-
background-color: rgba(0, 0, 0, 0.7);
|
147
|
-
z-index: 100;
|
148
|
-
cursor: pointer;
|
149
|
-
color: $white;
|
150
|
-
padding: 4px 15px;
|
151
|
-
}
|
152
|
-
|
153
|
-
.luna-super-hero__transcript-body {
|
154
|
-
position: relative;
|
155
|
-
top: 40px;
|
156
|
-
padding: 10px 15px;
|
157
|
-
min-height: 300px;
|
158
|
-
background-color: rgba(0, 0, 0, 0.7);
|
159
|
-
color: $white;
|
160
|
-
}
|
161
|
-
|
162
|
-
.luna-super-hero__transcript-wrapper {
|
163
|
-
position: relative;
|
164
|
-
top: calc(100vw / 3.3);
|
165
|
-
max-width: 1200px;
|
166
|
-
margin: 0 auto;
|
167
|
-
scrollbar-width: none;
|
168
|
-
|
169
|
-
&--true {
|
170
|
-
top: calc(100vw / -5) !important;
|
171
|
-
|
172
|
-
@media screen and (max-width: $breakpoint-lg) and (min-height: $breakpoint-lg) {
|
173
|
-
top: 0px !important;
|
174
|
-
}
|
175
|
-
|
176
|
-
@media screen and (min-height: $breakpoint-md) and (min-width: $breakpoint-md) and (max-width: $breakpoint-lg) {
|
177
|
-
top: -10px !important;
|
178
|
-
}
|
179
|
-
|
180
|
-
@media screen and (max-width: $breakpoint-lg) and (max-height: $breakpoint-md) {
|
181
|
-
margin-top: 100px;
|
182
|
-
}
|
183
|
-
|
184
|
-
@media screen and (max-width: 1600px) and (max-height: $breakpoint-md) {
|
185
|
-
margin-top: 200px;
|
186
|
-
}
|
187
|
-
|
188
|
-
@media screen and (max-width: $breakpoint-md) and (max-height: $breakpoint-md) {
|
189
|
-
max-height: 200px !important;
|
190
|
-
}
|
191
|
-
}
|
192
|
-
|
193
|
-
@media screen and (max-height: $breakpoint-sm) and (min-width: $breakpoint-sm) {
|
194
|
-
max-height: 200px;
|
195
|
-
}
|
196
|
-
|
197
|
-
@media screen and (max-width: $breakpoint-lg) {
|
198
|
-
top: 710px;
|
199
|
-
}
|
200
|
-
|
201
|
-
@media screen and (max-width: $breakpoint-sm) {
|
202
|
-
top: calc(100vw / 1.5);
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
.luna-super-hero__transcript-wrapper::-webkit-scrollbar {
|
207
|
-
display: none;
|
208
|
-
}
|
209
|
-
|
1
|
+
@import "../../../global-styles/terra.scss";
|
2
|
+
|
3
|
+
.videoContainer {
|
4
|
+
width: 100%;
|
5
|
+
&--deployed {
|
6
|
+
z-index: 20;
|
7
|
+
}
|
8
|
+
#video-modal:focus-within {
|
9
|
+
outline: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
.luna-super-hero {
|
13
|
+
|
14
|
+
&__thumbnail {
|
15
|
+
-webkit-box-sizing: border-box;
|
16
|
+
box-sizing: border-box;
|
17
|
+
width: 100%;
|
18
|
+
height: 100%;
|
19
|
+
object-fit: cover;
|
20
|
+
margin: auto;
|
21
|
+
-webkit-transition: 0.2s;
|
22
|
+
-o-transition: 0.2s;
|
23
|
+
transition: 0.2s;
|
24
|
+
|
25
|
+
&--is-hovering {
|
26
|
+
-webkit-transform: scale(1.03);
|
27
|
+
transform: scale(1.03);
|
28
|
+
cursor: pointer;
|
29
|
+
}
|
30
|
+
|
31
|
+
@media screen and (max-width: $breakpoint-sm) {
|
32
|
+
padding: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
&-container {
|
36
|
+
-webkit-box-flex: 7;
|
37
|
+
flex: 7;
|
38
|
+
position: relative;
|
39
|
+
width: 100%;
|
40
|
+
height: 100%;
|
41
|
+
@media screen and (max-width: $breakpoint-sm) {
|
42
|
+
max-width: 100vw;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
&__play-btn {
|
48
|
+
height: 72px;
|
49
|
+
position: absolute;
|
50
|
+
top: 0;
|
51
|
+
bottom: 0;
|
52
|
+
left: 0;
|
53
|
+
right: 0;
|
54
|
+
margin: auto;
|
55
|
+
}
|
56
|
+
|
57
|
+
&__play-btn:hover {
|
58
|
+
-webkit-transform: scale(1.2);
|
59
|
+
transform: scale(1.2);
|
60
|
+
cursor: pointer;
|
61
|
+
}
|
62
|
+
|
63
|
+
&__video-wrapper {
|
64
|
+
position: relative;
|
65
|
+
bottom: 55px;
|
66
|
+
-webkit-transition: 0.3s;
|
67
|
+
-o-transition: 0.3s;
|
68
|
+
transistion: 0.3s;
|
69
|
+
-webkit-transform: translateY(50px);
|
70
|
+
transform: translateY(50px);
|
71
|
+
|
72
|
+
&--default {
|
73
|
+
padding-bottom: 56.25%;
|
74
|
+
padding-top: 25px;
|
75
|
+
height: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
&--is-deployed {
|
79
|
+
-webkit-transform: translateY(0);
|
80
|
+
transform: translateY(0);
|
81
|
+
}
|
82
|
+
|
83
|
+
iframe {
|
84
|
+
position: absolute;
|
85
|
+
top: -55px;
|
86
|
+
bottom: 0px;
|
87
|
+
left: 0;
|
88
|
+
right: 0;
|
89
|
+
max-width: 50%;
|
90
|
+
max-height: 50%;
|
91
|
+
margin: 100px auto 0;
|
92
|
+
|
93
|
+
@media screen and (max-width: $breakpoint-lg) {
|
94
|
+
max-width: 1200px;
|
95
|
+
max-height: 675px;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
&__video-close-wrapper {
|
101
|
+
cursor: pointer;
|
102
|
+
height: 100px;
|
103
|
+
display: flex;
|
104
|
+
justify-content: flex-end;
|
105
|
+
}
|
106
|
+
|
107
|
+
&__close-button {
|
108
|
+
margin: 20px 50px 12px 50px;
|
109
|
+
|
110
|
+
@media screen and (max-width: 1300px) {
|
111
|
+
margin: 20px 40px 0px 0px;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
&__modal {
|
116
|
+
overflow: scroll;
|
117
|
+
position: fixed;
|
118
|
+
background: rgba(0, 0, 0, 0.7);
|
119
|
+
z-index: 100;
|
120
|
+
top: 0;
|
121
|
+
left: 0;
|
122
|
+
-webkit-transition: 0.3s;
|
123
|
+
-o-transition: 0.3s;
|
124
|
+
transition: 0.3s;
|
125
|
+
opacity: 0;
|
126
|
+
-webkit-animation: fade-in 0.5s linear;
|
127
|
+
animation: fade-in 0.5s linear;
|
128
|
+
height: 100%;
|
129
|
+
width: 100%;
|
130
|
+
scrollbar-width: none;
|
131
|
+
|
132
|
+
&--is-deployed {
|
133
|
+
opacity: 1;
|
134
|
+
visibility: visible;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.luna-super-hero__modal::-webkit-scrollbar {
|
140
|
+
display: none;
|
141
|
+
}
|
142
|
+
|
143
|
+
.luna-super-hero__transcript-title {
|
144
|
+
position: fixed;
|
145
|
+
padding: 0 8px 8px;
|
146
|
+
background-color: rgba(0, 0, 0, 0.7);
|
147
|
+
z-index: 100;
|
148
|
+
cursor: pointer;
|
149
|
+
color: $white;
|
150
|
+
padding: 4px 15px;
|
151
|
+
}
|
152
|
+
|
153
|
+
.luna-super-hero__transcript-body {
|
154
|
+
position: relative;
|
155
|
+
top: 40px;
|
156
|
+
padding: 10px 15px;
|
157
|
+
min-height: 300px;
|
158
|
+
background-color: rgba(0, 0, 0, 0.7);
|
159
|
+
color: $white;
|
160
|
+
}
|
161
|
+
|
162
|
+
.luna-super-hero__transcript-wrapper {
|
163
|
+
position: relative;
|
164
|
+
top: calc(100vw / 3.3);
|
165
|
+
max-width: 1200px;
|
166
|
+
margin: 0 auto;
|
167
|
+
scrollbar-width: none;
|
168
|
+
|
169
|
+
&--true {
|
170
|
+
top: calc(100vw / -5) !important;
|
171
|
+
|
172
|
+
@media screen and (max-width: $breakpoint-lg) and (min-height: $breakpoint-lg) {
|
173
|
+
top: 0px !important;
|
174
|
+
}
|
175
|
+
|
176
|
+
@media screen and (min-height: $breakpoint-md) and (min-width: $breakpoint-md) and (max-width: $breakpoint-lg) {
|
177
|
+
top: -10px !important;
|
178
|
+
}
|
179
|
+
|
180
|
+
@media screen and (max-width: $breakpoint-lg) and (max-height: $breakpoint-md) {
|
181
|
+
margin-top: 100px;
|
182
|
+
}
|
183
|
+
|
184
|
+
@media screen and (max-width: 1600px) and (max-height: $breakpoint-md) {
|
185
|
+
margin-top: 200px;
|
186
|
+
}
|
187
|
+
|
188
|
+
@media screen and (max-width: $breakpoint-md) and (max-height: $breakpoint-md) {
|
189
|
+
max-height: 200px !important;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
@media screen and (max-height: $breakpoint-sm) and (min-width: $breakpoint-sm) {
|
194
|
+
max-height: 200px;
|
195
|
+
}
|
196
|
+
|
197
|
+
@media screen and (max-width: $breakpoint-lg) {
|
198
|
+
top: 710px;
|
199
|
+
}
|
200
|
+
|
201
|
+
@media screen and (max-width: $breakpoint-sm) {
|
202
|
+
top: calc(100vw / 1.5);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
.luna-super-hero__transcript-wrapper::-webkit-scrollbar {
|
207
|
+
display: none;
|
208
|
+
}
|
209
|
+
|
210
210
|
}
|
@@ -1,56 +1,56 @@
|
|
1
|
-
#### Videoo
|
2
|
-
|
3
|
-
###### Props -
|
4
|
-
|
5
|
-
- `content` **(required)** - object containing all video information
|
6
|
-
- `image` - object with `src` and `alt` as keys with strings as values.
|
7
|
-
- `video` - object for rendering the video embed
|
8
|
-
- `url` - string that points to the video source on YouTube or Vimeo
|
9
|
-
- `uuid` - string used for rendering Vidyard video embeds
|
10
|
-
- `vidyard` - boolean for indicating that a Vidyard component should be rendered
|
11
|
-
- `variant` - string to indicate page layout. This defaults to "variant_1" unless video props are present
|
12
|
-
- `variant_1` - image 3/4 of page and 1/4 text
|
13
|
-
- `variant_2` - image 1/2 of page and 1/2 text
|
14
|
-
- `variant_3` - image 2/3 of page and 1/3 text
|
15
|
-
- `variant_4` - image size 555x555 and 1/2 text
|
16
|
-
- `variant_6` - full width image and text (either top or bottom)
|
17
|
-
- `variant_7` - video and text
|
18
|
-
|
19
|
-
###### Example -
|
20
|
-
|
21
|
-
```
|
22
|
-
const video = {
|
23
|
-
url: "https://www.youtube.com/embed/UY7r0juBF8Y",
|
24
|
-
allowFullScreen: true,
|
25
|
-
uuid: "UrtwArRETP23TP9yGgCEd6",
|
26
|
-
};
|
27
|
-
|
28
|
-
const vidyardVideo = {
|
29
|
-
url: null,
|
30
|
-
allowFullScreen: true,
|
31
|
-
uuid: "ELv5BCNfZhgji83ocGbTV1",
|
32
|
-
vidyard: true,
|
33
|
-
};
|
34
|
-
|
35
|
-
const thumbnail = {
|
36
|
-
src: "https://fpoimg.com/720x450",
|
37
|
-
alt: "fpo",
|
38
|
-
};
|
39
|
-
|
40
|
-
const videoContent = {
|
41
|
-
transcript: "View Transcript",
|
42
|
-
closeTranscript: "Hide Transcript",
|
43
|
-
transcriptText:
|
44
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
45
|
-
video,
|
46
|
-
thumbnail,
|
47
|
-
variant: "variant_7",
|
48
|
-
};
|
49
|
-
|
50
|
-
return (
|
51
|
-
<>
|
52
|
-
<VideoComponent content={videoContent} />
|
53
|
-
<VideoComponent content={vidyardVideoContent} />
|
54
|
-
</>
|
55
|
-
);
|
56
|
-
```
|
1
|
+
#### Videoo
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
|
5
|
+
- `content` **(required)** - object containing all video information
|
6
|
+
- `image` - object with `src` and `alt` as keys with strings as values.
|
7
|
+
- `video` - object for rendering the video embed
|
8
|
+
- `url` - string that points to the video source on YouTube or Vimeo
|
9
|
+
- `uuid` - string used for rendering Vidyard video embeds
|
10
|
+
- `vidyard` - boolean for indicating that a Vidyard component should be rendered
|
11
|
+
- `variant` - string to indicate page layout. This defaults to "variant_1" unless video props are present
|
12
|
+
- `variant_1` - image 3/4 of page and 1/4 text
|
13
|
+
- `variant_2` - image 1/2 of page and 1/2 text
|
14
|
+
- `variant_3` - image 2/3 of page and 1/3 text
|
15
|
+
- `variant_4` - image size 555x555 and 1/2 text
|
16
|
+
- `variant_6` - full width image and text (either top or bottom)
|
17
|
+
- `variant_7` - video and text
|
18
|
+
|
19
|
+
###### Example -
|
20
|
+
|
21
|
+
```
|
22
|
+
const video = {
|
23
|
+
url: "https://www.youtube.com/embed/UY7r0juBF8Y",
|
24
|
+
allowFullScreen: true,
|
25
|
+
uuid: "UrtwArRETP23TP9yGgCEd6",
|
26
|
+
};
|
27
|
+
|
28
|
+
const vidyardVideo = {
|
29
|
+
url: null,
|
30
|
+
allowFullScreen: true,
|
31
|
+
uuid: "ELv5BCNfZhgji83ocGbTV1",
|
32
|
+
vidyard: true,
|
33
|
+
};
|
34
|
+
|
35
|
+
const thumbnail = {
|
36
|
+
src: "https://fpoimg.com/720x450",
|
37
|
+
alt: "fpo",
|
38
|
+
};
|
39
|
+
|
40
|
+
const videoContent = {
|
41
|
+
transcript: "View Transcript",
|
42
|
+
closeTranscript: "Hide Transcript",
|
43
|
+
transcriptText:
|
44
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
45
|
+
video,
|
46
|
+
thumbnail,
|
47
|
+
variant: "variant_7",
|
48
|
+
};
|
49
|
+
|
50
|
+
return (
|
51
|
+
<>
|
52
|
+
<VideoComponent content={videoContent} />
|
53
|
+
<VideoComponent content={vidyardVideoContent} />
|
54
|
+
</>
|
55
|
+
);
|
56
|
+
```
|
@@ -1,34 +1,34 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.luna-vidyard-modal {
|
4
|
-
display: flex;
|
5
|
-
align-items: center;
|
6
|
-
|
7
|
-
.vidyard-player-embed {
|
8
|
-
|
9
|
-
visibility: hidden;
|
10
|
-
}
|
11
|
-
|
12
|
-
.vidyard-player-container {
|
13
|
-
|
14
|
-
animation: fadein 2000 linear;
|
15
|
-
animation-delay: 1000;
|
16
|
-
|
17
|
-
iframe {
|
18
|
-
@media screen and (max-width: $breakpoint-lg) {
|
19
|
-
margin: 0 auto !important;
|
20
|
-
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
@keyframes fadein {
|
27
|
-
0% {
|
28
|
-
opacity: 0;
|
29
|
-
}
|
30
|
-
|
31
|
-
100% {
|
32
|
-
opacity: 1;
|
33
|
-
}
|
34
|
-
}
|
1
|
+
@import "../../../global-styles/terra.scss";
|
2
|
+
|
3
|
+
.luna-vidyard-modal {
|
4
|
+
display: flex;
|
5
|
+
align-items: center;
|
6
|
+
|
7
|
+
.vidyard-player-embed {
|
8
|
+
|
9
|
+
visibility: hidden;
|
10
|
+
}
|
11
|
+
|
12
|
+
.vidyard-player-container {
|
13
|
+
|
14
|
+
animation: fadein 2000 linear;
|
15
|
+
animation-delay: 1000;
|
16
|
+
|
17
|
+
iframe {
|
18
|
+
@media screen and (max-width: $breakpoint-lg) {
|
19
|
+
margin: 0 auto !important;
|
20
|
+
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
@keyframes fadein {
|
27
|
+
0% {
|
28
|
+
opacity: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
100% {
|
32
|
+
opacity: 1;
|
33
|
+
}
|
34
|
+
}
|