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:
commit
f19bda80c6
10
dist/chota.css
vendored
10
dist/chota.css
vendored
@ -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
2
dist/chota.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user