Skip to content

Commit

Permalink
chat: fix colors for maps in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vednoc committed Aug 6, 2020
1 parent b38c3e0 commit 7898ae0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions wa.user.styl
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,18 @@ ac5 = var(--ac-5)
bottom: 3px i
}
}

/// Google Maps timestamps.
/[style *= 'height'][data-plain-text *= 'maps.google.com'] {
+ div[class] > [role] {
padding: 2px 4px i
background-color: to_rgba('bg-1', 0.7) i
rad: (tail_style == 'fb-like') ? 16px i : 5px i
}

/// Live location overlay.
/.a221_ { background-color: to_rgba('bg-4', 0.5) i }
}
}

/// Feat -> Blur images/videos.
Expand Down Expand Up @@ -1538,6 +1550,11 @@ ac5 = var(--ac-5)
._3uMse { rad: var(--r-inputs) i }
}

/// Fix styles for Google Maps.
img[src *= 'maps.googleapis.com'] {
filter: invert(0.8) hue-rotate(180deg) i
}

/// Fix unread messages in dark mode. @upstream
/.dark ._8Uqu5 ._3dtfX .m61XR { c: var(--secondary-stronger) }

Expand Down

0 comments on commit 7898ae0

Please sign in to comment.