mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
remove translucent bg mixin
This commit is contained in:
parent
2b06edc7d7
commit
840cad69af
@ -360,17 +360,6 @@
|
|||||||
// BACKGROUNDS
|
// BACKGROUNDS
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Add an alphatransparency value to any background or border color (via Elyse Holladay)
|
|
||||||
#translucent {
|
|
||||||
.background(@color: @white, @alpha: 1) {
|
|
||||||
background-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
|
|
||||||
}
|
|
||||||
.border(@color: @white, @alpha: 1) {
|
|
||||||
border-color: hsla(hue(@color), saturation(@color), lightness(@color), @alpha);
|
|
||||||
.background-clip(padding-box);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Gradient Bar Colors for buttons and alerts
|
// Gradient Bar Colors for buttons and alerts
|
||||||
.gradientBar(@primaryColor, @secondaryColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
|
.gradientBar(@primaryColor, @secondaryColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
|
||||||
color: @textColor;
|
color: @textColor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user