From b9e989cbf2e913fb4c819ee6a48be28d17e0e419 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:35:54 +0000 Subject: [PATCH] [v9.4.x] Geomap: Maintain consistent control styling (#62522) Geomap: Maintain consistent control styling (#62518) Co-authored-by: nmarrs (cherry picked from commit bf2cf76cad3cb47759825dd1d0767d7f4ef78649) Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> --- public/app/plugins/panel/geomap/globalStyles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/plugins/panel/geomap/globalStyles.ts b/public/app/plugins/panel/geomap/globalStyles.ts index f283255d6cf..6b43228b50f 100644 --- a/public/app/plugins/panel/geomap/globalStyles.ts +++ b/public/app/plugins/panel/geomap/globalStyles.ts @@ -66,9 +66,11 @@ export function getGlobalStyles(theme: GrafanaTheme2) { background-color: ${theme.colors.secondary.main}; // rgba(0,60,136,0.5); } .ol-control button:hover { + color: ${theme.colors.secondary.text}; background-color: ${theme.colors.secondary.shade}; // rgba(0,60,136,0.5); } .ol-control button:focus { + color: ${theme.colors.secondary.text}; background-color: ${theme.colors.secondary.main}; // rgba(0,60,136,0.5); } .ol-attribution ul {