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 @@
// Lux 4.5.0
// Lux 4.5.3
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600&display=swap" !default;
$web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" !default;
@import url($web-font-path);
// Navbar ======================================================================
@ -31,14 +31,14 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600&dis
}
.bg-light {
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0, 0, 0, .1);
&.navbar-fixed-top {
border-width: 0 0 1px 0;
border-width: 0 0 1px;
}
&.navbar-bottom-top {
border-width: 1px 0 0 0;
border-width: 1px 0 0;
}
}
@ -79,7 +79,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600&dis
}
&:not([disabled]):not(.disabled):focus {
box-shadow: 0 0 0 0.2rem rgba($gray-400, 0.5);
box-shadow: 0 0 0 .2rem rgba($gray-400, .5);
}
}
@ -98,7 +98,12 @@ body {
letter-spacing: 1px;
}
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
text-transform: uppercase;
letter-spacing: 3px;
}
@ -115,28 +120,28 @@ th {
}
.table {
th, td {
th,
td {
padding: 1.5rem;
}
&-sm {
th, td {
padding: 0.75rem;
th,
td {
padding: .75rem;
}
}
}
// Forms =======================================================================
.custom-switch {
.custom-control-label {
&::after {
top: calc(0.15625rem + 2px);
left: calc(-2.25rem + 2px);
width: calc(1rem - 4px);
height: calc(1rem - 4px);
top: add(.15625rem, 2px);
left: add(-2.25rem, 2px);
width: subtract(1rem, 4px);
height: subtract(1rem, 4px);
}
}
}
@ -151,26 +156,33 @@ th {
// Indicators ==================================================================
.badge {
padding-top: 0.28rem;
padding-top: .28rem;
&-pill {
border-radius: 10rem;
}
}
// Progress bars ===============================================================
// Containers ==================================================================
.list-group-item {
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
color: inherit;
}
}
.card {
&-title,
&-header {
color: inherit;