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:
RD WebDesign
2022-04-06 20:28:15 -03:00
parent 2ee6afe070
commit 521ecd75d5
3 changed files with 40 additions and 14 deletions

View File

@@ -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");
}
});