mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
chore(frontend): upgrade Bootswatch and Bootstrap SCSS to v5.3.3
- Upgraded Bootswatch SCSS source files across all 25 themes (dev/scss/bootswatch/) to v5.3.3 - Upgraded Bootstrap SCSS source files (dev/scss/bootstrap/) to v5.3.3 to match static/js/bootstrap.bundle.min.js - Updated dev/scss/bootstrap-overrides.scss to import bootstrap/variables-dark - Verified error-free LibSass compilation for all 26 themes (25 Bootswatch + bootstrap-orj) - Recompiled static/css/wvc-main.min.css
This commit is contained in:
parent
ac91248a29
commit
2ea6652a0e
155 changed files with 1923 additions and 1095 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Yeti 5.2.2
|
||||
// Yeti 5.3.3
|
||||
// Bootswatch
|
||||
|
||||
|
||||
|
|
@ -6,11 +6,7 @@
|
|||
|
||||
$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;
|
||||
@if $web-font-path {
|
||||
@import url($web-font-path);
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: light;
|
||||
@import url("#{$web-font-path}");
|
||||
}
|
||||
|
||||
// Navbar
|
||||
|
|
@ -114,7 +110,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
|
|||
}
|
||||
|
||||
.btn-outline-secondary {
|
||||
color: $black;
|
||||
color: var(--bs-primary-color);
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
|
|
@ -245,22 +241,6 @@ label,
|
|||
font-weight: 300;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
.nav-link,
|
||||
.nav-link.disabled,
|
||||
.nav-link.disabled:hover,
|
||||
.nav-link.disabled:focus {
|
||||
background-color: $gray-200;
|
||||
border-color: $nav-tabs-border-color;
|
||||
}
|
||||
|
||||
.nav-item + .nav-item {
|
||||
.nav-link {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-pills {
|
||||
.active {
|
||||
border: 1px solid shade-color($primary, 10%);
|
||||
|
|
@ -307,35 +287,31 @@ label,
|
|||
}
|
||||
}
|
||||
|
||||
@include color-mode(dark) {
|
||||
.pagination {
|
||||
--bs-pagination-disabled-color: #{$gray-700};
|
||||
}
|
||||
}
|
||||
|
||||
.list-group {
|
||||
font-size: $font-size-sm;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.list-group-item.disabled,
|
||||
.list-group-item:disabled {
|
||||
background-color: var(--bs-secondary-bg);
|
||||
}
|
||||
|
||||
// Indicators
|
||||
|
||||
.alert {
|
||||
font-size: $font-size-sm;
|
||||
font-weight: 300;
|
||||
color: $white;
|
||||
|
||||
.alert-link {
|
||||
color: $white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&:not(.alert-secondary):not(.alert-light) .btn-close {
|
||||
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$white}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>"));
|
||||
}
|
||||
|
||||
&-secondary,
|
||||
&-light {
|
||||
&,
|
||||
a:not(.btn),
|
||||
.alert-link {
|
||||
color: $body-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Yeti 5.2.2
|
||||
// Yeti 5.3.3
|
||||
// Bootswatch
|
||||
|
||||
$theme: "yeti" !default;
|
||||
|
|
@ -37,7 +37,7 @@ $info: $cyan !default;
|
|||
$warning: $yellow !default;
|
||||
$danger: $red !default;
|
||||
$light: $gray-200 !default;
|
||||
$dark: $gray-900 !default;
|
||||
$dark: $gray-800 !default;
|
||||
|
||||
$min-contrast-ratio: 1.9 !default;
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ $headings-font-weight: 300 !default;
|
|||
|
||||
// Tables
|
||||
|
||||
$table-bg-scale: 0 !default;
|
||||
$table-bg-scale: 0% !default;
|
||||
|
||||
// Buttons
|
||||
|
||||
|
|
@ -67,13 +67,6 @@ $btn-font-weight: 300 !default;
|
|||
$dropdown-border-color: rgba($black, .1) !default;
|
||||
$dropdown-divider-bg: rgba($black, .1) !default;
|
||||
|
||||
// Navs
|
||||
|
||||
$nav-link-disabled-color: $gray-400 !default;
|
||||
$nav-tabs-border-color: $dropdown-border-color !default;
|
||||
$nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
|
||||
$nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
|
||||
|
||||
// Navbar
|
||||
|
||||
$navbar-dark-color: rgba($white, .7) !default;
|
||||
|
|
@ -82,9 +75,10 @@ $navbar-dark-hover-color: $white !default;
|
|||
// Pagination
|
||||
|
||||
$pagination-color: $gray-600 !default;
|
||||
$pagination-border-color: $nav-tabs-border-color !default;
|
||||
// $pagination-border-color: $nav-tabs-border-color !default;
|
||||
$pagination-active-border-color: darken($primary, 5%) !default;
|
||||
$pagination-disabled-color: $gray-200 !default;
|
||||
$pagination-disabled-bg: transparent !default;
|
||||
$pagination-disabled-color: $gray-400 !default;
|
||||
|
||||
// Cards
|
||||
|
||||
|
|
@ -99,17 +93,6 @@ $badge-padding-x: 1rem !default;
|
|||
|
||||
$alert-link-font-weight: 400 !default;
|
||||
|
||||
$alert-bg-scale: 0 !default;
|
||||
|
||||
// Progress bars
|
||||
|
||||
$progress-bg: $gray-400 !default;
|
||||
$progress-bar-color: $white !default;
|
||||
|
||||
// List group
|
||||
|
||||
$list-group-disabled-bg: $gray-200 !default;
|
||||
|
||||
// Breadcrumbs
|
||||
|
||||
$breadcrumb-padding-y: .375rem !default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue