Browse Source

Fix CSS color for non night-mode header

pull/978/head
Timothée Jaussoin 5 years ago
parent
commit
c0e3b566d1
  1. 13
      public/theme/css/color.css

13
public/theme/css/color.css

@ -170,6 +170,14 @@ ul.list li > div > p:nth-last-of-type(2) + p:not(.normal):not(.main) {
color: rgba(var(--movim-font), 0.60);
}
body:not(.nightmode) header.fixed ul.list li > div > p:nth-last-of-type(3) + p:not(.normal):not(.main),
body:not(.nightmode) header.fixed ul.list li > div > p:nth-last-of-type(2) + p:not(.normal):not(.main),
body:not(.nightmode) header.big ul.list li > div > p:nth-last-of-type(3) + p:not(.normal):not(.main),
body:not(.nightmode) header.big ul.list li > div > p:nth-last-of-type(2) + p:not(.normal):not(.main),
body:not(.nightmode) div#snackbar ul.list li > div > p:nth-last-of-type(2) + p:not(.normal):not(.main) {
color: rgba(var(--movim-background-main), 0.80);
}
/* Default color : indigo */
input[type=button].color,
@ -181,12 +189,9 @@ main > header {
border-color: var(--movim-accent);
}
body:not(.nightmode) header.fixed ul.list li > div > p:nth-last-of-type(3) + p,
body:not(.nightmode) header.fixed ul.list li > div > p:nth-last-of-type(2) + p,
.snackbar ul.list li > div > p,
.snackbar ul.list li > div > p:nth-last-of-type(2) + p,
main > header ul.list li > div > p:nth-last-of-type(2) + p,
header.big ul.list li > div > p:nth-last-of-type(2) + p {
main > header ul.list li > div > p:nth-last-of-type(2) + p {
color: white;
}

Loading…
Cancel
Save