Massive customizer audit and overhaul

I probably missed a few things and screwed up a few others, but this
takes the place of much of #9910. I haven't added many variables—that
should be reserved for v3.1—but I have rejiggered the layout, added
missing ones, corrected wrong values, etc.

/cc @cvrebert @juthilo @saas786
This commit is contained in:
Mark Otto 2013-09-11 21:14:10 -07:00
parent ba818bc4e3
commit 291a23aa4f
4 changed files with 572 additions and 305 deletions

View File

@ -1006,15 +1006,23 @@ h1[id] {
.bs-customizer label { .bs-customizer label {
margin-top: 10px; margin-top: 10px;
font-weight: 500; font-weight: 500;
color: #444; color: #555;
} }
.bs-customizer h2 { .bs-customizer h2 {
margin-top: 0; margin-top: 0;
margin-bottom: 5px; margin-bottom: 5px;
padding-top: 30px; padding-top: 30px;
} }
.bs-customizer .bs-docs-section > h4 { .bs-customizer h3 {
margin-bottom: 0;
}
.bs-customizer h4 {
margin-top: 15px; margin-top: 15px;
margin-bottom: 0;
}
.bs-customizer .bs-callout h4 {
margin-top: 0; /* lame, but due to specificity we have to duplicate */
magin-bottom: 5px;
} }
.bs-customizer input[type="text"] { .bs-customizer input[type="text"] {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
@ -1022,6 +1030,7 @@ h1[id] {
} }
.bs-customizer .help-block { .bs-customizer .help-block {
font-size: 12px; font-size: 12px;
margin-bottom: 5px;
} }
/* For the variables, use regular weight */ /* For the variables, use regular weight */

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -256,13 +256,14 @@
// Basics of a navbar // Basics of a navbar
@navbar-height: 50px; @navbar-height: 50px;
@navbar-margin-bottom: @line-height-computed; @navbar-margin-bottom: @line-height-computed;
@navbar-default-color: #777;
@navbar-default-bg: #f8f8f8;
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
@navbar-border-radius: @border-radius-base; @navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2); @navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-color: #777;
@navbar-default-bg: #f8f8f8;
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
// Navbar links // Navbar links
@navbar-default-link-color: #777; @navbar-default-link-color: #777;
@navbar-default-link-hover-color: #333; @navbar-default-link-hover-color: #333;
@ -585,8 +586,8 @@
// Close // Close
// ------------------------ // ------------------------
@close-color: #000;
@close-font-weight: bold; @close-font-weight: bold;
@close-color: #000;
@close-text-shadow: 0 1px 0 #fff; @close-text-shadow: 0 1px 0 #fff;