Merge pull request #1867 from Camc314/fix-hovering-on-mobile

Fix hovering CSS changes on mobile
This commit is contained in:
dkanada 2020-09-03 23:35:14 +09:00 committed by GitHub
commit c5223cbc80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 6 deletions

View file

@ -69,7 +69,14 @@ html {
color: #000;
}
.paper-icon-button-light:hover:not(:disabled) {
@media (hover: hover) and (pointer: fine) {
.paper-icon-button-light:hover:not(:disabled) {
color: #00a4dc;
background-color: rgba(0, 164, 220, 0.2);
}
}
.paper-icon-button-light:active:not(:disabled) {
color: #00a4dc;
background-color: rgba(0, 164, 220, 0.2);
}