diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-10-06 18:02:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 18:02:18 +0200 |
commit | 44fd66f0c6bff9cd94ba55345640c913cd733948 (patch) | |
tree | 7691a7119bd79f459828943d26f13a234618c755 /app/javascript/flavours/glitch/styles/components/index.scss | |
parent | b31748a496ac55e3f2763d74ea7e7a7ef5c4dfad (diff) | |
parent | cef109e04661b1627acf9c98f6d00ea0629d41f4 (diff) |
Merge pull request #1616 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/index.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index 04bd8805a..2281a4bb3 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -829,7 +829,7 @@ transition: background-color 0.2s ease; } -.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track { +.react-toggle:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track { background-color: darken($ui-base-color, 10%); } @@ -837,7 +837,7 @@ background-color: $ui-highlight-color; } -.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track { +.react-toggle--checked:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track { background-color: lighten($ui-highlight-color, 10%); } |