From 1dc9511429f259eef725d9d8cc7479670b911179 Mon Sep 17 00:00:00 2001 From: Craig Clark Date: Thu, 14 Dec 2023 13:58:20 -0500 Subject: [PATCH] Issue #215: remove background color on draft nodes --- html/themes/custom/dc_theme/css/style.css | 26 ++-------------- .../scss/_page-node-type-data-set.scss | 30 ++----------------- 2 files changed, 4 insertions(+), 52 deletions(-) diff --git a/html/themes/custom/dc_theme/css/style.css b/html/themes/custom/dc_theme/css/style.css index 6280d6aa..ed08faed 100644 --- a/html/themes/custom/dc_theme/css/style.css +++ b/html/themes/custom/dc_theme/css/style.css @@ -349,32 +349,10 @@ ul.dc-list-inline li:last-child::after, ol.dc-list-inline li:last-child::after { margin: 0 0.25em; } -/* fields on data set node view - -.dc-dictionary .field--label-inline { - display: flex; -} - -.dc-dictionary .field--label-inline .field__label { - min-width: 18em; - max-width: 18em; - font-weight: normal; -} - -.dc-dictionary .field { - padding: .75em 0; - border-bottom: 1px solid #e0e0e0; -} - -.dc-dictionary .field:first-child { - border-top: 1px solid #e0e0e0; -} - -.dc-dictionary .field:last-child { - border-bottom: 0px solid transparent; +.node--unpublished { + background-color: transparent; } -*/ @media only screen and (min-width: 992px) { nav.navigation.menu--footer .navbar-nav { flex-direction: row; diff --git a/html/themes/custom/dc_theme/scss/_page-node-type-data-set.scss b/html/themes/custom/dc_theme/scss/_page-node-type-data-set.scss index d8a963c6..05fe5074 100644 --- a/html/themes/custom/dc_theme/scss/_page-node-type-data-set.scss +++ b/html/themes/custom/dc_theme/scss/_page-node-type-data-set.scss @@ -70,34 +70,8 @@ } } - } - - -/* fields on data set node view - -.dc-dictionary .field--label-inline { - display: flex; +.node--unpublished { + background-color: transparent; } - -.dc-dictionary .field--label-inline .field__label { - min-width: 18em; - max-width: 18em; - font-weight: normal; -} - -.dc-dictionary .field { - padding: .75em 0; - border-bottom: 1px solid #e0e0e0; -} - -.dc-dictionary .field:first-child { - border-top: 1px solid #e0e0e0; -} - -.dc-dictionary .field:last-child { - border-bottom: 0px solid transparent; -} - -*/