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

Merge pull request #28 from yne/disabled

Switch [disabled] to :disabled for <fieldset> support
This commit is contained in:
Jenil Gogari 2019-03-22 13:16:43 -04:00 committed by GitHub
commit f19bda80c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; display: block;
width: 100%; 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, select:hover,
textarea:hover, textarea:hover,
textarea[type="text"]:hover { textarea[type="text"]:hover {
@ -375,10 +375,10 @@ button:active {
-webkit-transform: scale(0.98); -webkit-transform: scale(0.98);
transform: scale(0.98); transform: scale(0.98);
} }
input[disabled], input:disabled,
button[disabled], button:disabled,
input[disabled]:hover, input:disabled:hover,
button[disabled]:hover { button:disabled:hover {
opacity: 0.4; opacity: 0.4;
cursor: not-allowed; 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%; 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, select:hover,
textarea:hover, textarea:hover,
textarea[type="text"]:hover { textarea[type="text"]:hover {
@ -112,10 +112,10 @@ button:active {
transform: scale(0.98); transform: scale(0.98);
} }
input[disabled], input:disabled,
button[disabled], button:disabled,
input[disabled]:hover, input:disabled:hover,
button[disabled]:hover { button:disabled:hover {
opacity: 0.4; opacity: 0.4;
cursor: not-allowed; cursor: not-allowed;
} }