mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
use local var for a few other .box-shadow mixins to fix CSS not compiling
This commit is contained in:
5788
docs/assets/css/bootstrap.css
vendored
5788
docs/assets/css/bootstrap.css
vendored
File diff suppressed because it is too large
Load Diff
@@ -364,7 +364,8 @@ select:focus:required:invalid {
|
|||||||
border-color: #ee5f5b;
|
border-color: #ee5f5b;
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken(#ee5f5b, 10%);
|
border-color: darken(#ee5f5b, 10%);
|
||||||
.box-shadow(0 0 6px lighten(#ee5f5b, 20%));
|
@shadow: 0 0 6px lighten(#ee5f5b, 20%);
|
||||||
|
.box-shadow(@shadow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -183,7 +183,8 @@
|
|||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken(@borderColor, 10%);
|
border-color: darken(@borderColor, 10%);
|
||||||
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%)");
|
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
||||||
|
.box-shadow(@shadow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Give a small background color for input-prepend/-append
|
// Give a small background color for input-prepend/-append
|
||||||
|
Reference in New Issue
Block a user