1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Drop .nav-header for .dropdown-header

* Since we no longer have `.nav-list`, I've nuked the `.nav-header`
* However, dropdowns can still have section headings, so I've kept that
around with the addition of `.dropdown-header`
* Restyled it a smidge as well
This commit is contained in:
Mark Otto
2013-07-17 23:54:09 -07:00
parent 3604b86806
commit e57758cbb4
5 changed files with 45 additions and 40 deletions

View File

@@ -120,6 +120,17 @@
}
}
// Dropdown section headers
// ---------------------------
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: @font-size-small;
line-height: @line-height-base;
color: @gray-light;
}
// Backdrop to catch body clicks on mobile, etc.
// ---------------------------
@@ -158,11 +169,3 @@
margin-bottom: 1px;
}
}
// Tweak nav headers
// ---------------------------
// Increase padding from 15px to 20px on sides
.dropdown .dropdown-menu .nav-header {
padding-left: 20px;
padding-right: 20px;
}

View File

@@ -195,22 +195,6 @@
// Nav headers (for dropdowns and lists)
// -------------------------
.nav-header {
display: block;
padding: 3px 15px;
font-size: @font-size-mini;
font-weight: bold;
line-height: @line-height-base;
color: @gray-light;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
text-transform: uppercase;
}
// Tabbable tabs
// -------------------------