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;

View file

@ -1,4 +1,4 @@
// Flatly 4.5.0
// Flatly 4.5.3
// Bootswatch
//
@ -17,16 +17,16 @@ $gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #2C3E50 !default;
$blue: #2c3e50 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #E74C3C !default;
$red: #e74c3c !default;
$orange: #fd7e14 !default;
$yellow: #F39C12 !default;
$green: #18BC9C !default;
$yellow: #f39c12 !default;
$green: #18bc9c !default;
$teal: #20c997 !default;
$cyan: #3498DB !default;
$cyan: #3498db !default;
$primary: $blue !default;
$secondary: $gray-600 !default;
@ -45,10 +45,10 @@ $link-color: $success !default;
// Fonts
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: 0.9375rem !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$h1-font-size: 3rem !default;
$h2-font-size: 2.5rem !default;
$h3-font-size: 2rem !default;
@ -65,16 +65,14 @@ $dropdown-link-hover-bg: $primary !default;
// Navs
$nav-link-padding-y: 0.5rem !default !default;
$nav-link-padding-y: .5rem !default !default;
$nav-link-padding-x: 1.5rem !default;
$nav-link-disabled-color: $gray-600 !default !default;
$nav-tabs-border-color: $gray-200 !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-dark-color: $white !default;
$navbar-dark-hover-color: $success !default;
@ -84,14 +82,11 @@ $pagination-color: $white !default;
$pagination-bg: $success !default;
$pagination-border-width: 0 !default;
$pagination-border-color: transparent !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: darken($success, 15%) !default;
$pagination-hover-border-color: transparent !default;
$pagination-active-bg: $pagination-hover-bg !default;
$pagination-active-border-color: transparent !default;
$pagination-disabled-color: $gray-200 !default;
$pagination-disabled-bg: lighten($success, 15%) !default;
$pagination-disabled-border-color: transparent !default;
@ -99,7 +94,6 @@ $pagination-disabled-border-color: transparent !default;
// List group
$list-group-hover-bg: $gray-200 !default;
$list-group-disabled-bg: $gray-200 !default;
// Close