diff options
| author | Mark Otto <[email protected]> | 2012-01-06 23:59:22 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-06 23:59:22 -0800 |
| commit | cfc2353059df628c67d19a3c5c3ead2cc6051f53 (patch) | |
| tree | 64d535e105e36458aba2c621e05d8413c6d246a9 /lib | |
| parent | 5cb76037ae70ca26a923750ca9441b04d2fbd6a7 (diff) | |
| download | bootstrap-cfc2353059df628c67d19a3c5c3ead2cc6051f53.tar.xz bootstrap-cfc2353059df628c67d19a3c5c3ead2cc6051f53.zip | |
front page docs updated to include old getting started section, update code styles to look like github gists, and lots more docs updates
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/forms.less | 10 | ||||
| -rw-r--r-- | lib/navbar.less | 5 | ||||
| -rw-r--r-- | lib/sidenav.less | 11 | ||||
| -rw-r--r-- | lib/type.less | 12 |
4 files changed, 28 insertions, 10 deletions
diff --git a/lib/forms.less b/lib/forms.less index 938983536..8b85d240a 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -137,6 +137,16 @@ textarea { padding-top: 6px; // has to be padding because margin collaspes } +// Radios and checkboxes on same line +.radio.inline, +.checkbox.inline { + display: inline-block; +} +.radio.inline + .radio.inline, +.checkbox.inline + .checkbox.inline { + margin-left: 10px; +} + // FOCUS STATE diff --git a/lib/navbar.less b/lib/navbar.less index a96aa941c..edc19c641 100644 --- a/lib/navbar.less +++ b/lib/navbar.less @@ -53,6 +53,11 @@ } } +// Navbar forms +.navbar-form { + margin-bottom: 0; // remove default bottom margin +} + // Navbar search .navbar-search { position: relative; diff --git a/lib/sidenav.less b/lib/sidenav.less index afc5ea1dd..51f97f44d 100644 --- a/lib/sidenav.less +++ b/lib/sidenav.less @@ -8,19 +8,22 @@ .side-nav .nav-label, .side-nav .nav-item { display: block; - padding: 3px 16px; + padding: 3px 15px; text-shadow: 0 1px 0 rgba(255,255,255,.5); } .side-nav .nav-label { font-size: 11px; line-height: @baseLineHeight; - color: @grayDark; + color: @grayLight; text-transform: uppercase; } .side-nav .nav-group { - margin: 0 -1px; + margin: 0; // clear default ul margins list-style: none; } +.side-nav .nav-group + .nav-label { + margin-top: 9px; +} .side-nav .nav-item { font-weight: bold; @@ -34,7 +37,7 @@ .side-nav .active .nav-item { color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); - #gradient > .vertical(#ccc, #aaa); + #gradient > .vertical(#ccc, #999); @shadow: inset 0 1px 0 rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.05); .box-shadow(@shadow); }
\ No newline at end of file diff --git a/lib/type.less b/lib/type.less index 59dae717f..4aa642358 100644 --- a/lib/type.less +++ b/lib/type.less @@ -50,20 +50,20 @@ h3 { font-size: 14px; } } +h4, h5, h6 { + line-height: @baseLineHeight; +} h4 { - font-size: 16px; - line-height: @baseLineHeight * 2; + font-size: 14px; small { font-size: 12px; } } h5 { - font-size: 14px; - line-height: @baseLineHeight; + font-size: 12px; } h6 { - font-size: 13px; - line-height: @baseLineHeight; + font-size: 11px; color: @grayLight; text-transform: uppercase; } |
