aboutsummaryrefslogtreecommitdiff
path: root/lib/mixins.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-29 02:21:02 -0700
committerMark Otto <[email protected]>2011-09-29 02:21:02 -0700
commit0a6d8c30db0600ab8d33e14ead0ff120cd03ac9d (patch)
treeb42264ebff4355ab236dd886b2e17ced2800faf3 /lib/mixins.less
parentf54568fa31396556a0df7bf8e2b180885e2b1c3f (diff)
downloadbootstrap-0a6d8c30db0600ab8d33e14ead0ff120cd03ac9d.tar.xz
bootstrap-0a6d8c30db0600ab8d33e14ead0ff120cd03ac9d.zip
adding button groups and toolbars like a boss
Diffstat (limited to 'lib/mixins.less')
-rw-r--r--lib/mixins.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/mixins.less b/lib/mixins.less
index b0ecf03d3..131d14278 100644
--- a/lib/mixins.less
+++ b/lib/mixins.less
@@ -102,6 +102,23 @@
-moz-border-radius: @radius;
border-radius: @radius;
}
+.border-radius-custom(@topLeft, @topRight, @bottomRight, @bottomLeft) {
+ -webkit-border-top-left-radius: @topLeft;
+ -moz-border-radius-topleft: @topLeft;
+ border-top-left-radius: @topLeft;
+ -webkit-border-top-right-radius: @topRight;
+ -moz-border-radius-topright: @topRight;
+ border-top-right-radius: @topRight;
+ -webkit-border-bottom-right-radius: @bottomRight;
+ -moz-border-radius-bottomright: @bottomRight;
+ border-bottom-right-radius: @bottomRight;
+ -webkit-border-bottom-left-radius: @bottomLeft;
+ -moz-border-radius-bottomleft: @bottomLeft;
+ border-bottom-left-radius: @bottomLeft;
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding;
+ background-clip: padding-box;
+}
// Drop shadows
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {