3 /* Mixins for visual effects in CSS3 */
5 // ----------------------------------------------------------------------------
7 // ----------------------------------------------------------------------------
8 @mixin vertical-gradient ($startColor: lighten($agoraGray, 95%), $endColor: $agoraGray) {
10 background-color: $endColor;
11 *background-color: $endColor; // IE7
14 @include filter-gradient($startColor, $endColor, vertical);
16 // IE9+, Opera, Gecko, WebKit
17 @include background-image(linear-gradient(top, $startColor, $endColor));
20 // ----------------------------------------------------------------------------
22 // ----------------------------------------------------------------------------
23 @mixin buttonColors ($baseColor: $agoraGray) {
25 @include vertical-gradient(lighten($baseColor, 7.5%), $baseColor);
27 @if $baseColor == $agoraGray {
28 color: darken($baseColor, 50%);
29 @include text-shadow(0 1px 1px rgba($baseColor, 0.3));
32 @include text-shadow(0 1px 1px rgba($baseColor, 0.75));
35 border: 1px solid darken($baseColor, 2%);
39 @include vertical-gradient(lighten($baseColor, 12.5%), lighten($baseColor, 7.5%));
40 text-decoration: none;
47 color: darken($baseColor, 3%);