aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.less
diff options
context:
space:
mode:
authorsyed <[email protected]>2013-07-20 12:56:20 +0500
committersyed <[email protected]>2013-07-20 12:56:20 +0500
commitc2e37414d88180f2f7affe7655eddbb9468103c3 (patch)
treef78b79f54271782c25b203ec43d4757667a949a6 /less/carousel.less
parent453346262f879f5e4e37e50b1462de72f3f60f59 (diff)
downloadbootstrap-c2e37414d88180f2f7affe7655eddbb9468103c3.tar.xz
bootstrap-c2e37414d88180f2f7affe7655eddbb9468103c3.zip
Move inline properties to variables.less
moved buttons.less, carousel.less & close.less in this commit
Diffstat (limited to 'less/carousel.less')
-rw-r--r--less/carousel.less14
1 files changed, 7 insertions, 7 deletions
diff --git a/less/carousel.less b/less/carousel.less
index 7d134ca62..d7dfdf9f6 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -72,9 +72,9 @@
width: 15%;
.opacity(.5);
font-size: 20px;
- color: #fff;
+ color: @carousel-control-color;
text-align: center;
- text-shadow: 0 1px 2px rgba(0,0,0,.6);
+ text-shadow: @carousel-control-text-shadow;
// We can't have this transition here because webkit cancels the carousel
// animation if you trip this while in the middle of another animation.
@@ -93,7 +93,7 @@
// Hover/focus state
&:hover,
&:focus {
- color: #fff;
+ color: @carousel-control-hover-color;
text-decoration: none;
.opacity(.9);
}
@@ -144,7 +144,7 @@
height: 10px;
margin: 1px;
text-indent: -999px;
- border: 1px solid #fff;
+ border: 1px solid @carousel-indicators-li-border-color;
border-radius: 10px;
cursor: pointer;
}
@@ -152,7 +152,7 @@
margin: 0;
width: 12px;
height: 12px;
- background-color: #fff;
+ background-color: @carousel-indicators-active-bg;
}
}
@@ -167,9 +167,9 @@
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
- color: #fff;
+ color: @carousel-caption-color;
text-align: center;
- text-shadow: 0 1px 2px rgba(0,0,0,.6);
+ text-shadow: @carousel-caption-text-shadow;
& .btn {
text-shadow: none; // No shadow for button elements in carousel-caption
}