Fix: Disabled hover from working on touch devices

Affects alpha picker, main media buttons, flat buttons
This commit is contained in:
lscambo13
2025-01-12 20:44:22 +05:30
parent 3027210f48
commit c6feca5d6a

View File

@@ -678,6 +678,10 @@ progress+span {
.button-flat:hover { .button-flat:hover {
color: unset; color: unset;
}
.button-flat:active {
color: unset;
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
} }
@@ -956,9 +960,9 @@ progress+span {
filter: brightness(1.35); filter: brightness(1.35);
} }
.raised:hover, .raised:active,
.fab:hover, .fab:active,
.emby-button:hover { .emby-button:active {
filter: brightness(1.2) !important; filter: brightness(1.2) !important;
} }
@@ -1151,8 +1155,7 @@ div[data-role=controlgroup] a.ui-btn-active {
color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.25);
} }
.alphaPickerButton-selected, .alphaPickerButton-selected{
.alphaPickerButton:hover {
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
} }
@@ -1289,6 +1292,20 @@ div[data-role=controlgroup] a.ui-btn-active {
border-color: var(--checkboxCheckedBgColor); border-color: var(--checkboxCheckedBgColor);
border-width: calc(2 * var(--borderWidth)); border-width: calc(2 * var(--borderWidth));
} }
.raised:hover,
.fab:hover,
.emby-button:hover {
filter: brightness(1.2) !important;
}
.button-flat:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.alphaPickerButton:hover {
color: rgba(255, 255, 255, 1);
}
} }
.paper-icon-button-light:active:not(:disabled) { .paper-icon-button-light:active:not(:disabled) {