Fix broken radio focus styling in light mode
This commit is contained in:
parent
a7aaacd82c
commit
5ccf55cbd1
1 changed files with 17 additions and 6 deletions
|
@ -107,8 +107,9 @@
|
||||||
--toggle-on-bg-focus-color: #0060df;
|
--toggle-on-bg-focus-color: #0060df;
|
||||||
--toggle-on-border-color: #0060df;
|
--toggle-on-border-color: #0060df;
|
||||||
--toggle-on-handle-bg-color: #fff;
|
--toggle-on-handle-bg-color: #fff;
|
||||||
--usercontext-bg-hover-color: #e0e0e6;
|
--usercontext-bg-hover-color: #f0f0fa;
|
||||||
--usercontext-bg-active-color: #e0e0e6;
|
--usercontext-bg-focus-color: #e0e0e6;
|
||||||
|
--usercontext-bg-active-color: #cfcfd8;
|
||||||
--moz-vpn-tout-shadow: 0 0 7px 0 #9498a25e;
|
--moz-vpn-tout-shadow: 0 0 7px 0 #9498a25e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1884,15 +1885,25 @@ manage things like container crud */
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* When focusing the element add a thin blue highlight to match input fields. This gives a distinction to other selected radio items */
|
||||||
|
.radio-choice > .radio-container > [type="radio"]:focus + label {
|
||||||
|
outline: solid 1px var(--input-border-focus-color);
|
||||||
|
-moz-outline-radius: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.radio-choice > .radio-container > [type="radio"]:checked + label {
|
.radio-choice > .radio-container > [type="radio"]:checked + label {
|
||||||
background-color: var(--usercontext-bg-focus-color);
|
background-color: var(--usercontext-bg-focus-color);
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* When focusing the element add a thin blue highlight to match input fields. This gives a distinction to other selected radio items */
|
.radio-choice > .radio-container > [type="radio"]:checked + label:hover {
|
||||||
.radio-choice > .radio-container > [type="radio"]:focus + label {
|
background-color: var(--usercontext-bg-hover-color);
|
||||||
outline: solid 1px var(--input-border-focus-color);
|
border-radius: 100%;
|
||||||
-moz-outline-radius: 100%;
|
}
|
||||||
|
|
||||||
|
.radio-choice > .radio-container > [type="radio"]:checked + label:active {
|
||||||
|
background-color: var(--usercontext-bg-active-color);
|
||||||
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-container-panel fieldset {
|
.edit-container-panel fieldset {
|
||||||
|
|
Loading…
Add table
Reference in a new issue