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,10 +66,17 @@ html {
|
|||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #00a4dc;
|
||||
|
|
|
@ -66,10 +66,17 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #00a4dc;
|
||||
|
|
|
@ -54,10 +54,17 @@ html {
|
|||
background-color: rgba(0, 0, 0, 0.86);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #00a4dc;
|
||||
|
|
|
@ -69,10 +69,17 @@ html {
|
|||
color: #000;
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #00a4dc;
|
||||
|
|
|
@ -62,10 +62,17 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #ff77f1;
|
||||
|
|
|
@ -64,10 +64,17 @@ html {
|
|||
background: rgba(17, 98, 164, 0.9);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
.paper-icon-button-light.show-focus:focus {
|
||||
color: #00a4dc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue