From 7221e2c0d0d37ce86918d7432bbe56ac219398d0 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Wed, 29 May 2024 10:45:37 -0600 Subject: [PATCH] updated CSS for table to target only tables in change forms. Updated styling for dark mode. --- src/registrar/assets/sass/_theme/_admin.scss | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/registrar/assets/sass/_theme/_admin.scss b/src/registrar/assets/sass/_theme/_admin.scss index 5f2b95b34..562ffdd11 100644 --- a/src/registrar/assets/sass/_theme/_admin.scss +++ b/src/registrar/assets/sass/_theme/_admin.scss @@ -151,9 +151,6 @@ html[data-theme="dark"] { } } -.usa-table td { - border-bottom: 1px solid var(--hairline-color); -} #branding h1 a:link, #branding h1 a:visited { color: var(--primary-fg); @@ -186,6 +183,18 @@ div#content > h2 { } } +.change-form { + .usa-table--striped tbody tr:nth-child(odd) td, + .usa-table--striped tbody tr:nth-child(odd) th, + .usa-table td, + .usa-table th { + background-color: transparent; + } + .usa-table th { + background-color: transparent; + } +} + #nav-sidebar { padding-top: 20px; }