1+ export const CAROUSELCSS = `
2+ .carousel .control-arrow, .carousel.carousel-slider .control-arrow {
3+ -webkit-transition: all 0.25s ease-in;
4+ -moz-transition: all 0.25s ease-in;
5+ -ms-transition: all 0.25s ease-in;
6+ -o-transition: all 0.25s ease-in;
7+ transition: all 0.25s ease-in;
8+ opacity: 0.4;
9+ filter: alpha(opacity=40);
10+ position: absolute;
11+ z-index: 2;
12+ top: 20px;
13+ background: none;
14+ border: 0;
15+ font-size: 32px;
16+ cursor: pointer; }
17+ .carousel .control-arrow:hover {
18+ opacity: 1;
19+ filter: alpha(opacity=100); }
20+ .carousel .control-arrow:before, .carousel.carousel-slider .control-arrow:before {
21+ margin: 0 5px;
22+ display: inline-block;
23+ border-top: 8px solid transparent;
24+ border-bottom: 8px solid transparent;
25+ content: ''; }
26+ .carousel .control-disabled.control-arrow {
27+ opacity: 0;
28+ filter: alpha(opacity=0);
29+ cursor: inherit;
30+ display: none; }
31+ .carousel .control-prev.control-arrow {
32+ left: 0; }
33+ .carousel .control-prev.control-arrow:before {
34+ border-right: 8px solid #fff; }
35+ .carousel .control-next.control-arrow {
36+ right: 0; }
37+ .carousel .control-next.control-arrow:before {
38+ border-left: 8px solid #fff; }
39+
40+ .carousel {
41+ position: relative;
42+ width: 100%; }
43+ .carousel * {
44+ -webkit-box-sizing: border-box;
45+ -moz-box-sizing: border-box;
46+ box-sizing: border-box; }
47+ .carousel img {
48+ width: 100%;
49+ display: inline-block;
50+ pointer-events: none; }
51+ .carousel .carousel {
52+ position: relative; }
53+ .carousel .control-arrow {
54+ outline: 0;
55+ border: 0;
56+ background: none;
57+ top: 50%;
58+ margin-top: -13px;
59+ font-size: 18px; }
60+ .carousel .thumbs-wrapper {
61+ margin: 20px;
62+ overflow: hidden; }
63+ .carousel .thumbs {
64+ -webkit-transition: all 0.15s ease-in;
65+ -moz-transition: all 0.15s ease-in;
66+ -ms-transition: all 0.15s ease-in;
67+ -o-transition: all 0.15s ease-in;
68+ transition: all 0.15s ease-in;
69+ -webkit-transform: translate3d(0, 0, 0);
70+ -moz-transform: translate3d(0, 0, 0);
71+ -ms-transform: translate3d(0, 0, 0);
72+ -o-transform: translate3d(0, 0, 0);
73+ transform: translate3d(0, 0, 0);
74+ position: relative;
75+ list-style: none;
76+ white-space: nowrap; }
77+ .carousel .thumb {
78+ -webkit-transition: border 0.15s ease-in;
79+ -moz-transition: border 0.15s ease-in;
80+ -ms-transition: border 0.15s ease-in;
81+ -o-transition: border 0.15s ease-in;
82+ transition: border 0.15s ease-in;
83+ display: inline-block;
84+ width: 80px;
85+ margin-right: 6px;
86+ white-space: nowrap;
87+ overflow: hidden;
88+ border: 3px solid #fff;
89+ padding: 2px; }
90+ .carousel .thumb:focus {
91+ border: 3px solid #ccc;
92+ outline: none; }
93+ .carousel .thumb.selected, .carousel .thumb:hover {
94+ border: 3px solid #333; }
95+ .carousel .thumb img {
96+ vertical-align: top; }
97+ .carousel.carousel-slider {
98+ position: relative;
99+ margin: 0;
100+ overflow: hidden; }
101+ .carousel.carousel-slider .control-arrow {
102+ top: 0;
103+ color: #fff;
104+ font-size: 26px;
105+ bottom: 0;
106+ margin-top: 0;
107+ padding: 5px; }
108+ .carousel.carousel-slider .control-arrow:hover {
109+ background: rgba(0, 0, 0, 0.2); }
110+ .carousel .slider-wrapper {
111+ overflow: hidden;
112+ margin: auto;
113+ width: 100%;
114+ -webkit-transition: height 0.15s ease-in;
115+ -moz-transition: height 0.15s ease-in;
116+ -ms-transition: height 0.15s ease-in;
117+ -o-transition: height 0.15s ease-in;
118+ transition: height 0.15s ease-in; }
119+ .carousel .slider-wrapper.axis-horizontal .slider {
120+ -ms-box-orient: horizontal;
121+ display: -webkit-box;
122+ display: -moz-box;
123+ display: -ms-flexbox;
124+ display: -moz-flex;
125+ display: -webkit-flex;
126+ display: flex; }
127+ .carousel .slider-wrapper.axis-horizontal .slider .slide {
128+ flex-direction: column;
129+ flex-flow: column; }
130+ .carousel .slider-wrapper.axis-vertical {
131+ -ms-box-orient: horizontal;
132+ display: -webkit-box;
133+ display: -moz-box;
134+ display: -ms-flexbox;
135+ display: -moz-flex;
136+ display: -webkit-flex;
137+ display: flex; }
138+ .carousel .slider-wrapper.axis-vertical .slider {
139+ -webkit-flex-direction: column;
140+ flex-direction: column; }
141+ .carousel .slider {
142+ margin: 0;
143+ padding: 0;
144+ position: relative;
145+ list-style: none;
146+ width: 100%; }
147+ .carousel .slider.animated {
148+ -webkit-transition: all 0.35s ease-in-out;
149+ -moz-transition: all 0.35s ease-in-out;
150+ -ms-transition: all 0.35s ease-in-out;
151+ -o-transition: all 0.35s ease-in-out;
152+ transition: all 0.35s ease-in-out; }
153+ .carousel .slide {
154+ min-width: 100%;
155+ margin: 0;
156+ position: relative;
157+ text-align: center;
158+ background: #000; }
159+ .carousel .slide img {
160+ width: 100%;
161+ vertical-align: top;
162+ border: 0; }
163+ .carousel .slide iframe {
164+ display: inline-block;
165+ width: calc(100% - 80px);
166+ margin: 0 40px 40px;
167+ border: 0; }
168+ .carousel .slide .legend {
169+ -webkit-transition: all 0.5s ease-in-out;
170+ -moz-transition: all 0.5s ease-in-out;
171+ -ms-transition: all 0.5s ease-in-out;
172+ -o-transition: all 0.5s ease-in-out;
173+ transition: all 0.5s ease-in-out;
174+ position: absolute;
175+ bottom: 40px;
176+ left: 50%;
177+ margin-left: -45%;
178+ width: 90%;
179+ border-radius: 10px;
180+ background: #000;
181+ color: #fff;
182+ padding: 10px;
183+ font-size: 12px;
184+ text-align: center;
185+ opacity: 0.25;
186+ -webkit-transition: opacity 0.35s ease-in-out;
187+ -moz-transition: opacity 0.35s ease-in-out;
188+ -ms-transition: opacity 0.35s ease-in-out;
189+ -o-transition: opacity 0.35s ease-in-out;
190+ transition: opacity 0.35s ease-in-out; }
191+ .carousel .control-dots {
192+ position: absolute;
193+ bottom: 0;
194+ margin: 10px 0;
195+ text-align: center;
196+ width: 100%; }
197+ @media (min-width: 960px) {
198+ .carousel .control-dots {
199+ bottom: 0; } }
200+ .carousel .control-dots .dot {
201+ -webkit-transition: opacity 0.25s ease-in;
202+ -moz-transition: opacity 0.25s ease-in;
203+ -ms-transition: opacity 0.25s ease-in;
204+ -o-transition: opacity 0.25s ease-in;
205+ transition: opacity 0.25s ease-in;
206+ opacity: 0.3;
207+ filter: alpha(opacity=30);
208+ box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
209+ background: #fff;
210+ border-radius: 50%;
211+ width: 8px;
212+ height: 8px;
213+ cursor: pointer;
214+ display: inline-block;
215+ margin: 0 8px; }
216+ .carousel .control-dots .dot.selected, .carousel .control-dots .dot:hover {
217+ opacity: 1;
218+ filter: alpha(opacity=100); }
219+ .carousel .carousel-status {
220+ position: absolute;
221+ top: 0;
222+ right: 0;
223+ padding: 5px;
224+ font-size: 10px;
225+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
226+ color: #fff; }
227+ .carousel:hover .slide .legend {
228+ opacity: 1; }
229+ ` ;
0 commit comments