mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
fix #101: disabled button scaling disabled
This commit is contained in:
parent
f8cb9d567f
commit
127eb75b01
16
dist/chota.css
vendored
16
dist/chota.css
vendored
@ -521,14 +521,6 @@ button {
|
||||
button:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.button:active,
|
||||
[type="button"]:active,
|
||||
[type="reset"]:active,
|
||||
[type="submit"]:active,
|
||||
button:active {
|
||||
-webkit-transform: scale(0.98);
|
||||
transform: scale(0.98);
|
||||
}
|
||||
input:disabled,
|
||||
input:disabled:hover,
|
||||
button:disabled,
|
||||
@ -634,6 +626,14 @@ textarea.success {
|
||||
.button.icon-only {
|
||||
padding: 1rem;
|
||||
}
|
||||
.button:active:not(:disabled),
|
||||
[type="button"]:active:not(:disabled),
|
||||
[type="reset"]:active:not(:disabled),
|
||||
[type="submit"]:active:not(:disabled),
|
||||
button:active:not(:disabled) {
|
||||
-webkit-transform: scale(0.98);
|
||||
transform: scale(0.98);
|
||||
}
|
||||
::-webkit-input-placeholder {
|
||||
color: #bdbfc4;
|
||||
}
|
||||
|
2
dist/chota.min.css
vendored
2
dist/chota.min.css
vendored
File diff suppressed because one or more lines are too long
@ -70,14 +70,6 @@ button:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.button:active,
|
||||
[type="button"]:active,
|
||||
[type="reset"]:active,
|
||||
[type="submit"]:active,
|
||||
button:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
input:disabled,
|
||||
input:disabled:hover,
|
||||
button:disabled,
|
||||
@ -201,6 +193,14 @@ textarea.success {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.button:active:not(:disabled),
|
||||
[type="button"]:active:not(:disabled),
|
||||
[type="reset"]:active:not(:disabled),
|
||||
[type="submit"]:active:not(:disabled),
|
||||
button:active:not(:disabled) {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
color: #bdbfc4;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user