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 @@
// Flatly 4.5.0
// Flatly 4.5.3
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&display=swap" !default;
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default;
@import url($web-font-path);
// Navbar =======================================================================
@ -32,131 +32,163 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
&-secondary:hover,
&-warning,
&-warning:hover {
color: #fff;
color: $white;
}
}
// Typography ==================================================================
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-success,
&-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;
}
}
@ -164,8 +196,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
}
}
// Forms =======================================================================
// Navs ========================================================================
.nav-tabs {
@ -189,7 +219,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
.close {
text-decoration: none;
opacity: 0.4;
opacity: .4;
&:hover,
&:focus {
@ -200,7 +230,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
.badge {
&-secondary,
&-warning {
color: #fff;
color: $white;
}
}
@ -210,7 +240,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
a,
.alert-link {
color: #fff;
color: $white;
text-decoration: underline;
}
@ -226,20 +256,17 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic&
&-light {
&,
& a,
& .alert-link {
a,
.alert-link {
color: $body-color;
}
}
}
// Progress bars ===============================================================
// Containers ==================================================================
.modal,
.toast {
.close {
color: $black;