mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
remove translucent bg mixin
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user