// Grays // ------------------------- @black: #000; @grayDarker: #222; @grayDark: #333; @gray: #555; @grayLight: #999; @grayLighter: #eee; @white: #fff; // Drop shadows .box-shadow(@shadow) { -webkit-box-shadow: @shadow; -moz-box-shadow: @shadow; box-shadow: @shadow; } // Border Radius .border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; } // Gradients #gradient { .vertical(@startColor: #555, @endColor: #333) { background-color: mix(@startColor, @endColor, 60%); background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+ background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(top, @startColor, @endColor); // The standard background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down } } // Pills for indicating active image // --------------------------------- .carousel-pills { position: absolute; bottom: 40px; width: 100%; margin:auto; display: block; text-align: center; z-index: 2; } .carousel-control { position: absolute; top: 50%; left: 40px; margin-top: -20px; font-size: 30px; font-weight: 00; line-height: 50px; color: #ffffff; width:auto; text-align: center; background: none; border: none; opacity: 0.7; filter: alpha(opacity=50); text-shadow : -1px 1px 2px rgba(52,52,52,.4); } .carousel-control.right { left: auto; right: 40px; } .carousel-pills span { padding:0px; display: inline-block; margin: 0px 5px; padding:4px; width: 2px; height: 2px; .border-radius(6px); background: rgba(102,102,102,.5); /*opacity: .7;*/ @shadow: -1px 1px 1px rgba(0,0,0,.25); /*, inset 1px -1px 1px rgba(0,0,0,.2);*/ .box-shadow(@shadow); cursor: pointer; &.active-pill { /*#gradient > .vertical(@white, @grayLighter);*/ background: rgba(255,255,255,.8); } &:hover { background: @grayLighter; } }