Skip to content

Commit

Permalink
Set double outline to buttons in focus state
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
  • Loading branch information
JuliaKirschenheuter committed Jul 11, 2023
1 parent 12ee258 commit 34bbb4e
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 14 deletions.
3 changes: 2 additions & 1 deletion apps/dashboard/src/DashboardApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,8 @@ export default {
background-color: var(--color-background-hover)!important;
}
&:focus-visible {
box-shadow: 0 0 0 2px var(--color-main-text) !important;
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}
}
Expand Down
5 changes: 3 additions & 2 deletions apps/user_status/src/UserStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ export default {
&:focus {
background-color: var(--color-background-hover);
}
&:focus {
box-shadow: 0 0 0 2px var(--color-main-text) !important;
&:focus-visible {
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion core/css/apps.css

Large diffs are not rendered by default.

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

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

6 changes: 5 additions & 1 deletion core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width -
}
}
}

&::-webkit-scrollbar-button {
height: var(--body-container-radius);
}
Expand Down Expand Up @@ -1430,3 +1430,7 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2);
display: flex;
}
}
.button.primary.skip-navigation:focus-visible {
box-shadow: 0 0 0 4px var(--color-main-background) !important;
outline: 2px solid var(--color-main-text) !important;
}
2 changes: 1 addition & 1 deletion core/css/server.css

Large diffs are not rendered by default.

0 comments on commit 34bbb4e

Please sign in to comment.