diff --git a/scss/_alert.scss b/scss/_alert.scss index 8ec7d06628..2e6f46b166 100644 --- a/scss/_alert.scss +++ b/scss/_alert.scss @@ -3,8 +3,9 @@ // -------------------------------------------------- +// // Base styles -// ------------------------- +// .alert { padding: $alert-padding; @@ -34,6 +35,7 @@ font-weight: $alert-link-font-weight; } + // Dismissible alerts // // Expand the right padding and account for the close button's positioning. @@ -50,6 +52,7 @@ } } + // Alternate styles // // Generate contextual modifier classes for colorizing the alert. diff --git a/scss/_badge.scss b/scss/_badge.scss index b3afccd797..b264108f08 100644 --- a/scss/_badge.scss +++ b/scss/_badge.scss @@ -3,7 +3,6 @@ // -------------------------------------------------- -// Base class .badge { position: relative; top: -.1em; diff --git a/scss/_button-group.scss b/scss/_button-group.scss index 0e61f881a6..187166b003 100644 --- a/scss/_button-group.scss +++ b/scss/_button-group.scss @@ -2,6 +2,7 @@ // Button groups // -------------------------------------------------- + // Make the div behave like a button .btn-group, .btn-group-vertical { @@ -103,8 +104,9 @@ .btn-group-lg > .btn { @extend .btn-lg; } +// // Split button dropdowns -// ---------------------- +// // Give the line between buttons some depth .btn-group > .btn + .dropdown-toggle { @@ -143,8 +145,10 @@ } + +// // Vertical button groups -// ---------------------- +// .btn-group-vertical { > .btn, diff --git a/scss/_buttons.scss b/scss/_buttons.scss index c434c8ab44..addc7b2465 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -3,8 +3,9 @@ // -------------------------------------------------- +// // Base styles -// -------------------------------------------------- +// .btn { display: inline-block; @@ -58,8 +59,9 @@ fieldset[disabled] a.btn { } +// // Alternate buttons -// -------------------------------------------------- +// .btn-primary { @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); @@ -81,8 +83,9 @@ fieldset[disabled] a.btn { } +// // Link buttons -// ------------------------- +// // Make a button look and behave like a link .btn-link { @@ -121,8 +124,9 @@ fieldset[disabled] a.btn { } +// // Button Sizes -// -------------------------------------------------- +// .btn-lg { // line-height: ensure even-numbered height of button next to large input @@ -137,8 +141,9 @@ fieldset[disabled] a.btn { } +// // Block button -// -------------------------------------------------- +// .btn-block { display: block;