Skip to content

Commit

Permalink
Remove hover from toolbox for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
tverbeiren committed Nov 10, 2023
1 parent bbeb9f4 commit 683fc11
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ General
*/

/* General */

body {
--scale: 1.0;
font-weight: 400;
Expand Down Expand Up @@ -394,6 +395,7 @@ Toolbox layout

.tool-icon {
max-height: 100%;
/* height: 130%; */
vertical-align: middle;
}

Expand All @@ -412,6 +414,17 @@ Toolbox layout
display: block;
}

/* Deal with devices that do not support hover */
@media(hover:none) {
.tool-icon {
opacity: 40%;
}

.tool-tooltip-text {
display: block;
}
}

@keyframes fadeOut {
0% { opacity: 100%; }
100% { visibility: 40%; }
Expand Down

0 comments on commit 683fc11

Please sign in to comment.