From: Alan Knowles Date: Thu, 15 Oct 2020 04:55:19 +0000 (+0800) Subject: scss/bootstrap/_alert.scss X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=546e520c353e28a8bdbf7f43d1293bcc337c2ae2 scss/bootstrap/_alert.scss scss/bootstrap/_badge.scss scss/bootstrap/bootstrap-grid.scss scss/bootstrap/bootstrap-reboot.scss scss/bootstrap/bootstrap.scss scss/bootstrap/bootstrap-utilities.scss scss/bootstrap/_breadcrumb.scss scss/bootstrap/_button-group.scss scss/bootstrap/_buttons.scss scss/bootstrap/_card.scss scss/bootstrap/_carousel.scss scss/bootstrap/_close.scss scss/bootstrap/_code.scss scss/bootstrap/_containers.scss scss/bootstrap/_custom-forms.scss scss/bootstrap/_dropdown.scss scss/bootstrap/forms scss/bootstrap/_forms.scss scss/bootstrap/_functions.scss scss/bootstrap/_grid.scss scss/bootstrap/helpers scss/bootstrap/_helpers.scss scss/bootstrap/_images.scss scss/bootstrap/_input-group.scss scss/bootstrap/_jumbotron.scss scss/bootstrap/_list-group.scss scss/bootstrap/_media.scss scss/bootstrap/mixins scss/bootstrap/_mixins.scss scss/bootstrap/_modal.scss scss/bootstrap/_navbar.scss scss/bootstrap/_nav.scss scss/bootstrap/_pagination.scss scss/bootstrap/_popover.scss scss/bootstrap/_print.scss scss/bootstrap/_progress.scss scss/bootstrap/_reboot.scss scss/bootstrap/_root.scss scss/bootstrap/_spinners.scss scss/bootstrap/_tables.scss scss/bootstrap/_toasts.scss scss/bootstrap/_tooltip.scss scss/bootstrap/_transitions.scss scss/bootstrap/_type.scss scss/bootstrap/utilities scss/bootstrap/_utilities.scss scss/bootstrap/_variables.scss scss/bootstrap/vendor scss/bootstrap/mixins/_table-row.scss scss/bootstrap/mixins/_forms.scss scss/bootstrap/mixins/_hover.scss scss/bootstrap/mixins/_box-shadow.scss scss/bootstrap/mixins/_utilities.scss scss/bootstrap/mixins/_visually-hidden.scss scss/bootstrap/mixins/_border-radius.scss scss/bootstrap/mixins/_pagination.scss scss/bootstrap/mixins/_reset-text.scss scss/bootstrap/mixins/_badge.scss scss/bootstrap/mixins/_resize.scss scss/bootstrap/mixins/_grid-framework.scss scss/bootstrap/mixins/_background-variant.scss scss/bootstrap/mixins/_lists.scss scss/bootstrap/mixins/_grid.scss scss/bootstrap/mixins/_float.scss scss/bootstrap/mixins/_clearfix.scss scss/bootstrap/mixins/_text-hide.scss scss/bootstrap/mixins/_size.scss scss/bootstrap/mixins/_alert.scss scss/bootstrap/mixins/_visibility.scss scss/bootstrap/mixins/_container.scss scss/bootstrap/mixins/_breakpoints.scss scss/bootstrap/mixins/_buttons.scss scss/bootstrap/mixins/_table-variants.scss scss/bootstrap/mixins/_text-truncate.scss scss/bootstrap/mixins/_list-group.scss scss/bootstrap/mixins/_gradients.scss scss/bootstrap/mixins/_transition.scss scss/bootstrap/mixins/_image.scss scss/bootstrap/mixins/_screen-reader.scss scss/bootstrap/mixins/_text-emphasis.scss scss/bootstrap/mixins/_nav-divider.scss scss/bootstrap/mixins/_caret.scss scss/bootstrap/mixins/_deprecate.scss scss/bootstrap/utilities/_screenreaders.scss scss/bootstrap/utilities/_spacing.scss scss/bootstrap/utilities/_sizing.scss scss/bootstrap/utilities/_shadows.scss scss/bootstrap/utilities/_text.scss scss/bootstrap/utilities/_align.scss scss/bootstrap/utilities/_flex.scss scss/bootstrap/utilities/_api.scss scss/bootstrap/utilities/_float.scss scss/bootstrap/utilities/_clearfix.scss scss/bootstrap/utilities/_embed.scss scss/bootstrap/utilities/_visibility.scss scss/bootstrap/utilities/_display.scss scss/bootstrap/utilities/_position.scss scss/bootstrap/utilities/_background.scss scss/bootstrap/utilities/_overflow.scss scss/bootstrap/utilities/_borders.scss scss/bootstrap/forms/_labels.scss scss/bootstrap/forms/_form-file.scss scss/bootstrap/forms/_form-control.scss scss/bootstrap/forms/_form-select.scss scss/bootstrap/forms/_form-range.scss scss/bootstrap/forms/_input-group.scss scss/bootstrap/forms/_form-text.scss scss/bootstrap/forms/_validation.scss scss/bootstrap/forms/_form-check.scss scss/bootstrap/helpers/_visually-hidden.scss scss/bootstrap/helpers/_stretched-link.scss scss/bootstrap/helpers/_clearfix.scss scss/bootstrap/helpers/_ratio.scss scss/bootstrap/helpers/_position.scss scss/bootstrap/helpers/_colored-links.scss scss/bootstrap/helpers/_text-truncation.scss scss/bootstrap/vendor/_rfs.scss --- diff --git a/scss/bootstrap/_alert.scss b/scss/bootstrap/_alert.scss deleted file mode 100644 index dd43e2376a..0000000000 --- a/scss/bootstrap/_alert.scss +++ /dev/null @@ -1,51 +0,0 @@ -// -// Base styles -// - -.alert { - position: relative; - padding: $alert-padding-y $alert-padding-x; - margin-bottom: $alert-margin-bottom; - border: $alert-border-width solid transparent; - @include border-radius($alert-border-radius); -} - -// Headings for larger alerts -.alert-heading { - // Specified to prevent conflicts of changing $headings-color - color: inherit; -} - -// Provide class for links that match alerts -.alert-link { - font-weight: $alert-link-font-weight; -} - - -// Dismissible alerts -// -// Expand the right padding and account for the close button's positioning. - -.alert-dismissible { - padding-right: ($close-font-size + $alert-padding-x * 2); - - // Adjust close link position - .close { - position: absolute; - top: 0; - right: 0; - padding: $alert-padding-y $alert-padding-x; - color: inherit; - } -} - - -// Alternate styles -// -// Generate contextual modifier classes for colorizing the alert. - -@each $color, $value in $theme-colors { - .alert-#{$color} { - @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level)); - } -} diff --git a/scss/bootstrap/_badge.scss b/scss/bootstrap/_badge.scss deleted file mode 100644 index 3e144f24c6..0000000000 --- a/scss/bootstrap/_badge.scss +++ /dev/null @@ -1,53 +0,0 @@ -// Base class -// -// Requires one of the contextual, color modifier classes for `color` and -// `background-color`. - -.badge { - display: inline-block; - padding: $badge-padding-y $badge-padding-x; - font-size: $badge-font-size; - font-weight: $badge-font-weight; - line-height: 1; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - @include border-radius($badge-border-radius); -/* - @at-root a#{&} { - @include hover-focus { - text-decoration: none; - } - } -*/ - // Empty badges collapse automatically - &:empty { - display: none; - } -} - -// Quick fix for badges in buttons -.btn .badge { - position: relative; - top: -1px; -} - -// Pill badges -// -// Make them extra rounded with a modifier to replace v3's badges. - -.badge-pill { - padding-right: $badge-pill-padding-x; - padding-left: $badge-pill-padding-x; - @include border-radius($badge-pill-border-radius); -} - -// Colors -// -// Contextual variations (linked badges get darker on :hover). - -@each $color, $value in $theme-colors { - .badge-#{$color} { - @include badge-variant($value); - } -} diff --git a/scss/bootstrap/_breadcrumb.scss b/scss/bootstrap/_breadcrumb.scss deleted file mode 100644 index be30950690..0000000000 --- a/scss/bootstrap/_breadcrumb.scss +++ /dev/null @@ -1,41 +0,0 @@ -.breadcrumb { - display: flex; - flex-wrap: wrap; - padding: $breadcrumb-padding-y $breadcrumb-padding-x; - margin-bottom: $breadcrumb-margin-bottom; - list-style: none; - background-color: $breadcrumb-bg; - @include border-radius($breadcrumb-border-radius); -} - -.breadcrumb-item { - // The separator between breadcrumbs (by default, a forward-slash: "/") - + .breadcrumb-item { - padding-left: $breadcrumb-item-padding; - - &::before { - display: inline-block; // Suppress underlining of the separator in modern browsers - padding-right: $breadcrumb-item-padding; - color: $breadcrumb-divider-color; - content: $breadcrumb-divider; - } - } - - // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built - // without `