mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Implement the new border-radius guard: only round things if global @enable-rounded == true
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
// Mixins
|
||||
// --------------------------------------------------
|
||||
|
||||
.border-radius(@radius: .25em) when (@enable-rounded = true) {
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.box-shadow(@shadow: 0 .1rem .2rem rgba(0,0,0,.1)) when (@enable-shadows = true) {
|
||||
box-shadow: @shadow;
|
||||
}
|
||||
|
||||
|
||||
// Utilities
|
||||
@import "mixins/hide-text.less";
|
||||
@import "mixins/opacity.less";
|
||||
|
||||
Reference in New Issue
Block a user