From ee9612400675c0b37fdfe38ace12164b500a06d9 Mon Sep 17 00:00:00 2001 From: Ambrose <45524683+ammalagonc@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:53:22 -0400 Subject: [PATCH] Add `remaster` table class to `_globals.css` (#16750) --- src/styles/_globals.scss | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/styles/_globals.scss b/src/styles/_globals.scss index 1515a519745..afd0859f38d 100644 --- a/src/styles/_globals.scss +++ b/src/styles/_globals.scss @@ -129,11 +129,30 @@ table.pf2-table { background-color: var(--color-pf-primary-dark); color: var(--text-light); font-weight: bold; - padding: 0.5rem 0.25rem; + padding: var(--space-8) var(--space-4); } td { - padding: 0.25rem; + padding: var(--space-4); + } + + &.remaster { + tr:nth-child(odd) { + background-color: #eee3c8; + } + + tr:nth-child(even) { + background-color: #f5efe0; + } + + th, + td { + border-color: var(--color-border-light-tertiary); + } + + th { + background-color: #002a17; + } } }