1
0
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:
Jenil G 2023-03-21 00:08:13 -04:00
parent f8cb9d567f
commit 127eb75b01
3 changed files with 17 additions and 17 deletions

16
dist/chota.css vendored
View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -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;
}