aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-24 20:45:38 -0800
committerMark Otto <[email protected]>2012-01-24 20:45:38 -0800
commita5c1d1f1828c333e373cdc5da5da2f6d946ad45e (patch)
tree2a430d99d4f756339e470a781f01ce42720a8653 /lib
parentaa59f123c074c01f84e8e27c1ac5431f819d4816 (diff)
downloadbootstrap-a5c1d1f1828c333e373cdc5da5da2f6d946ad45e.tar.xz
bootstrap-a5c1d1f1828c333e373cdc5da5da2f6d946ad45e.zip
adding actual images to carousel to ensure you can see things are animating; updated styles of carousel controls to work on light and dark backgrounds and use opacity for effects
Diffstat (limited to 'lib')
-rw-r--r--lib/carousel.less13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/carousel.less b/lib/carousel.less
index 1a18d44b6..27c1ba660 100644
--- a/lib/carousel.less
+++ b/lib/carousel.less
@@ -68,11 +68,13 @@
font-size: 60px;
font-weight: 100;
line-height: 30px;
- color: #ccc;
+ color: #fff;
text-align: center;
- background: @grayLight;
- background: rgba(0,0,0,.5);
- .border-radius(20px);
+ background: @grayDarker;
+ border: 3px solid #fff;
+ .border-radius(23px);
+ .opacity(50);
+ .transition(all .2s linear);
// Reposition the right one
&.right {
@@ -84,8 +86,7 @@
&:hover {
color: @white;
text-decoration: none;
- background: @grayDark;
- background: rgba(0,0,0,.75);
+ .opacity(90);
}
}