diff options
| author | Mark Otto <[email protected]> | 2011-09-29 02:21:02 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-29 02:21:02 -0700 |
| commit | 0a6d8c30db0600ab8d33e14ead0ff120cd03ac9d (patch) | |
| tree | b42264ebff4355ab236dd886b2e17ced2800faf3 /lib/mixins.less | |
| parent | f54568fa31396556a0df7bf8e2b180885e2b1c3f (diff) | |
| download | bootstrap-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.less | 17 |
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)) { |
