mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Use .box-shadow() mixin so we can enable/disable them
This commit is contained in:
+2
-2
@@ -5,8 +5,8 @@
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.box-shadow(@shadow: 0 .1rem .2rem rgba(0,0,0,.1)) when (@enable-shadows = true) {
|
||||
box-shadow: @shadow;
|
||||
.box-shadow(@shadow) when (@enable-shadows = true) {
|
||||
box-shadow: @arguments;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user