mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Remove tap highlight on mobile Safari (#911)
* remove tap highlight * indentation fix removing tab that was already there * Best of both worlds Makes tap higlight visible on clickable elements on cards. (provides some basic tap-feedback on iOS safari) * allow highlight on sidebar links, add comment
This commit is contained in:
parent
579adb0455
commit
24bafceb71
@ -19,7 +19,13 @@
|
||||
<template>
|
||||
<style>
|
||||
:host {
|
||||
color: var(--primary-text-color);
|
||||
color: var(--primary-text-color);
|
||||
/* remove the grey tap highlights in iOS on the fullscreen touch targets */
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
iron-pages, ha-sidebar {
|
||||
/* allow a light tap highlight on the actual interface elements */
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0.1);
|
||||
}
|
||||
iron-pages {
|
||||
height: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user