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 {