From e2021b0c461d6daad0e2a87b8676cb89b9008d73 Mon Sep 17 00:00:00 2001 From: Kasper Nilsson Date: Tue, 17 Apr 2018 16:32:46 +0200 Subject: [PATCH] Standardize tooltip colors Also removes the mixin for customizing tooltip background, as the only use of this mixin was for a color that is almost indistinguishable from the default one. Change-Id: Ic1be80a78d586e5ebed04893bc8b715f7d4a47a3 --- .../gr-selection-action-box/gr-selection-action-box.html | 3 --- polygerrit-ui/app/elements/shared/gr-alert/gr-alert.html | 5 +++-- .../app/elements/shared/gr-tooltip/gr-tooltip.html | 8 ++++---- polygerrit-ui/app/styles/app-theme.html | 3 +++ 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html b/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html index 3209d630ae..633530f47f 100644 --- a/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html +++ b/polygerrit-ui/app/elements/diff/gr-selection-action-box/gr-selection-action-box.html @@ -29,9 +29,6 @@ limitations under the License. position: absolute; white-space: nowrap; } - #tooltip { - --tooltip-background-color: rgba(22, 22, 22, .9); - } diff --git a/polygerrit-ui/app/styles/app-theme.html b/polygerrit-ui/app/styles/app-theme.html index 24858eed11..55d3342c07 100644 --- a/polygerrit-ui/app/styles/app-theme.html +++ b/polygerrit-ui/app/styles/app-theme.html @@ -87,6 +87,9 @@ limitations under the License. --edit-mode-background-color: #ebf5fb; + --tooltip-background-color: #333; + --tooltip-text-color: #fff; + --syntax-default-color: var(--primary-text-color); --syntax-meta-color: #FF1717; --syntax-keyword-color: #9E0069;