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,11 +1,6 @@
|
|||
// Litera 4.5.0
|
||||
// Litera 4.5.3
|
||||
// Bootswatch
|
||||
|
||||
|
||||
// Variables ===================================================================
|
||||
|
||||
$font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
|
||||
|
||||
// Navbar ======================================================================
|
||||
|
||||
.navbar {
|
||||
|
|
@ -16,15 +11,15 @@ $font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !defa
|
|||
}
|
||||
|
||||
&.bg-light {
|
||||
background-color: #fff !important;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
background-color: $white !important;
|
||||
border: 1px solid rgba(0, 0, 0, .1);
|
||||
|
||||
&.navbar-fixed-top {
|
||||
border-width: 0 0 1px 0;
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
|
||||
&.navbar-fixed-bottom {
|
||||
border-width: 1px 0 0 0;
|
||||
border-width: 1px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -39,7 +34,7 @@ $font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !defa
|
|||
}
|
||||
|
||||
&-sm {
|
||||
border-radius: 0.844em;
|
||||
border-radius: .844em;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -74,118 +69,152 @@ table,
|
|||
&-info,
|
||||
&-warning,
|
||||
&-danger {
|
||||
color: #fff;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.table {
|
||||
|
||||
&-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;
|
||||
}
|
||||
}
|
||||
|
|
@ -193,8 +222,6 @@ table,
|
|||
}
|
||||
}
|
||||
|
||||
// Forms =======================================================================
|
||||
|
||||
// Navs ========================================================================
|
||||
|
||||
.nav,
|
||||
|
|
@ -213,20 +240,22 @@ table,
|
|||
color: $white;
|
||||
font-size: $font-size-sm;
|
||||
|
||||
&, p {
|
||||
&,
|
||||
p {
|
||||
font-family: $font-family-sans-serif;
|
||||
}
|
||||
|
||||
a, .alert-link {
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
a,
|
||||
.alert-link {
|
||||
color: $white;
|
||||
font-weight: 400;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@each $color, $value in $theme-colors {
|
||||
&-#{$color} {
|
||||
@if $enable-gradients {
|
||||
background: $value linear-gradient(0deg, mix($body-bg, $value, 15%), $value) repeat-x;
|
||||
background: $value linear-gradient($value, mix($body-bg, $value, 15%)) repeat-x;
|
||||
} @else {
|
||||
background-color: $value;
|
||||
}
|
||||
|
|
@ -235,8 +264,8 @@ table,
|
|||
|
||||
&-light {
|
||||
&,
|
||||
& a,
|
||||
& .alert-link {
|
||||
a,
|
||||
.alert-link {
|
||||
color: $body-color;
|
||||
}
|
||||
}
|
||||
|
|
@ -246,8 +275,6 @@ table,
|
|||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
// Progress bars ===============================================================
|
||||
|
||||
// Containers ==================================================================
|
||||
|
||||
.list-group {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Litera 4.5.0
|
||||
// Litera 4.5.3
|
||||
// Bootswatch
|
||||
|
||||
//
|
||||
|
|
@ -17,14 +17,14 @@ $gray-800: #343a40 !default;
|
|||
$gray-900: #212529 !default;
|
||||
$black: #000 !default;
|
||||
|
||||
$blue: #4582EC !default;
|
||||
$blue: #4582ec !default;
|
||||
$indigo: #6610f2 !default;
|
||||
$purple: #6f42c1 !default;
|
||||
$pink: #e83e8c !default;
|
||||
$red: #d9534f !default;
|
||||
$orange: #fd7e14 !default;
|
||||
$yellow: #f0ad4e !default;
|
||||
$green: #02B875 !default;
|
||||
$green: #02b875 !default;
|
||||
$teal: #20c997 !default;
|
||||
$cyan: #17a2b8 !default;
|
||||
|
||||
|
|
@ -45,37 +45,37 @@ $body-color: $gray-800 !default;
|
|||
|
||||
// Fonts
|
||||
|
||||
// stylelint-disable value-keyword-case
|
||||
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
||||
$font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
|
||||
// stylelint-enable
|
||||
|
||||
$font-size-base: 1.063rem !default;
|
||||
|
||||
$headings-font-weight: 700 !default;
|
||||
|
||||
// Tables
|
||||
|
||||
$table-border-color: rgba(0,0,0,0.1) !default;
|
||||
$table-border-color: rgba(0, 0, 0, .1) !default;
|
||||
|
||||
// Buttons
|
||||
|
||||
$input-btn-padding-y: 0.5rem !default;
|
||||
$input-btn-padding-y: .5rem !default;
|
||||
$input-btn-padding-x: 1.1rem !default;
|
||||
|
||||
$btn-font-family: $font-family-sans-serif !default;
|
||||
$btn-font-size: 0.875rem !default;
|
||||
|
||||
$btn-font-size-sm: 0.688rem !default;
|
||||
$btn-font-size: .875rem !default;
|
||||
$btn-font-size-sm: .688rem !default;
|
||||
|
||||
// Forms
|
||||
|
||||
$input-border-color: rgba(0,0,0,.1) !default;
|
||||
|
||||
$input-group-addon-bg: $gray-200 !default !default;
|
||||
$input-border-color: rgba(0, 0, 0, .1) !default;
|
||||
$input-group-addon-bg: $gray-200 !default !default;
|
||||
|
||||
// Navbar
|
||||
|
||||
$navbar-dark-color: rgba($white,.6) !default;
|
||||
$navbar-dark-hover-color: $white !default;
|
||||
$navbar-padding-y: .7rem !default;
|
||||
|
||||
$navbar-dark-color: rgba($white, .6) !default;
|
||||
$navbar-dark-hover-color: $white !default;
|
||||
$navbar-light-hover-color: $body-color !default;
|
||||
$navbar-light-active-color: $body-color !default;
|
||||
|
||||
|
|
@ -85,9 +85,9 @@ $tooltip-font-size: 11px !default;
|
|||
|
||||
// Badges
|
||||
|
||||
$badge-font-weight: normal !default;
|
||||
$badge-padding-y: 0.3em !default;
|
||||
$badge-padding-x: 0.6em !default;
|
||||
$badge-font-weight: 400 !default;
|
||||
$badge-padding-y: .3em !default;
|
||||
$badge-padding-x: .6em !default;
|
||||
|
||||
// Alerts
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue