aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-27 17:39:34 -0600
committerMark Otto <[email protected]>2011-12-27 17:39:34 -0600
commit704d713aadbfcd27e39226cb0d1b2243d52dde0a (patch)
tree7a241a9f27481151df65888cda571e6aec08d2c1 /lib/patterns.less
parent53c6dbff0d6dd781df421f07acdd9e98719b41bf (diff)
downloadbootstrap-704d713aadbfcd27e39226cb0d1b2243d52dde0a.tar.xz
bootstrap-704d713aadbfcd27e39226cb0d1b2243d52dde0a.zip
border radius on large button toolbar
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index d48d65e48..7c9ee7e48 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -417,6 +417,24 @@ input[type=submit].btn {
-moz-border-radius-bottomright: 4px;
border-bottom-right-radius: 4px;
}
+ // Reset corners for large buttons
+ &.large:first-child {
+ margin-left: 0;
+ -webkit-border-top-left-radius: 6px;
+ -moz-border-radius-topleft: 6px;
+ border-top-left-radius: 6px;
+ -webkit-border-bottom-left-radius: 6px;
+ -moz-border-radius-bottomleft: 6px;
+ border-bottom-left-radius: 6px;
+ }
+ &.large:last-child {
+ -webkit-border-top-right-radius: 6px;
+ -moz-border-radius-topright: 6px;
+ border-top-right-radius: 6px;
+ -webkit-border-bottom-right-radius: 6px;
+ -moz-border-radius-bottomright: 6px;
+ border-bottom-right-radius: 6px;
+ }
}
// On hover/focus/active, bring the proper btn to front
.btn-group .btn:hover,