mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-30 01:58:27 -04:00
fix(idp): show keyboard focus on every control (#3732)
* fix(idp): show keyboard focus on primary buttons * fix(idp): show keyboard focus on every control
This commit is contained in:
1 file changed
+16
@@ -113,6 +113,7 @@ strong {
|
||||
|
||||
.oc-input:focus {
|
||||
outline: 2px solid #e2baff;
|
||||
outline-offset: 0;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
@@ -153,6 +154,21 @@ strong {
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* Keyboard focus for every control. Material UI shows it with its ripple and
|
||||
* box-shadow, which are both switched off in this file.
|
||||
*/
|
||||
body :focus-visible {
|
||||
outline: 2px solid #20434f;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* the logo link sits on the background, which can be dark or a light image */
|
||||
.oc-logo-container:focus-visible {
|
||||
outline-color: #fff;
|
||||
box-shadow: 0 0 0 6px #20434f;
|
||||
}
|
||||
|
||||
.oc-button-secondary {
|
||||
/* Needs to be important to overwrite material-ui */
|
||||
width: 100%;
|
||||
|
||||
Reference in new issue
Block a user