#6797: Improve home page shading

This commit is contained in:
checktheroads
2021-07-24 00:38:28 -07:00
parent 0572d03003
commit 7d5f647cd3
5 changed files with 20 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -920,3 +920,19 @@ div.card > div.card-header > div.table-controls {
background-color: $tab-content-bg;
border-bottom: 1px solid $nav-tabs-border-color;
}
// Shade the home page content background-color.
body {
&[data-netbox-path='/'] {
.content-container,
.search {
background-color: $gray-100;
}
&[data-netbox-color-mode='dark'] {
.content-container,
.search {
background-color: $darkest;
}
}
}
}