Skip to content

Commit

Permalink
Merge pull request #33267 from nextcloud/bugfix/noid/button-hover
Browse files Browse the repository at this point in the history
Use hover css variable for primary buttons
  • Loading branch information
juliusknorr authored Jul 19, 2022
2 parents 1e9f071 + 9e0d6f5 commit 9e3c8b6
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 9e3c8b6

Please sign in to comment.