mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 08:34:08 +02:00
clean up comments and spacing
This commit is contained in:
@@ -3,8 +3,9 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Base styles
|
// Base styles
|
||||||
// -------------------------
|
//
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
padding: $alert-padding;
|
padding: $alert-padding;
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
font-weight: $alert-link-font-weight;
|
font-weight: $alert-link-font-weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Dismissible alerts
|
// Dismissible alerts
|
||||||
//
|
//
|
||||||
// Expand the right padding and account for the close button's positioning.
|
// Expand the right padding and account for the close button's positioning.
|
||||||
@@ -50,6 +52,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Alternate styles
|
// Alternate styles
|
||||||
//
|
//
|
||||||
// Generate contextual modifier classes for colorizing the alert.
|
// Generate contextual modifier classes for colorizing the alert.
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Base class
|
|
||||||
.badge {
|
.badge {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -.1em;
|
top: -.1em;
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
// Button groups
|
// Button groups
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Make the div behave like a button
|
// Make the div behave like a button
|
||||||
.btn-group,
|
.btn-group,
|
||||||
.btn-group-vertical {
|
.btn-group-vertical {
|
||||||
@@ -103,8 +104,9 @@
|
|||||||
.btn-group-lg > .btn { @extend .btn-lg; }
|
.btn-group-lg > .btn { @extend .btn-lg; }
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Split button dropdowns
|
// Split button dropdowns
|
||||||
// ----------------------
|
//
|
||||||
|
|
||||||
// Give the line between buttons some depth
|
// Give the line between buttons some depth
|
||||||
.btn-group > .btn + .dropdown-toggle {
|
.btn-group > .btn + .dropdown-toggle {
|
||||||
@@ -143,8 +145,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Vertical button groups
|
// Vertical button groups
|
||||||
// ----------------------
|
//
|
||||||
|
|
||||||
.btn-group-vertical {
|
.btn-group-vertical {
|
||||||
> .btn,
|
> .btn,
|
||||||
|
@@ -3,8 +3,9 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Base styles
|
// Base styles
|
||||||
// --------------------------------------------------
|
//
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -58,8 +59,9 @@ fieldset[disabled] a.btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Alternate buttons
|
// Alternate buttons
|
||||||
// --------------------------------------------------
|
//
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
|
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
|
||||||
@@ -81,8 +83,9 @@ fieldset[disabled] a.btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Link buttons
|
// Link buttons
|
||||||
// -------------------------
|
//
|
||||||
|
|
||||||
// Make a button look and behave like a link
|
// Make a button look and behave like a link
|
||||||
.btn-link {
|
.btn-link {
|
||||||
@@ -121,8 +124,9 @@ fieldset[disabled] a.btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Button Sizes
|
// Button Sizes
|
||||||
// --------------------------------------------------
|
//
|
||||||
|
|
||||||
.btn-lg {
|
.btn-lg {
|
||||||
// line-height: ensure even-numbered height of button next to large input
|
// line-height: ensure even-numbered height of button next to large input
|
||||||
@@ -137,8 +141,9 @@ fieldset[disabled] a.btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// Block button
|
// Block button
|
||||||
// --------------------------------------------------
|
//
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
display: block;
|
display: block;
|
||||||
|
Reference in New Issue
Block a user