2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fix for dropdown

This commit is contained in:
Jacob Thornton
2011-09-02 00:42:22 -07:00
parent 75afad4325
commit 813c55489f
3 changed files with 23 additions and 19 deletions
+10 -10
View File
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Fri Sep 2 00:32:54 PDT 2011
* Date: Fri Sep 2 00:41:45 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1316,7 +1316,14 @@ table .headerSortUp.purple, table .headerSortDown.purple {
display: block;
background-color: none;
}
.dropdown-menu a {
.dropdown-menu .divider {
height: 1px;
margin: 5px 0;
overflow: hidden;
background-color: #eee;
border-bottom: 1px solid #fff;
}
.topbar .dropdown-menu a, .dropdown-menu a {
display: block;
padding: 4px 15px;
clear: both;
@@ -1325,7 +1332,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
color: #808080;
text-shadow: 0 1px 0 #fff;
}
.dropdown-menu a:hover {
.topbar .dropdown-menu a:hover, .dropdown-menu a:hover {
background-color: #dddddd;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));
@@ -1341,13 +1348,6 @@ table .headerSortUp.purple, table .headerSortDown.purple {
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
}
.dropdown-menu .divider {
height: 1px;
margin: 5px 0;
overflow: hidden;
background-color: #eee;
border-bottom: 1px solid #fff;
}
.dropdown.open .dropdown-toggle {
color: #fff;
background: #ccc;