update assets from bootstrap@3.3.7

This commit is contained in:
Vu Nguyen
2021-01-14 20:39:47 -06:00
parent 3deee881b1
commit ba3182fd59
73 changed files with 3046 additions and 5453 deletions

View File

@@ -1,7 +1,10 @@
// stylelint-disable selector-no-qualifying-type
//
// Buttons
// --------------------------------------------------
// Base styles
// --------------------------------------------------
@@ -10,12 +13,12 @@
margin-bottom: 0; // For input.btn
font-weight: @btn-font-weight;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid transparent;
white-space: nowrap;
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);
.user-select(none);
@@ -37,16 +40,16 @@
&:active,
&.active {
outline: 0;
background-image: none;
.box-shadow(inset 0 3px 5px rgba(0,0,0,0.125));
outline: 0;
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, .125));
}
&.disabled,
&[disabled],
fieldset[disabled] & {
cursor: @cursor-disabled;
.opacity(0.65);
.opacity(.65);
.box-shadow(none);
}
@@ -58,6 +61,7 @@
}
}
// Alternate buttons
// --------------------------------------------------
@@ -84,13 +88,14 @@
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
}
// Link buttons
// -------------------------
// Make a button look and behave like a link
.btn-link {
font-weight: 400;
color: @link-color;
font-weight: normal;
border-radius: 0;
&,
@@ -123,6 +128,7 @@
}
}
// Button Sizes
// --------------------------------------------------
@@ -138,6 +144,7 @@
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);
}
// Block button
// --------------------------------------------------
@@ -152,9 +159,9 @@
}
// Specificity overrides
input[type='submit'],
input[type='reset'],
input[type='button'] {
input[type="submit"],
input[type="reset"],
input[type="button"] {
&.btn-block {
width: 100%;
}