mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 06:03:10 +02:00
No longer need to write box-shadows in full when using lighten or other functions
This commit is contained in:
@@ -183,10 +183,7 @@
|
|||||||
.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%);
|
||||||
// Write out in full since the lighten() function isn't easily escaped
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%));
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
|
||||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 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