Refactor "data-enabled" to "data-activated"

This commit is contained in:
redphx
2024-10-13 17:32:38 +07:00
parent d012d96675
commit 49fb8e2818
8 changed files with 49 additions and 43 deletions

View File

@@ -76,21 +76,21 @@
}
/* Touch controller buttons */
div[data-enabled] {
div[data-activated] {
button {
display: none;
}
}
/* Show enabled button */
div[data-enabled='true'] {
/* Show default button */
div[data-activated='false'] {
button:first-of-type {
display: block;
}
}
/* Show enable button */
div[data-enabled='false'] {
/* Show activated button */
div[data-activated='true'] {
button:last-of-type {
display: block;
}