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,7 +1,7 @@
// Pulse 4.6.0
// Pulse 5.0.2
// Bootswatch
// Buttons =====================================================================
// Buttons
.btn {
&:focus,
@ -24,8 +24,8 @@
&.disabled {
background-color: $white;
border-color: lighten(#ccc, 5%);
color: lighten($gray-900, 5%);
border-color: tint-color(#ccc, 5%);
color: tint-color($gray-900, 5%);
}
}
@ -34,7 +34,7 @@
}
&-primary:focus {
box-shadow: 0 0 5px lighten($primary, 10%);
box-shadow: 0 0 5px tint-color($primary, 10%);
}
&-secondary:focus {
@ -42,19 +42,19 @@
}
&-success:focus {
box-shadow: 0 0 5px lighten($success, 10%);
box-shadow: 0 0 5px tint-color($success, 10%);
}
&-info:focus {
box-shadow: 0 0 5px lighten($info, 10%);
box-shadow: 0 0 5px tint-color($info, 10%);
}
&-warning:focus {
box-shadow: 0 0 5px lighten($warning, 10%);
box-shadow: 0 0 5px tint-color($warning, 10%);
}
&-danger:focus {
box-shadow: 0 0 5px lighten($danger, 10%);
box-shadow: 0 0 5px tint-color($danger, 10%);
}
&.disabled:focus {
@ -62,20 +62,20 @@
}
}
// Tables ======================================================================
// Tables
.table .thead-dark th {
background-color: $secondary;
border-color: $table-border-color;
}
// Forms =======================================================================
// Forms
.form-control:focus {
box-shadow: 0 0 5px rgba(100, 65, 164, .4);
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-link,
@ -98,27 +98,27 @@
.breadcrumb {
&-item.active {
color: $gray-700;
a {
text-decoration: none;
}
}
}
// Indicators ==================================================================
// Indicators
.badge {
padding-bottom: .4em;
&-secondary,
&-warning {
color: $white;
&.bg-light {
color: $dark;
}
}
// Progress bars ===============================================================
// Progress bars
.progress {
height: 8px;
}
// Containers ==================================================================
// Containers
.list-group {
&-item {

View file

@ -1,6 +1,8 @@
// Pulse 4.6.0
// Pulse 5.0.2
// Bootswatch
$theme: "pulse" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 2.1 !default;
// Options
$enable-rounded: false !default;
@ -49,10 +53,6 @@ $body-color: $gray-700 !default;
$link-hover-color: $primary !default;
// Fonts
$font-size-base: .875rem !default;
// Tables
$table-border-color: rgba(0, 0, 0, .05) !default;
@ -74,7 +74,7 @@ $nav-tabs-link-hover-border-color: $primary !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-padding-y: 1rem !default;
$navbar-dark-hover-color: rgba($white, .9) !default;
$navbar-dark-active-color: rgba($white, .9) !default;
$navbar-light-color: rgba($black, .4) !default;
@ -94,3 +94,12 @@ $list-group-hover-bg: lighten($list-group-bg, 10%) !default;
$list-group-active-color: $white !default;
$list-group-active-bg: $list-group-bg !default;
$list-group-disabled-color: lighten($list-group-bg, 30%) !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-active-color: $gray-500 !default;
$breadcrumb-border-radius: .25rem !default;
$link-decoration: none !default;