Skip to content

Commit

Permalink
Fix hover variables
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
skjnldsv authored and nextcloud-command committed Aug 17, 2022
1 parent 79043e1 commit c7f316f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions src/components/ImageEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default {
'icons-primary': 'var(--color-main-text)',
// Active state
'bg-primary-active': 'var(--color-background-dark)',
'bg-primary-hover': 'var(--color-background-darker)',
'bg-primary-hover': 'var(--color-background-hover)',
'accent-primary-active': 'var(--color-main-text)',
// Used by the save button
'accent-primary-hover': 'var(--color-primary)',
Expand Down Expand Up @@ -361,6 +361,12 @@ export default {
&-label {
margin-top: 8px;
}
&:hover,
&:focus {
background-color: var(--color-background-hover) !important;
}
&[aria-selected=true] {
color: var(--color-main-text);
background-color: var(--color-background-dark);
Expand Down Expand Up @@ -406,7 +412,7 @@ export default {
&:hover,
&:focus {
background-color: var(--color-background-dark) !important;
background-color: var(--color-background-hover) !important;
}
svg {
Expand Down

0 comments on commit c7f316f

Please sign in to comment.