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 @@
// Yeti 4.5.0
// Yeti 4.5.3
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700&display=swap" !default;
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" !default;
@import url($web-font-path);
// Navbar ======================================================================
@ -15,7 +15,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
}
.bg-primary {
.dropdown-menu {
background-color: $primary;
@ -28,7 +27,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($primary, 5%);
color: #fff;
color: $white;
}
}
}
@ -48,13 +47,12 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($gray-800, 5%);
color: #fff;
color: $white;
}
}
}
.bg-light {
.dropdown-menu {
background-color: $gray-200;
@ -111,13 +109,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
}
.btn-group {
.dropdown-menu {
border-top-width: 0;
}
.dropdown-toggle {
&.btn-primary ~ .dropdown-menu {
background-color: $primary;
border-color: darken($primary, 5%);
@ -137,7 +133,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
border-color: darken($secondary, 5%);
.dropdown-item {
color: $white;
color: $body-color;
}
.dropdown-item:hover,
@ -190,7 +186,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
&.btn-danger ~ .dropdown-menu {
background-color: $danger;
border-color: darken($primary, 5%);
border-color: darken($danger, 5%);
.dropdown-item {
color: $white;
@ -221,121 +217,155 @@ table {
}
.table {
&-primary,
&-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;
}
}
@ -357,8 +387,8 @@ label,
// Navs ========================================================================
.dropdown-item {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
padding-top: .75rem;
padding-bottom: .75rem;
font-size: $font-size-sm;
font-weight: 300;
}
@ -398,8 +428,8 @@ label,
.page-link {
border-color: transparent;
border-radius: 3px;
margin-left: 0.1em;
margin-right: 0.1em;
margin-left: .1em;
margin-right: .1em;
&:hover,
&:focus {
@ -433,7 +463,7 @@ label,
// Indicators ==================================================================
.close {
opacity: 0.6;
opacity: .6;
text-shadow: none;
&:hover,
@ -448,64 +478,80 @@ label,
color: $white;
&-primary {
&, > th, > td {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&, > th, > td {
&,
> th,
> td {
background-color: $secondary;
}
}
&-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;
}
}
&-dark {
&, > th, > td {
&,
> th,
> td {
background-color: $dark;
}
}
&-light {
&, > th, > td {
&,
> th,
> td {
background-color: $light;
}
}
.alert-link {
font-weight: normal;
color: #fff;
font-weight: 400;
color: $white;
text-decoration: underline;
}
&-secondary,
&-light {
&,
& a:not(.btn),
& .alert-link {
a:not(.btn),
.alert-link {
color: $body-color;
}
}
@ -537,6 +583,3 @@ label,
border-top-left-radius: 0;
border-top-right-radius: 0;
}
// Containers ==================================================================