color.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /* Color */
  2. body {
  3. --movim-main: 255, 87, 34;
  4. --movim-accent: #3F51B5;
  5. --movim-background-main: 255, 255, 255;
  6. --movim-background: #EEE;
  7. --movim-font: 0, 0, 0;
  8. }
  9. body.nightmode {
  10. --movim-accent: #222;
  11. --movim-background-main: 41, 41, 41;
  12. --movim-background: #393939;
  13. --movim-font: 255, 255, 255;
  14. }
  15. body > *,
  16. .context_menu,
  17. input, textarea, select {
  18. color: rgba(var(--movim-font), 0.87);
  19. }
  20. ul.list li.divided,
  21. hr:not(.clear),
  22. .card > .block:not(.subheader):not(.simple),
  23. *.divided > *:not(:last-child),
  24. *.divided.spaced > *:not(:last-child):after {
  25. border-color: rgba(var(--movim-font), 0.12);
  26. }
  27. label, span.info,
  28. .tabs a,
  29. table tr th {
  30. color: rgba(var(--movim-font), 0.54);
  31. }
  32. main > section > div > header.scroll {
  33. background-color: var(--movim-background);
  34. }
  35. .color {
  36. background-color: #607D8B;
  37. color: white;
  38. }
  39. .color.dark {
  40. background-color: #212121;
  41. }
  42. .color.dark *.divided > *:not(:last-child) {
  43. border-color: rgba(255, 255, 255, 0.05);
  44. }
  45. ul li.date > p.normal,
  46. .dialog, .drawer, ul.context_menu,
  47. ul li div.bubble:not(.sticker):not(.file),
  48. .card > .block:not(.subheader):not(.simple),
  49. main {
  50. background-color: rgb(var(--movim-background-main));
  51. }
  52. main > header a,
  53. .icon:not(.placeholder):not(.active) a,
  54. .color input {
  55. color: white;
  56. }
  57. .button.color,
  58. .color,
  59. ul li span.counter,
  60. form > div .radio > input[type="radio"]:checked + label {
  61. border-color: rgb(var(--movim-main));
  62. background-color: rgb(var(--movim-main));
  63. color: white;
  64. }
  65. /* Elements */
  66. .button.red, .icon.red , p.user.red { color: #F44336; }
  67. .button.purple, .icon.purple, p.user.purple { color: #9C27B0; }
  68. .button.indigo, .icon.indigo, p.user.indigo { color: #3F51B5; }
  69. .button.blue, .icon.blue , p.user.blue { color: #2196F3; }
  70. .button.green, .icon.green , p.user.green { color: #689F38; }
  71. .button.orange, .icon.orange, p.user.orange { color: #FF9800; }
  72. .button.yellow, .icon.yellow, p.user.yellow { color: #FBC02D; }
  73. .button.brown, .icon.brown , p.user.brown { color: #795548; }
  74. ul li.action > div.action,
  75. ul li.action > form > div.action,
  76. .button.gray, .icon.gray , p.user.gray { color: #9E9E9E; }
  77. .button.black, .icon.black , p.user.black { color: #000; }
  78. .color { color: white; background-color: #607D8B; border-color: #607D8B }
  79. span.icon.status.dnd:after,
  80. .color.red { color: white; background-color: #F44336; border-color: #F44336 }
  81. span.icon.status.xa:after,
  82. .color.purple { color: white; background-color: #9C27B0; border-color: #9C27B0 }
  83. .color.indigo { color: white; background-color: #3F51B5; border-color: #3F51B5 }
  84. .color.blue { color: white; background-color: #2196F3; border-color: #2196F3 }
  85. span.icon.status.chat:after,
  86. span.icon.status.online:after,
  87. .color.green { color: white; background-color: #689F38; border-color: #689F38 }
  88. .color.orange { color: white; background-color: #FF9800; border-color: #FF9800 }
  89. span.icon.status.away:after,
  90. .color.yellow { color: white; background-color: #FDD835; border-color: #FDD835 }
  91. span.icon.status.server_error:after,
  92. .color.brown { color: white; background-color: #795548; border-color: #795548 }
  93. .color.gray { color: white; background-color: #9E9E9E; border-color: #9E9E9E }
  94. .color.black { color: white; background-color: #000; border-color: #000 }
  95. .color.lime { color: white; background-color: #CDDC39; border-color: #CDDC39 }
  96. .color.cyan { color: white; background-color: #00bcd4; border-color: #00bcd4 }
  97. .color.teal { color: white; background-color: #009688; border-color: #009688 }
  98. .color.pink { color: white; background-color: #e91e63; border-color: #e91e63 }
  99. .color.dorange { color: white; background-color: #ff5722; border-color: #ff5722 }
  100. .color.lblue { color: white; background-color: #03a9f4; border-color: #03a9f4 }
  101. .color.amber { color: white; background-color: #ffc107; border-color: #ffc107 }
  102. .color.bgray { color: white; background-color: #607d8b; border-color: #607d8b }
  103. .color.transparent { color: white; background-color: rgba(0, 0, 0, 0); }
  104. form > div > input:focus:invalid,
  105. form > div > input:focus:required {
  106. box-shadow: 0px 2px 0px #F44336;
  107. }
  108. form > div > input:invalid,
  109. form input:focus:invalid + label,
  110. form textarea:focus:invalid + label {
  111. color: #F44336;
  112. }
  113. ul.list li > p:nth-last-of-type(3) + p:not(.normal),
  114. ul.list li > p:nth-last-of-type(2) + p:not(.normal) {
  115. color: rgba(var(--movim-font), 0.60);
  116. }
  117. /* Default color : indigo */
  118. input[type=button].color,
  119. main > section > div > header.fixed,
  120. main > header {
  121. background-color: var(--movim-accent);
  122. color: white;
  123. border-color: var(--movim-accent);
  124. }
  125. header.fixed ul.list li > p:nth-last-of-type(2) + p,
  126. main > section > div > header.big *,
  127. .snackbar ul.list li > p:nth-last-of-type(2) + p,
  128. main > header ul.list li > p:nth-last-of-type(2) + p,
  129. header.big ul.list li > p:nth-last-of-type(2) + p {
  130. color: white;
  131. }
  132. /* Gray accent : orange */
  133. .tabs,
  134. .tabs li.active a:not(.classic):not(.action),
  135. .button,
  136. header:not(.big) .icon a,
  137. a {
  138. color: rgb(var(--movim-main));
  139. border-color: rgb(var(--movim-main));
  140. }
  141. form > div .checkbox:before { background-color: rgba(var(--movim-main), 0.5); }
  142. form > div .checkbox > input[type="checkbox"]:checked + label { background-color: rgb(var(--movim-main)); }
  143. form input:focus:not(:invalid) + label,
  144. form textarea:focus:not(:invalid) + label {
  145. color: rgb(var(--movim-main));
  146. }
  147. form input:focus:not(:invalid):not(.button),
  148. form textarea:focus:not(:invalid):not(.button) {
  149. box-shadow: 0px 2px 0px rgb(var(--movim-main));
  150. }