mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Fix visual bugs
- fix top circle position; - fix circle background colors for each theme; - special CSS for LCARS theme; - change CSS selector for top navbar `<li>`: after removing the first item, the "old" second item became the first one. - use a better color for all themes; - hide submenu counter during animation; - hide the other counter when submenu is opened (mobile too) Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -372,12 +372,10 @@ function checkMessages() {
|
||||
? "There are " + data.message_count + " warnings." + more
|
||||
: "There is one warning." + more;
|
||||
|
||||
$("#top-warning-count").prop("title", title);
|
||||
$("#top-warning-count").removeClass("hidden");
|
||||
$(".warning-count").prop("title", title);
|
||||
$(".warning-count").text(data.message_count);
|
||||
$(".warning-count").removeClass("hidden");
|
||||
} else {
|
||||
$("#top-warning-count").addClass("hidden");
|
||||
$(".warning-count").addClass("hidden");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user