Skip to content

Commit

Permalink
Fix visual bugs
Browse files Browse the repository at this point in the history
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
  • Loading branch information
rdwebdesign committed Apr 7, 2022
1 parent 2ee6afe commit 3f50792
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
9 changes: 6 additions & 3 deletions style/pi-hole.css
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,10 @@ td.details-control {
right: 3em;
top: 50%;
font-size: 12px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

#top-warning-count {
top: 50%;
top: 55%;
left: 50%;
right: unset;
margin: 0;
Expand All @@ -584,7 +583,11 @@ td.details-control {
}

/* hide warning count when hover a collapsed sidebar */
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > a > span.warning-count {
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse
.sidebar-menu
> li:hover
> a
> span.warning-count {
display: none !important;
}

Expand Down
3 changes: 3 additions & 0 deletions style/themes/default-darker.css
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,9 @@ fieldset[disabled] .btn-link:hover {
.navbar-default .navbar-toggle .icon-bar {
background-color: rgb(91, 99, 103);
}
#top-warning-count {
background: rgba(34, 46, 51, 0.5);
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: rgb(55, 59, 62);
Expand Down
3 changes: 3 additions & 0 deletions style/themes/default-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
color: #f6f6f6;
background-color: #367fa9;
}
#top-warning-count {
background: rgba(34, 46, 51, 0.5);
}
@media (max-width: 767px) {
.main-header .navbar .dropdown-menu li.divider {
background-color: rgba(255, 255, 255, 0.1);
Expand Down
19 changes: 17 additions & 2 deletions style/themes/lcars.css
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,23 @@ p.login-box-msg,
font-size: 28px;
}

.icon-bounce {
animation: none;
.warning-count {
position: relative;
margin: 0;
right: 0;
top: 0;
background: #fff;
}

.sidebar-menu li > a > .pull-right-container.warning-count {
transform: scale(1);
position: relative;
bottom: 0.15em;
}

#top-warning-count {
position: absolute;
top: 60%;
}

.dropdown.user.user-menu {
Expand Down

0 comments on commit 3f50792

Please sign in to comment.