From c82b9d1e7c63a2885d679e39913941a4c2188661 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 30 Sep 2012 23:54:35 -0700 Subject: [PATCH] remove gradientbar mixin --- less/mixins.less | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/less/mixins.less b/less/mixins.less index a0ec29b78f..ee360d734b 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.