Skip to content

Commit

Permalink
Merge pull request #100 from hathitrust/collections-toolbar-focus
Browse files Browse the repository at this point in the history
fix form field focus styles
  • Loading branch information
carylwyatt authored Aug 9, 2024
2 parents 6639042 + 96480a6 commit 422f1fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scss/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ body {
border-bottom-right-radius: 0.375rem;
}
}
#toolbar-seq.form-control:focus {
border-color: #fff;
}
}

span.query-term {
Expand Down
7 changes: 7 additions & 0 deletions src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,15 @@ a:focus-visible {
border-radius: 6px;
}

.bg-secondary button:not(.dropdown-item):focus-visible, .bg-secondary .form-select:focus-visible, .bg-dark .form-control:focus-visible {
outline-offset:0;
}


.form-check-input, .form-control, .form-select {
&:focus {
border: 1px solid var(--color-neutral-500);
}
}
input.form-control[type],
textarea.form-control {
Expand Down

0 comments on commit 422f1fa

Please sign in to comment.