2
0
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:
Mark Otto
2014-07-08 16:25:01 -07:00
parent 86099bfb33
commit f6367bc0e4
36 changed files with 55 additions and 489 deletions
+9
View File
@@ -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";