1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Switch [disabled] to :disabled for <fieldset> support

This commit is contained in:
yne 2019-03-22 16:23:47 +01:00
parent 1882a4bf03
commit b93512db0e
3 changed files with 11 additions and 11 deletions

10
dist/chota.css vendored
View File

@ -291,7 +291,7 @@ textarea[type="text"] {
display: block;
width: 100%;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):not[disabled]:hover,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):not(:disabled):hover,
select:hover,
textarea:hover,
textarea[type="text"]:hover {
@ -375,10 +375,10 @@ button:active {
-webkit-transform: scale(0.98);
transform: scale(0.98);
}
input[disabled],
button[disabled],
input[disabled]:hover,
button[disabled]:hover {
input:disabled,
button:disabled,
input:disabled:hover,
button:disabled:hover {
opacity: 0.4;
cursor: not-allowed;
}

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@ textarea[type="text"] {
width: 100%;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):not[disabled]:hover,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]):not(:disabled):hover,
select:hover,
textarea:hover,
textarea[type="text"]:hover {
@ -112,10 +112,10 @@ button:active {
transform: scale(0.98);
}
input[disabled],
button[disabled],
input[disabled]:hover,
button[disabled]:hover {
input:disabled,
button:disabled,
input:disabled:hover,
button:disabled:hover {
opacity: 0.4;
cursor: not-allowed;
}