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 @@
|
|||
// Lumen 5.2.2
|
||||
// Lumen 5.3.3
|
||||
// Bootswatch
|
||||
|
||||
|
||||
|
|
@ -6,11 +6,7 @@
|
|||
|
||||
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" !default;
|
||||
@if $web-font-path {
|
||||
@import url($web-font-path);
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: light;
|
||||
@import url("#{$web-font-path}");
|
||||
}
|
||||
|
||||
// Mixins
|
||||
|
|
@ -30,6 +26,11 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
|
|||
border-color: shade-color($value, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
&.bg-body-secondary,
|
||||
&.bg-body-tertiary {
|
||||
border-color: rgba(0, 0, 0, .1);
|
||||
}
|
||||
}
|
||||
|
||||
// Buttons
|
||||
|
|
@ -68,7 +69,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
|
|||
}
|
||||
|
||||
.btn-outline-secondary {
|
||||
color: $black;
|
||||
color: var(--bs-tertiary-color);
|
||||
}
|
||||
|
||||
[class*="btn-outline"] {
|
||||
|
|
@ -117,7 +118,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
|
|||
|
||||
.nav-tabs {
|
||||
.nav-link {
|
||||
color: $body-color;
|
||||
color: var(--#{$prefix}body-color);
|
||||
|
||||
&,
|
||||
&.disabled,
|
||||
|
|
@ -133,6 +134,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
|
|||
&.active {
|
||||
padding-bottom: add(.5rem, 6px);
|
||||
margin-top: 0;
|
||||
color: var(--#{$prefix}body-color);
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
}
|
||||
|
|
@ -150,7 +152,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
|
|||
}
|
||||
|
||||
.breadcrumb {
|
||||
border-color: shade-color($breadcrumb-bg, 10%);
|
||||
border-color: $pagination-border-color;
|
||||
@include shadow();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Lumen 5.2.2
|
||||
// Lumen 5.3.3
|
||||
// Bootswatch
|
||||
|
||||
$theme: "lumen" !default;
|
||||
|
|
@ -41,6 +41,11 @@ $dark: $gray-700 !default;
|
|||
|
||||
$min-contrast-ratio: 1.75 !default;
|
||||
|
||||
// Prefix for :root CSS variables
|
||||
|
||||
$variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
|
||||
$prefix: $variable-prefix !default;
|
||||
|
||||
// Fonts
|
||||
|
||||
// stylelint-disable-next-line value-keyword-case
|
||||
|
|
@ -48,7 +53,7 @@ $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFo
|
|||
|
||||
// Tables
|
||||
|
||||
$table-bg-scale: 0 !default;
|
||||
$table-bg-scale: 0% !default;
|
||||
|
||||
// Buttons
|
||||
|
||||
|
|
@ -56,19 +61,17 @@ $btn-font-weight: 700 !default;
|
|||
|
||||
// Dropdowns
|
||||
|
||||
$dropdown-link-color: rgba(0, 0, 0, .5) !default;
|
||||
$dropdown-link-color: var(--#{$prefix}tertiary-color) !default;
|
||||
|
||||
// Navs
|
||||
|
||||
$nav-tabs-border-color: $gray-200 !default;
|
||||
$nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
|
||||
$nav-tabs-link-active-color: $gray-900 !default;
|
||||
$nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
|
||||
$nav-link-color: var(--#{$prefix}link-color) !default;
|
||||
|
||||
// Pagination
|
||||
|
||||
$pagination-color: $gray-700 !default;
|
||||
$pagination-bg: $gray-200 !default;
|
||||
$pagination-bg: var(--#{$prefix}tertiary-bg) !default;
|
||||
$pagination-border-color: var(--#{$prefix}border-color) !default;
|
||||
$pagination-hover-color: $pagination-color !default;
|
||||
$pagination-hover-bg: $pagination-bg !default;
|
||||
$pagination-active-border-color: darken($primary, 5%) !default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue