Set double outline to buttons in focus state

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
julia.kirschenheuter
2023-07-04 09:10:50 +02:00
parent 12ee2581aa
commit 34bbb4ed48
11 changed files with 20 additions and 14 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -731,7 +731,7 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width -
}
}
}
&::-webkit-scrollbar-button {
height: var(--body-container-radius);
}
@@ -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;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long