aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-09-30 23:54:35 -0700
committerMark Otto <[email protected]>2012-09-30 23:54:35 -0700
commitc82b9d1e7c63a2885d679e39913941a4c2188661 (patch)
treef659f0e74e757d0e78b5a38a60941c19eb5ecd27
parent973646ea67b8e738cb456f897ad2af204e50607e (diff)
downloadbootstrap-c82b9d1e7c63a2885d679e39913941a4c2188661.tar.xz
bootstrap-c82b9d1e7c63a2885d679e39913941a4c2188661.zip
remove gradientbar mixin
-rw-r--r--less/mixins.less17
1 files changed, 6 insertions, 11 deletions
diff --git a/less/mixins.less b/less/mixins.less
index a0ec29b78..ee360d734 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -350,15 +350,6 @@
// BACKGROUNDS
// --------------------------------------------------
-// Gradient Bar Colors for buttons and alerts
-.gradientBar(@primaryColor, @secondaryColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
- color: @textColor;
- text-shadow: @textShadow;
- #gradient > .vertical(@primaryColor, @secondaryColor);
- border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
- border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
-}
-
// Gradients
#gradient {
.horizontal(@startColor: #555, @endColor: #333) {
@@ -440,8 +431,11 @@
// Button backgrounds
// ------------------
.buttonBackground(@startColor, @endColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
- // gradientBar will set the background to a pleasing blend of these, to support IE<=*9
- .gradientBar(@startColor, @endColor, @textColor, @textShadow);
+ color: @textColor;
+ text-shadow: @textShadow;
+ #gradient > .vertical(@startColor, @endColor);
+ border-color: @endColor @endColor darken(@endColor, 15%);
+ border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
.reset-filter();
// in these cases the gradient won't cover the background, so we override
@@ -457,6 +451,7 @@
}
}
+
// Navbar vertical align
// -------------------------
// Vertically center elements in the navbar.