diff options
| author | Mark Otto <[email protected]> | 2012-01-25 20:32:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-25 20:32:19 -0800 |
| commit | b6b19866ac82089b9d3964f7fe9bbb3457306495 (patch) | |
| tree | 34690644f3c0198e318d47265b6aa4ca605e2e3d /lib | |
| parent | af01d37ab9aeb8e752db07f791b84299005795ae (diff) | |
| download | bootstrap-b6b19866ac82089b9d3964f7fe9bbb3457306495.tar.xz bootstrap-b6b19866ac82089b9d3964f7fe9bbb3457306495.zip | |
remove some old -moz- prefixes from mixins while we're at it, dropping FF3.6 support
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mixins.less | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/mixins.less b/lib/mixins.less index a1dc94626..2eab8f36e 100644 --- a/lib/mixins.less +++ b/lib/mixins.less @@ -134,14 +134,12 @@ // Border Radius .border-radius(@radius: 5px) { -webkit-border-radius: @radius; - -moz-border-radius: @radius; border-radius: @radius; } // Drop shadows .box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) { -webkit-box-shadow: @shadow; - -moz-box-shadow: @shadow; box-shadow: @shadow; } @@ -178,10 +176,9 @@ } // Background clipping -// Heads up: FF 3.6 and under need padding instead of padding-box +// Heads up: FF 3.6 and under need "padding" instead of "padding-box" .background-clip(@clip) { -webkit-background-clip: @clip; - -moz-background-clip: @clip; background-clip: @clip; } @@ -228,9 +225,8 @@ // Opacity .opacity(@opacity: 100) { - filter: e(%("alpha(opacity=%d)", @opacity)); - -moz-opacity: @opacity / 100; - opacity: @opacity / 100; + opacity: @opacity / 100; + filter: e(%("alpha(opacity=%d)", @opacity)); } @@ -245,9 +241,7 @@ } .border(@color: @white, @alpha: 1) { border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; + .background-clip(padding-box); } } |
