Merge pull request #1867 from Camc314/fix-hovering-on-mobile
Fix hovering CSS changes on mobile
This commit is contained in:
commit
c5223cbc80
6 changed files with 48 additions and 6 deletions
|
@ -66,7 +66,14 @@ html {
|
|||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
|
|
@ -66,7 +66,14 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
|
|
@ -54,7 +54,14 @@ html {
|
|||
background-color: rgba(0, 0, 0, 0.86);
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -62,7 +62,14 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
.paper-icon-button-light:hover:not(:disabled) {
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.paper-icon-button-light:hover:not(:disabled) {
|
||||
color: rgb(12, 232, 214);
|
||||
background-color: rgba(0, 164, 220, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
.paper-icon-button-light:active:not(:disabled) {
|
||||
color: rgb(12, 232, 214);
|
||||
background-color: rgba(0, 164, 220, 0.2);
|
||||
}
|
||||
|
|
|
@ -64,7 +64,14 @@ html {
|
|||
background: rgba(17, 98, 164, 0.9);
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue