3 // --------------------------------------------------
6 // Wrapper for the slide container and indicators
19 .transition(.6s ease-in-out left);
21 // Account for jankitude on images
24 &:extend(.img-responsive);
28 // WebKit CSS3 transforms for supported devices
29 @media all and (transform-3d), (-webkit-transform-3d) {
30 .transition-transform(~'0.6s ease-in-out');
31 .backface-visibility(~'hidden');
36 .translate3d(100%, 0, 0);
41 .translate3d(-100%, 0, 0);
47 .translate3d(0, 0, 0);
90 // Left/right controls for nav
91 // ---------------------------
98 width: @carousel-control-width;
99 .opacity(@carousel-control-opacity);
100 font-size: @carousel-control-font-size;
101 color: @carousel-control-color;
103 text-shadow: @carousel-text-shadow;
104 // We can't have this transition here because WebKit cancels the carousel
105 // animation if you trip this while in the middle of another animation.
107 // Set gradients for backgrounds
109 #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
114 #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
121 color: @carousel-control-color;
122 text-decoration: none;
129 .glyphicon-chevron-left,
130 .glyphicon-chevron-right {
134 display: inline-block;
137 .glyphicon-chevron-left {
142 .glyphicon-chevron-right {
158 content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
163 content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
168 // Optional indicator pips
170 // Add an unordered list with the following class and add a list item for each
171 // slide your carousel holds.
173 .carousel-indicators {
185 display: inline-block;
190 border: 1px solid @carousel-indicator-border-color;
194 // IE8-9 hack for event handling
196 // Internet Explorer 8-9 does not support clicks on elements without a set
197 // `background-color`. We cannot use `filter` since that's not viewed as a
198 // background color by the browser. Thus, a hack is needed.
199 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
201 // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
202 // set alpha transparency for the best results possible.
203 background-color: #000 \9; // IE8
204 background-color: rgba(0,0,0,0); // IE9
210 background-color: @carousel-indicator-active-bg;
215 // -----------------------------
216 // Hidden by default for smaller viewports
224 padding-bottom: 20px;
225 color: @carousel-caption-color;
227 text-shadow: @carousel-text-shadow;
229 text-shadow: none; // No shadow for button elements in carousel-caption
234 // Scale up controls for tablets and up
235 @media screen and (min-width: @screen-sm-min) {
237 // Scale up the controls a smidge
239 .glyphicon-chevron-left,
240 .glyphicon-chevron-right,
248 .glyphicon-chevron-left,
252 .glyphicon-chevron-right,
258 // Show and left align the captions
262 padding-bottom: 30px;
265 // Move up the indicators
266 .carousel-indicators {