Add disabled styles to readonly fields (closes #51) (#137)

This commit is contained in:
Isiah Lloyd 2022-05-21 21:16:14 -04:00 committed by GitHub
parent 0093c72f2d
commit d457c79270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,9 @@ input[type="reset"]::-moz-focus-inner {
} }
:disabled, :disabled,
:disabled + label { :disabled + label,
:read-only,
:read-only + label {
color: var(--button-shadow); color: var(--button-shadow);
} }
@ -470,6 +472,10 @@ input[type="email"]:disabled,
input[type="password"]:disabled, input[type="password"]:disabled,
input[type="text"]:disabled, input[type="text"]:disabled,
input[type="number"]:disabled, input[type="number"]:disabled,
input[type="email"]:read-only,
input[type="password"]:read-only,
input[type="text"]:read-only,
input[type="number"]:read-only,
textarea:disabled { textarea:disabled {
background-color: var(--surface); background-color: var(--surface);
} }
@ -714,7 +720,8 @@ ul.tree-view details[open] > summary:before {
content: "-"; content: "-";
} }
ul.tree-view details > summary::marker, ul.tree-view details > summary::-webkit-details-marker { ul.tree-view details > summary::marker,
ul.tree-view details > summary::-webkit-details-marker {
content: ""; content: "";
} }