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:
parent
12fa9e7cf1
commit
e2e62a3ad4
67 changed files with 1507 additions and 1368 deletions
|
@ -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 ==================================================================
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Yeti 4.5.0
|
||||
// Yeti 4.5.3
|
||||
// Bootswatch
|
||||
|
||||
//
|
||||
|
@ -21,9 +21,9 @@ $blue: #008cba !default;
|
|||
$indigo: #6610f2 !default;
|
||||
$purple: #6f42c1 !default;
|
||||
$pink: #e83e8c !default;
|
||||
$red: #F04124 !default;
|
||||
$red: #f04124 !default;
|
||||
$orange: #fd7e14 !default;
|
||||
$yellow: #E99002 !default;
|
||||
$yellow: #e99002 !default;
|
||||
$green: #43ac6a !default;
|
||||
$teal: #20c997 !default;
|
||||
$cyan: #5bc0de !default;
|
||||
|
@ -41,49 +41,45 @@ $yiq-contrasted-threshold: 200 !default;
|
|||
|
||||
// Components
|
||||
|
||||
$border-radius: 0px !default;
|
||||
$border-radius-lg: 0px !default;
|
||||
$border-radius-sm: 0px !default;
|
||||
$border-radius: 0 !default;
|
||||
$border-radius-lg: 0 !default;
|
||||
$border-radius-sm: 0 !default;
|
||||
|
||||
// Fonts
|
||||
|
||||
// stylelint-disable-next-line value-keyword-case
|
||||
$font-family-sans-serif: "Open Sans", -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;
|
||||
|
||||
$font-size-base: .9375rem !default;
|
||||
$font-size-sm: $font-size-base * .88 !default;
|
||||
$headings-font-weight: 300 !default;
|
||||
|
||||
// Buttons
|
||||
|
||||
$input-btn-padding-x: 0.5rem !default;
|
||||
|
||||
$input-btn-padding-x: .5rem !default;
|
||||
$btn-font-weight: 300 !default;
|
||||
|
||||
// Dropdowns
|
||||
|
||||
$dropdown-border-color: rgba($black,.1) !default;
|
||||
$dropdown-divider-bg: rgba($black,.1) !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;
|
||||
$navbar-dark-color: rgba($white, .7) !default;
|
||||
$navbar-dark-hover-color: $white !default;
|
||||
|
||||
// Pagination
|
||||
|
||||
$pagination-color: $gray-600 !default;
|
||||
$pagination-border-color: $nav-tabs-border-color !default;
|
||||
|
||||
$pagination-active-border-color: darken($primary, 5%) !default;
|
||||
|
||||
$pagination-disabled-color: $gray-200 !default;
|
||||
|
||||
// Jumbotron
|
||||
|
@ -92,7 +88,7 @@ $jumbotron-padding: 4rem !default;
|
|||
|
||||
// Cards
|
||||
|
||||
$card-inner-border-radius: 0px !default;
|
||||
$card-inner-border-radius: 0 !default;
|
||||
|
||||
// Badges
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue