Skip to content

Commit

Permalink
Fixed form controls focus highlight. (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaslonov authored May 21, 2021
1 parent 9ab6271 commit f723df9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/themes/designer/styles/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.form-group {
display: block;
margin-bottom: 20px;
padding: 1px;
width: 100%;

.form-group {
Expand Down Expand Up @@ -84,8 +85,7 @@ textarea {
}

&:focus {
outline: none;
border: 1px solid $form-control-focus-color;
outline: 1px solid $form-control-focus-color;
}

&.is-invalid {
Expand Down Expand Up @@ -161,7 +161,7 @@ textarea {
border: 1px solid $form-control-border;

&:focus-within {
border: 1px solid $form-control-border-focused;
outline: 1px solid $form-control-focus-color;
}

.form-control,
Expand Down
2 changes: 1 addition & 1 deletion src/themes/designer/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $form-control-bg: #ffffff;
$form-control-bg-readonly: #ffffff;
$form-control-bg-disabled: #e6e7e8;
$form-control-padding: 7px;
$form-control-focus-color: #61b2e8;
$form-control-focus-color: #57585a;
$form-control-slider-thumb-bg: #fff;
$form-control-slider-thumb-size: 17px;
$form-collapsible-section-gutter-color: #ddd;
Expand Down

0 comments on commit f723df9

Please sign in to comment.