1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Bootstrap5 (#17)

* Bootstrap5 migration
This commit is contained in:
catborise 2021-07-07 14:12:38 +03:00 committed by GitHub
parent 1663a49cee
commit 073b7b6717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
244 changed files with 9494 additions and 8597 deletions

View file

@ -1,13 +1,15 @@
// Lux 4.6.0
// Lux 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.navbar {
font-size: $font-size-sm;
@ -43,10 +45,10 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;6
}
.nav-item {
margin-right: .5rem;
margin-right: 2rem;
}
// Buttons =====================================================================
// Buttons
.btn {
font-size: $font-size-sm;
@ -91,7 +93,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;6
border: 1px solid $gray-400 !important;
}
// Typography ==================================================================
.breadcrumb {
a {
text-decoration: none;
}
}
// Typography
body {
font-weight: 200;
@ -112,7 +120,7 @@ h6 {
color: $body-color !important;
}
// Tables ======================================================================
// Tables
th {
font-size: $font-size-sm;
@ -133,27 +141,14 @@ th {
}
}
// Forms =======================================================================
.custom-switch {
.custom-control-label {
&::after {
top: add(.15625rem, 2px);
left: add(-2.25rem, 2px);
width: subtract(1rem, 4px);
height: subtract(1rem, 4px);
}
}
}
// Navs ========================================================================
// Navs
.dropdown-menu {
font-size: $font-size-sm;
text-transform: none;
}
// Indicators ==================================================================
// Indicators
.badge {
padding-top: .28rem;
@ -161,9 +156,14 @@ th {
&-pill {
border-radius: 10rem;
}
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
// Containers
.list-group-item {
h1,