2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

Replaced hardcoded CSS rules with mixins

This commit is contained in:
Ninir
2012-10-30 10:22:09 +01:00
committed by Mark Otto
parent 14b941744c
commit be03a53086
4 changed files with 18 additions and 55 deletions
+3 -9
View File
@@ -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);
}
}