UNPKG

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