From c543b5295fde49c827e9902ece9fc0e4ba8723d5 Mon Sep 17 00:00:00 2001 From: matthias Date: Tue, 20 Nov 2018 11:15:37 +0000 Subject: [PATCH] Bug 1505066 - Update in-content table styles to use Photon colors and introduce striping on Windows r=ntim,dao Differential Revision: https://phabricator.services.mozilla.com/D11384 --HG-- extra : moz-landing-system : lando --- browser/components/aboutconfig/content/aboutconfig.css | 2 +- toolkit/themes/shared/in-content/common.inc.css | 10 +++++----- toolkit/themes/windows/global/in-content/common.css | 4 ---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/browser/components/aboutconfig/content/aboutconfig.css b/browser/components/aboutconfig/content/aboutconfig.css index 8d1364ff04b5..9e75d7c44a4f 100644 --- a/browser/components/aboutconfig/content/aboutconfig.css +++ b/browser/components/aboutconfig/content/aboutconfig.css @@ -32,7 +32,7 @@ } #prefs > tr:hover { - background-color: var(--in-content-box-background-hover); + background-color: var(--in-content-item-hover); } #prefs > tr.has-user-value { diff --git a/toolkit/themes/shared/in-content/common.inc.css b/toolkit/themes/shared/in-content/common.inc.css index 677eebf5c095..a3f7cc392520 100644 --- a/toolkit/themes/shared/in-content/common.inc.css +++ b/toolkit/themes/shared/in-content/common.inc.css @@ -12,11 +12,11 @@ --in-content-text-color: #0c0c0d; --in-content-selected-text: #fff; --in-content-box-background: #fff; - --in-content-box-background-odd: #f3f6fa; - --in-content-box-background-hover: #ebebeb; - --in-content-box-background-active: #dadada; - --in-content-box-border-color: #d7d7db; - --in-content-item-hover: rgba(0,149,221,0.25); + --in-content-box-background-odd: rgba(12, 12, 13, 0.05); /* grey 90 a05 */ + --in-content-box-background-hover: #ededf0; /* grey 20 */ + --in-content-box-background-active: #d7d7db; /* grey 30 */ + --in-content-box-border-color: #d7d7db; /* grey 30 */ + --in-content-item-hover: rgba(69, 161, 255, 0.2); /* blue 40 a20 */ --in-content-item-selected: #0a84ff; --in-content-border-highlight: #0a84ff; --in-content-border-focus: #0a84ff; diff --git a/toolkit/themes/windows/global/in-content/common.css b/toolkit/themes/windows/global/in-content/common.css index fc9f211cdc1f..074344f64dbb 100644 --- a/toolkit/themes/windows/global/in-content/common.css +++ b/toolkit/themes/windows/global/in-content/common.css @@ -4,10 +4,6 @@ %include ../../../shared/in-content/common.inc.css -:root { - --in-content-box-background-odd: transparent; -} - xul|*.menulist-dropmarker { margin-top: 1px; margin-bottom: 1px;