Skip to content

Commit

Permalink
Show a message for empty tabs when selecting "Only Modified" settings
Browse files Browse the repository at this point in the history
and fix the navigation basic style colors

Signed-off-by: RD WebDesign <[email protected]>
  • Loading branch information
rdwebdesign committed Jun 4, 2024
1 parent d095f09 commit 4866437
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions style/pi-hole.css
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,45 @@ table.dataTable tbody > tr > .selected {
display: block;
}

/* Settings containers without modified items and with hidden boxes will display this text */
.settings-container:not(:has(h3[data-modified="true"])):has(.box[style*="display: none;"])::before {
content: "No modified settings to display";
opacity: 0.7;
font-style: italic;
}

#advanced-settings-menu {
margin-bottom: 1.5em;
}

#advanced-settings-menu ul {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: .5em
}
#advanced-settings-menu ul:before,
#advanced-settings-menu ul:after {
content: none
}

#advanced-settings-menu ul > li {
margin: 0;
min-width: 112px;
flex: 1 1 auto;
text-align: center;
border: 1px solid rgba(127, 127, 127, 0.2);
}

#advanced-settings-menu ul > li a:not(:hover) {
color: inherit;
background: none;
}
#advanced-settings-menu ul > li a:hover {
color: inherit;
background: rgba(127, 127, 127, 0.2);
}

@media screen and (max-width: 991px) {
.settings-container {
--columns: 1;
Expand Down

0 comments on commit 4866437

Please sign in to comment.