Skip to content

Commit

Permalink
Exclude any theme containing "lcars" on the name
Browse files Browse the repository at this point in the history
These CSS rules apply some changes to icheck items in Domains page, but
these changes are not desired on both lcars themes.
The previous code excluded only the original LCARS theme from this rule.
This change will allow the same behavior on both themes.

Signed-off-by: RD WebDesign <[email protected]>
  • Loading branch information
rdwebdesign committed Oct 15, 2023
1 parent e5f4f37 commit 5612389
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions style/pi-hole.css
Original file line number Diff line number Diff line change
Expand Up @@ -779,29 +779,29 @@ li:not(.menu-open) .treeview-menu .warning-count {
}

/* Domains table: filter by type - smaller icheck */
body:not(.lcars) .filter_types [class*="icheck-"] > label {
body:not([class*="lcars"]) .filter_types [class*="icheck-"] > label {
padding-left: 1.5em !important;
line-height: 1.2em;
min-height: 1.2em;
}
body:not(.lcars)
body:not([class*="lcars"])
.filter_types
[class*="icheck-"]
> input:first-child
+ input[type="hidden"]
+ label::before,
body:not(.lcars) .filter_types [class*="icheck-"] > input:first-child + label::before {
body:not([class*="lcars"]) .filter_types [class*="icheck-"] > input:first-child + label::before {
width: 1.2em;
height: 1.2em;
margin-left: -1.55em;
}
body:not(.lcars)
body:not([class*="lcars"])
.filter_types
[class*="icheck-"]
> input:first-child:checked
+ input[type="hidden"]
+ label::after,
body:not(.lcars) .filter_types [class*="icheck-"] > input:first-child:checked + label::after {
body:not([class*="lcars"]) .filter_types [class*="icheck-"] > input:first-child:checked + label::after {
width: 0.35em;
height: 0.7em;
top: -0.2em;
Expand Down

0 comments on commit 5612389

Please sign in to comment.