Skip to content

Commit

Permalink
Issue #215: remove background color on draft nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigClark authored and lkmorlan committed Dec 14, 2023
1 parent 5f07900 commit 1dc9511
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 52 deletions.
26 changes: 2 additions & 24 deletions html/themes/custom/dc_theme/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
30 changes: 2 additions & 28 deletions html/themes/custom/dc_theme/scss/_page-node-type-data-set.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
*/

0 comments on commit 1dc9511

Please sign in to comment.