3
// --------------------------------------------------
6
// Wrapper for the slide container and indicators
19
@include transition(.6s ease-in-out left);
21
// Account for jankitude on images
24
@include img-responsive();
31
> .prev { display: block; }
64
// Left/right controls for nav
65
// ---------------------------
72
width: $carousel-control-width;
73
@include 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
@include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));
88
@include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));
95
color: $carousel-control-color;
96
text-decoration: none;
103
.glyphicon-chevron-left,
104
.glyphicon-chevron-right {
108
display: inline-block;
111
.glyphicon-chevron-left {
115
.glyphicon-chevron-right {
129
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
134
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
139
// Optional indicator pips
141
// Add an unordered list with the following class and add a list item for each
142
// slide your carousel holds.
144
.carousel-indicators {
156
display: inline-block;
161
border: 1px solid $carousel-indicator-border-color;
165
// IE8-9 hack for event handling
167
// Internet Explorer 8-9 does not support clicks on elements without a set
168
// `background-color`. We cannot use `filter` since that's not viewed as a
169
// background color by the browser. Thus, a hack is needed.
171
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
172
// set alpha transparency for the best results possible.
173
background-color: #000 \9; // IE8
174
background-color: rgba(0,0,0,0); // IE9
180
background-color: $carousel-indicator-active-bg;
185
// -----------------------------
186
// Hidden by default for smaller viewports
194
padding-bottom: 20px;
195
color: $carousel-caption-color;
197
text-shadow: $carousel-text-shadow;
199
text-shadow: none; // No shadow for button elements in carousel-caption
204
// Scale up controls for tablets and up
205
@media screen and (min-width: $screen-sm-min) {
207
// Scale up the controls a smidge
209
.glyphicons-chevron-left,
210
.glyphicons-chevron-right,
221
// Show and left align the captions
225
padding-bottom: 30px;
228
// Move up the indicators
229
.carousel-indicators {