3 // --------------------------------------------------
6 // Wrapper for the slide container and indicators
19 .transition(.6s ease-in-out left);
21 // Account for jankitude on images
31 > .prev { display: block; }
64 // Left/right controls for nav
65 // ---------------------------
72 width: @carousel-control-width;
73 .opacity(@carousel-control-opacity);
74 font-size: @carousel-control-font-size;
75 color: @carousel-control-color;
77 text-shadow: @carousel-text-shadow;
78 // We can't have this transition here because WebKit cancels the carousel
79 // animation if you trip this while in the middle of another animation.
81 // Set gradients for backgrounds
83 #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
88 #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
94 color: @carousel-control-color;
95 text-decoration: none;
102 .glyphicon-chevron-left,
103 .glyphicon-chevron-right {
107 display: inline-block;
110 .glyphicon-chevron-left {
114 .glyphicon-chevron-right {
128 content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
133 content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
138 // Optional indicator pips
140 // Add an unordered list with the following class and add a list item for each
141 // slide your carousel holds.
143 .carousel-indicators {
155 display: inline-block;
160 border: 1px solid @carousel-indicator-border-color;
164 // IE8-9 hack for event handling
166 // Internet Explorer 8-9 does not support clicks on elements without a set
167 // `background-color`. We cannot use `filter` since that's not viewed as a
168 // background color by the browser. Thus, a hack is needed.
170 // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
171 // set alpha transparency for the best results possible.
172 background-color: #000 \9; // IE8
173 background-color: rgba(0,0,0,0); // IE9
179 background-color: @carousel-indicator-active-bg;
184 // -----------------------------
185 // Hidden by default for smaller viewports
193 padding-bottom: 20px;
194 color: @carousel-caption-color;
196 text-shadow: @carousel-text-shadow;
198 text-shadow: none; // No shadow for button elements in carousel-caption
203 // Scale up controls for tablets and up
204 @media screen and (min-width: @screen-sm-min) {
206 // Scale up the controls a smidge
208 .glyphicons-chevron-left,
209 .glyphicons-chevron-right,
220 // Show and left align the captions
224 padding-bottom: 30px;
227 // Move up the indicators
228 .carousel-indicators {