Skip to content

Commit

Permalink
Use hover css variable for primary buttons and add proper focus outline
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jul 18, 2022
1 parent d5437e2 commit 9e0d6f5
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 8 deletions.
19 changes: 17 additions & 2 deletions core/css/inputs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/inputs.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,12 @@ div[contenteditable=true],
&:hover,
&:focus,
&:active {
background-color: var(--color-primary-element-light);
border-color: var(--color-primary-element-light);
background-color: var(--color-primary-element-hover);
border-color: var(--color-primary-element-hover);
}
&:focus,
&:focus-visible {
box-shadow: 0 0 0 2px var(--color-main-text);
}
&:active {
color: var(--color-primary-text-dark);
Expand Down
19 changes: 17 additions & 2 deletions core/css/server.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9e0d6f5

Please sign in to comment.