Skip to content

Commit

Permalink
Merge pull request #39332 from nextcloud/fix/36981-fix-focus-style-on…
Browse files Browse the repository at this point in the history
…-status-radio-buttons

Set double outline on checked state for radio buttons
  • Loading branch information
JuliaKirschenheuter committed Aug 16, 2023
2 parents 6f6e244 + 9545826 commit 3c43ff6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
11 changes: 5 additions & 6 deletions apps/user_status/src/components/OnlineStatusSelect.vue
Expand Up @@ -109,14 +109,13 @@ $label-padding: 8px;
}
}
&__input:checked + &__label,
&__input:focus + &__label,
&__label:hover {
border-color: var(--color-primary-element);
&__input:checked + &__label {
outline: 2px solid var(--color-main-text);
box-shadow: 0 0 0 4px var(--color-main-background);
}
&__label:active {
border-color: var(--color-border-dark);
&__input:focus-visible + &__label {
outline: 2px solid var(--color-primary-element) !important;
}
&__subline {
Expand Down
4 changes: 2 additions & 2 deletions dist/user-status-modal-8299.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/user-status-modal-8299.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/user_status-menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/user_status-menu.js.map

Large diffs are not rendered by default.

0 comments on commit 3c43ff6

Please sign in to comment.