Darken input border. Darken more on hover.

This commit is contained in:
Leo
2021-11-27 21:59:03 -06:00
parent 6c82c40b2d
commit 2f35ec5976
2 changed files with 13 additions and 1 deletions

View File

@@ -82,7 +82,8 @@ $code-color: $primary !default;
// Forms // Forms
$input-bg: $white; $input-bg: $white;
$input-color: $black; $input-color: $black;
$input-transition: null; $input-border-color: $gray-500;
$input-transition: none;
// Buttons // Buttons
$btn-box-shadow: null; $btn-box-shadow: null;

View File

@@ -1,3 +1,14 @@
.form-control { .form-control {
background-clip: inherit; // Remove weird border in input boxes 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;
}
}