From 260ee6597ae18987d0b7d21f31f82634f278fff8 Mon Sep 17 00:00:00 2001 From: Daniil Bobrov Date: Sat, 27 Apr 2024 21:42:00 +0300 Subject: [PATCH] fix bootstrap styles scss --- .../src/assets/stylesheets/application.scss | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/frontend/src/assets/stylesheets/application.scss b/frontend/src/assets/stylesheets/application.scss index 31ca9802..dfe9069f 100644 --- a/frontend/src/assets/stylesheets/application.scss +++ b/frontend/src/assets/stylesheets/application.scss @@ -3,42 +3,6 @@ @import "bootstrap/scss/functions"; @import "bootstrap/scss/variables"; -//Colors -$primary: #136ef6; -$body-secondary-bg: #ebf1f9; -$body-tertiary-bg: #f5f8fc; -$body-bg-dark: $gray-900; -$body-secondary-bg-dark: #16191c; -$body-tertiary-bg-dark: mix($body-bg-dark, $body-secondary-bg-dark, 50%); - -// Options -$focus-ring-width: 0.125rem; - -$btn-box-shadow: none; -$btn-border-radius: var(--#{$prefix}border-radius-xxl); -$btn-border-radius-sm: var(--#{$prefix}border-radius-xl); -$btn-border-radius-lg: var(--#{$prefix}border-radius-xxl); - -$form-label-margin-bottom: $spacer * 0.25; -$form-label-font-size: $font-size-sm; - -$card-spacer-y: $spacer * 2; -$card-spacer-x: $spacer * 2; -$card-border-width: 0; -$card-border-radius: $border-radius-xl; -$card-cap-bg: $card-bg; - -$modal-inner-padding: $spacer * 2; -$modal-header-padding: $modal-inner-padding; -$modal-content-border-radius: var(--#{$prefix}border-radius-xl); -$modal-header-border-width: 0; - -$navbar-toggler-padding-y: 0; -$navbar-toggler-padding-x: 0; - -$dropdown-padding-x: 0.25rem; -$dropdown-padding-y: 0.25rem; - @import "bootstrap/scss/variables-dark"; @import "bootstrap/scss/maps"; @import "bootstrap/scss/mixins"; @@ -91,6 +55,42 @@ $dropdown-padding-y: 0.25rem; @import "bootstrap/scss/utilities/api"; +//Colors +$primary: #136ef6; +$body-secondary-bg: #ebf1f9; +$body-tertiary-bg: #f5f8fc; +$body-bg-dark: $gray-900; +$body-secondary-bg-dark: #16191c; +$body-tertiary-bg-dark: mix($body-bg-dark, $body-secondary-bg-dark, 50%); + +// Options +$focus-ring-width: 0.125rem; + +$btn-box-shadow: none; +$btn-border-radius: var(--#{$prefix}border-radius-xxl); +$btn-border-radius-sm: var(--#{$prefix}border-radius-xl); +$btn-border-radius-lg: var(--#{$prefix}border-radius-xxl); + +$form-label-margin-bottom: $spacer * 0.25; +$form-label-font-size: $font-size-sm; + +$card-spacer-y: $spacer * 2; +$card-spacer-x: $spacer * 2; +$card-border-width: 0; +$card-border-radius: $border-radius-xl; +$card-cap-bg: $card-bg; + +$modal-inner-padding: $spacer * 2; +$modal-header-padding: $modal-inner-padding; +$modal-content-border-radius: var(--#{$prefix}border-radius-xl); +$modal-header-border-width: 0; + +$navbar-toggler-padding-y: 0; +$navbar-toggler-padding-x: 0; + +$dropdown-padding-x: 0.25rem; +$dropdown-padding-y: 0.25rem; + :root { --#{$prefix}dropdown-item-border-radius: #{$border-radius-sm}; }