1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Bootstrap & Bootswatch Upgrade: 4.5 -> 4.5.3

This commit is contained in:
catborise 2020-11-06 16:16:40 +03:00
parent 12fa9e7cf1
commit e2e62a3ad4
67 changed files with 1507 additions and 1368 deletions

View file

@ -1,10 +1,10 @@
// Superhero 4.5.0
// Superhero 4.5.3
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap" !default;
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default;
@import url($web-font-path);
// Navbar ======================================================================
@ -30,7 +30,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700&displa
// Typography ==================================================================
.dropdown-menu {
font-size: $font-size-sm;
}
@ -52,7 +51,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700&displa
}
a:not(.btn) {
color: #fff;
color: $white;
text-decoration: underline;
}
@ -64,116 +63,149 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700&displa
color: $text-muted;
}
&-dark {
color: #fff;
}
&-primary {
&, > th, > td {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&, > th, > td {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&, > th, > td {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&, > th, > td {
color: $white;
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&, > th, > td {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&, > th, > td {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&, > th, > td {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&, > th, > td {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&, > th, > td {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&, > th, > td {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&, > th, > td {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
@ -206,7 +238,7 @@ label,
.page-link:hover,
.page-link:focus {
color: #fff;
color: $white;
text-decoration: none;
}
@ -218,7 +250,7 @@ label,
a,
.alert-link {
color: #fff;
color: $white;
text-decoration: underline;
}
@ -241,9 +273,9 @@ label,
}
.close {
color: #fff;
color: $white;
text-shadow: none;
opacity: 0.5;
opacity: .5;
&:hover,
&:focus {
@ -251,8 +283,6 @@ label,
}
}
// Progress bars ===============================================================
// Popovers ===============================================================
.popover-header {

View file

@ -1,4 +1,4 @@
// Superhero 4.5.0
// Superhero 4.5.3
// Bootswatch
//
@ -6,8 +6,8 @@
//
$white: #fff !default;
$gray-100: #EBEBEB !default;
$gray-200: #4E5D6C !default;
$gray-100: #ebebeb !default;
$gray-200: #4e5d6c !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
@ -17,7 +17,7 @@ $gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #DF691A !default;
$blue: #df691a !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
@ -41,29 +41,28 @@ $yiq-contrasted-threshold: 185 !default;
// Body
$body-bg: #2B3E50 !default;
$body-bg: #2b3e50 !default;
$body-color: $gray-100 !default;
// Components
$border-radius: 0px !default;
$border-radius-lg: 0px !default;
$border-radius-sm: 0px !default;
$border-radius: 0 !default;
$border-radius-lg: 0 !default;
$border-radius-sm: 0 !default;
// Fonts
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$text-muted: rgba(255,255,255,.4) !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$text-muted: rgba(255, 255, 255, .4) !default;
// Tables
$table-accent-bg: rgba($white,.05) !default;
$table-hover-bg: rgba($white,.075) !default;
$table-border-color: rgba($black,.15) !default;
$table-accent-bg: rgba($white, .05) !default;
$table-hover-bg: rgba($white, .075) !default;
$table-border-color: rgba($black, .15) !default;
$table-head-bg: $light !default;
$table-dark-bg: $light !default;
$table-dark-border-color: $gray-200 !default;
$table-dark-color: $body-bg !default;
@ -71,36 +70,30 @@ $table-dark-color: $body-bg !default;
// Forms
$input-disabled-bg: $gray-100 !default;
$input-border-color: transparent !default;
$input-group-addon-color: $body-color !default;
$custom-file-button-color: $white !default;
$custom-file-border-color: $gray-200 !default;
// Dropdowns
$dropdown-bg: $gray-200 !default;
$dropdown-divider-bg: rgba($black,.15) !default;
$dropdown-divider-bg: rgba($black, .15) !default;
$dropdown-link-color: $body-color !default;
$dropdown-link-hover-color: $dropdown-link-color !default;
$dropdown-link-hover-bg: $table-hover-bg !default;
// Navs
$nav-link-disabled-color: rgba(255,255,255,.4) !default;
$nav-link-disabled-color: rgba(255, 255, 255, .4) !default;
$nav-tabs-border-color: $gray-200 !default;
$nav-tabs-link-active-color: $body-color !default;
$nav-tabs-link-active-border-color: $gray-200 !default;
// Navbar
$navbar-padding-y: 0.7rem !default;
$navbar-dark-color: rgba($white,.75) !default;
$navbar-padding-y: .7rem !default;
$navbar-dark-color: rgba($white, .75) !default;
$navbar-dark-hover-color: $white !default;
// Pagination
@ -108,11 +101,9 @@ $navbar-dark-hover-color: $white !default;
$pagination-color: $white !default;
$pagination-bg: $gray-200 !default;
$pagination-border-color: transparent !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: $nav-link-disabled-color !default;
$pagination-hover-border-color: $pagination-border-color !default;
$pagination-disabled-color: $nav-link-disabled-color !default;
$pagination-disabled-bg: $pagination-bg !default;
$pagination-disabled-border-color: $pagination-border-color !default;
@ -121,19 +112,17 @@ $pagination-disabled-border-color: $pagination-border-color !default;
$card-cap-bg: $table-hover-bg !default;
$card-bg: $gray-200 !default;
$card-inner-border-radius: 0px !default;
$card-inner-border-radius: 0 !default;
// Popovers
$popover-bg: $gray-200 !default;
$popover-header-bg: $table-hover-bg !default;
// Toasts
$toast-background-color: $gray-200 !default;
$toast-border-color: rgba(0,0,0,.2) !default;
$toast-border-color: rgba(0, 0, 0, .2) !default;
$toast-header-color: $body-color !default;
$toast-header-background-color: $toast-background-color !default;
$toast-header-border-color: $toast-border-color !default;
@ -141,18 +130,14 @@ $toast-header-border-color: $toast-border-color !default;
// Modals
$modal-content-bg: $gray-200 !default;
$modal-header-border-color: rgba(0,0,0,.2) !default;
$modal-header-border-color: rgba(0, 0, 0, .2) !default;
// List group
$list-group-bg: $gray-200 !default;
$list-group-border-color: transparent !default;
$list-group-hover-bg: $nav-link-disabled-color !default;
$list-group-disabled-color: $nav-link-disabled-color !default;
$list-group-action-color: $white !default;
$list-group-action-hover-color: $white !default;