aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorNinir <[email protected]>2012-10-30 10:22:09 +0100
committerMark Otto <[email protected]>2012-10-31 11:09:44 -0700
commitbe03a5308663052be22d48cbe247b2c259fdefe9 (patch)
tree94993c2adb2ff7cbd57ea9e8def0d3fcbdf4ebb4 /less/dropdowns.less
parent14b941744c5ef3cc67c41e3bae7284fafe052415 (diff)
downloadbootstrap-be03a5308663052be22d48cbe247b2c259fdefe9.tar.xz
bootstrap-be03a5308663052be22d48cbe247b2c259fdefe9.zip
Replaced hardcoded CSS rules with mixins
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less12
1 files changed, 3 insertions, 9 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 26ca0f9ea..730ff6e19 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -168,9 +168,7 @@
left: 100%;
margin-top: -6px;
margin-left: -1px;
- -webkit-border-radius: 0 6px 6px 6px;
- -moz-border-radius: 0 6px 6px 6px;
- border-radius: 0 6px 6px 6px;
+ .border-radius(0 6px 6px 6px);
}
.dropdown-submenu:hover > .dropdown-menu {
display: block;
@@ -182,9 +180,7 @@
bottom: 0;
margin-top: 0;
margin-bottom: -2px;
- -webkit-border-radius: 5px 5px 5px 0;
- -moz-border-radius: 5px 5px 5px 0;
- border-radius: 5px 5px 5px 0;
+ .border-radius(5px 5px 5px 0);
}
// Caret to indicate there is a submenu
@@ -215,9 +211,7 @@
> .dropdown-menu {
left: -100%;
margin-left: 10px;
- -webkit-border-radius: 6px 0 6px 6px;
- -moz-border-radius: 6px 0 6px 6px;
- border-radius: 6px 0 6px 6px;
+ .border-radius(6px 0 6px 6px);
}
}