mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
testing mouse buttons for touch interface
This commit is contained in:
@@ -14,8 +14,10 @@ a {
|
||||
text-decoration: underline dotted;
|
||||
color: var(--fg-color-normal);
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
@media (hover: hover) {
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
@@ -35,17 +37,25 @@ button, select {
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:enabled:hover, select:enabled:hover {
|
||||
color: var(--fg-color-intensive);
|
||||
background-color: var(--bg-color-dark) !important;
|
||||
@media (hover: hover) {
|
||||
button:enabled:hover, select:enabled:hover {
|
||||
color: var(--fg-color-intensive);
|
||||
background-color: var(--bg-color-dark) !important;
|
||||
}
|
||||
button:active, select:active {
|
||||
color: var(--fg-color-selected) !important;
|
||||
}
|
||||
}
|
||||
@media (hover: none) {
|
||||
button:active, select:active {
|
||||
color: var(--fg-color-intensive);
|
||||
background-color: var(--bg-color-dark);
|
||||
}
|
||||
}
|
||||
button:disabled, select:disabled {
|
||||
color: var(--fg-color-inactive);
|
||||
cursor: default;
|
||||
}
|
||||
button:active, select:active {
|
||||
color: var(--fg-color-selected) !important;
|
||||
}
|
||||
|
||||
select {
|
||||
-webkit-appearance: button;
|
||||
|
||||
Reference in New Issue
Block a user