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,14 +1,12 @@
// Solar 4.5.0
// Solar 4.5.3
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" !default;
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" !default;
@import url($web-font-path);
// Navbar ======================================================================
// Buttons =====================================================================
.btn {
@ -23,12 +21,9 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
}
}
// Typography ==================================================================
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-dark,
@ -36,115 +31,150 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
&-info,
&-warning,
&-danger {
color: #fff;
color: $white;
}
&-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 {
&,
> 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;
}
}
@ -155,7 +185,8 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
// Forms =======================================================================
.custom-control-input:checked ~ .custom-control-label::before {
background: $primary;
background-color: $primary;
background-image: none;
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
@ -163,7 +194,8 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
background: $primary;
background-color: $primary;
background-image: none;
border-color: $primary;
}
@ -173,12 +205,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
}
.custom-control-input:checked ~ .custom-control-label::after {
background-color: rgba(255, 255, 255, 0.75);
background-color: rgba(255, 255, 255, .75);
}
}
// Navs ========================================================================
// Indicators ==================================================================
.alert {
@ -187,7 +217,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
a,
.alert-link {
color: #fff;
color: $white;
text-decoration: underline;
}
@ -203,13 +233,9 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display
&-light {
&,
& a:not(.btn),
& .alert-link {
a:not(.btn),
.alert-link {
color: $body-bg;
}
}
}
// Progress bars ===============================================================
// Containers ==================================================================

View file

@ -1,4 +1,4 @@
// Solar 4.5.0
// Solar 4.5.3
// Bootswatch
//
@ -7,27 +7,27 @@
// stylelint-disable
$white: #fff !default;
$gray-100: #FDF6E3 !default;
$gray-200: #EEE8D5 !default;
$gray-100: #fdf6e3 !default;
$gray-200: #eee8d5 !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #839496 !default;
$gray-700: #495057 !default;
$gray-800: #073642 !default;
$gray-900: #002B36 !default;
$gray-900: #002b36 !default;
$black: #000 !default;
$blue: #B58900 !default;
$blue: #b58900 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #D33682 !default;
$red: #d33682 !default;
$orange: #fd7e14 !default;
$yellow: #CB4B16 !default;
$green: #2AA198 !default;
$yellow: #cb4b16 !default;
$green: #2aa198 !default;
$teal: #20c997 !default;
$cyan: #268BD2 !default;
$cyan: #268bd2 !default;
$primary: $blue !default;
$secondary: $gray-600 !default;
@ -52,33 +52,28 @@ $link-hover-color: $link-color !default;
// Components
$component-active-color: rgba(255,255,255,.75) !default;
$component-active-color: rgba(255, 255, 255, .75) !default;
$component-active-bg: $gray-800 !default;
// Fonts
$font-family-sans-serif: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default !default;
$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default !default;
// Tables
$table-accent-bg: rgba($white,.05) !default;
$table-hover-bg: rgba($white,.075) !default;
$table-accent-bg: rgba($white, .05) !default;
$table-hover-bg: rgba($white, .075) !default;
$table-border-color: $component-active-bg !default;
$table-dark-bg: $gray-500 !default;
$table-dark-border-color: darken($gray-500, 3%) !default;
$table-dark-color: $body-bg !default;
// Forms
$input-bg: #A9BDBD !default;
$input-disabled-bg: #657B83 !default;
$input-border-color: rgba($black,.15) !default;
$input-placeholder-color: #657B83 !default;
$input-bg: #a9bdbd !default;
$input-disabled-bg: #657b83 !default;
$input-border-color: rgba($black, .15) !default;
$input-placeholder-color: #657b83 !default;
$input-group-addon-color: $gray-600 !default;
$input-group-addon-bg: $gray-800 !default;
@ -86,9 +81,8 @@ $input-group-addon-bg: $gray-800 !default;
$dropdown-bg: $gray-800 !default;
$dropdown-divider-bg: $body-bg !default;
$dropdown-link-color: $body-color !default;
$dropdown-link-hover-color: rgba(255,255,255,.75) !default;
$dropdown-link-hover-color: rgba(255, 255, 255, .75) !default;
$dropdown-link-hover-bg: $body-bg !default;
// Navs
@ -101,21 +95,18 @@ $nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
// Navbars
$navbar-light-color: rgba($black,.4) !default !default;
$navbar-light-active-color: rgba($black,.7) !default !default;
$navbar-light-color: rgba($black, .4) !default !default;
$navbar-light-active-color: rgba($black, .7) !default !default;
// Pagination
$pagination-bg: transparent !default;
$pagination-border-color: $gray-800 !default;
$pagination-hover-bg: $gray-800 !default;
$pagination-hover-border-color: $gray-800 !default;
$pagination-active-color: rgba(255,255,255,.75) !default;
$pagination-active-color: rgba(255, 255, 255, .75) !default;
$pagination-active-bg: $gray-800 !default;
$pagination-active-border-color: $gray-800 !default;
$pagination-disabled-color: $gray-800 !default;
$pagination-disabled-bg: transparent !default;
$pagination-disabled-border-color: $gray-800 !default;
@ -134,14 +125,12 @@ $card-bg: rgba($gray-200, .125) !default;
$popover-bg: $gray-800 !default;
$popover-border-color: $body-bg !default;
$popover-header-bg: $gray-800 !default;
// Toasts
$toast-background-color: lighten($body-bg, 5%) !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;
@ -150,7 +139,6 @@ $toast-header-border-color: $toast-border-color !default;
$modal-content-bg: $gray-800 !default;
$modal-content-border-color: $body-bg !default;
$modal-header-border-color: $body-bg !default;
// Progress bars
@ -162,13 +150,10 @@ $progress-bar-color: $primary !default;
$list-group-bg: transparent !default;
$list-group-border-color: $gray-800 !default;
$list-group-hover-bg: $gray-800 !default;
$list-group-active-color: rgba(255,255,255,.75) !default;
$list-group-active-color: rgba(255, 255, 255, .75) !default;
$list-group-disabled-color: $component-active-bg !default;
$list-group-disabled-bg: transparent !default;
$list-group-action-color: $body-color !default;
$list-group-action-hover-color: $component-active-color !default;