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 ==================================================================