Restore Bootstrap 4 look after migration

This commit is contained in:
Terncode committed 2026-11-29 14:58:10 +01:00
1 parent e5c33d6c0d
commit be04b66ce0
2 files changed
+21

No files matched your search

+4
View File
@@ -257,6 +257,10 @@ label {
margin-bottom: 0.5rem;
}
.form-text {
display: block;
}
// v4 .form-group (removed in BS5); the .form-inline context overrides margin to 0 below
.form-group {
margin-bottom: 1rem;
+17
View File
@@ -77,6 +77,19 @@ $chat-colors: (
$spacer: 16px;
$enable-rfs: false;
$grid-gutter-width: 30px;
$small-font-size: 80%;
$hr-opacity: 1;
$modal-inner-padding: 1rem;
$alert-padding-y: .75rem;
$alert-padding-x: 1.25rem;
$list-group-item-padding-y: .75rem;
$list-group-item-padding-x: 1.25rem;
$popover-header-padding-x: .75rem;
$popover-body-padding-y: .5rem;
$popover-body-padding-x: .75rem;
// body
$body-bg: #333;
$body-color: #eee;
@@ -95,11 +108,14 @@ $link-hover-decoration: underline;
// fonts
// $font-family-sans-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$font-size: 14px;
$headings-font-weight: 600;
$text-muted: #9C9C9C;
$body-secondary-color: $text-muted;
$form-text-font-size: null;
$text-smuted: #ccc;
$hr-border-color: $border-color;
@@ -149,6 +165,7 @@ $dropdown-color: $inverse-color;
$dropdown-link-color: $inverse-color;
$dropdown-link-hover-color: darken($inverse-color, 5%);
$dropdown-link-disabled-color: #a6acb1;
$dropdown-item-padding-x: 1.5rem;
// popover (v4 had white popovers; BS5.3 defaults $popover-bg to the body bg)
$popover-bg: #fff;