From 47628abe15f2cc1b943472c74871e684f25d3d68 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 24 Jun 2023 13:48:42 -0500 Subject: [PATCH] Improve Essence. --- scss/_variables.scss | 4 ++++ scss/bootstrap/_form-control.scss | 14 -------------- scss/essence.scss | 1 - 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 scss/bootstrap/_form-control.scss diff --git a/scss/_variables.scss b/scss/_variables.scss index 5fd9bd7..2c9f177 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -52,6 +52,10 @@ $danger-lightest: hsl(350, 100%, 96%); // Options $enable-shadows: true !default; +// Components +$focus-ring-width: .175rem !default; +$focus-ring-opacity: .175 !default; + // Body $body-background-color: hsl(260, 27%, 94%); // Bootstrap doesn't have this variable diff --git a/scss/bootstrap/_form-control.scss b/scss/bootstrap/_form-control.scss deleted file mode 100644 index 7de0774..0000000 --- a/scss/bootstrap/_form-control.scss +++ /dev/null @@ -1,14 +0,0 @@ -.form-control { - background-clip: inherit; // Remove weird border in input boxes -} - -.form-control, -.form-select { - &:hover { - border-color: $gray-600; - } - - &:focus { - border-color: $input-focus-border-color; - } -} diff --git a/scss/essence.scss b/scss/essence.scss index 5e787fb..6f6874d 100644 --- a/scss/essence.scss +++ b/scss/essence.scss @@ -12,7 +12,6 @@ @import 'bootstrap/pagination'; @import 'bootstrap/code'; -@import 'bootstrap/form-control'; // Essence components @import 'elements/sidebar';