darktheme.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. /*
  2. Darktheme CSS
  3. This file contains the CSS for the dark theme.
  4. This will override the default CSS (white theme) for semantic UI
  5. */
  6. body.darkTheme {
  7. background-color: var(--theme_bg);
  8. color: var(--text_color);
  9. }
  10. body.darkTheme h1,
  11. body.darkTheme h2,
  12. body.darkTheme h3,
  13. body.darkTheme h4,
  14. body.darkTheme h5,
  15. body.darkTheme h6,
  16. body.darkTheme a {
  17. color: var(--text_color);
  18. }
  19. body.darkTheme .ui.header {
  20. color: var(--text_color) !important;
  21. }
  22. body.darkTheme p,
  23. body.darkTheme span{
  24. color: var(--text_color_secondary);
  25. }
  26. body.darkTheme .ui.secondary.menu .dropdown.item:hover,
  27. body.darkTheme .ui.secondary.menu .link.item:hover,
  28. body.darkTheme .ui.secondary.menu a.item:hover {
  29. color: var(--text_color) !important;
  30. }
  31. body.darkTheme .ui.basic.white.icon.button {
  32. background-color: transparent !important;
  33. border: none !important;
  34. }
  35. body.darkTheme .ui.basic.white.icon.button:hover {
  36. border: none !important;
  37. opacity: 0.8;
  38. }
  39. body.darkTheme .ui.basic.white.icon.button:disabled {
  40. border: none !important;
  41. opacity: 0.5;
  42. }
  43. body.darkTheme .ui.basic.buttons .button i.icon {
  44. color: #ffffff !important;
  45. }
  46. body.darkTheme .ui.basic.button:not(.red) {
  47. color: #ffffff !important;
  48. border: 1px solid var(--button_border_color) !important;
  49. }
  50. body.darkTheme .ui.basic.button:not(.red):hover {
  51. border: 1px solid var(--button_border_color) !important;
  52. background-color: var(--theme_bg) !important;
  53. opacity: 0.8;
  54. }
  55. body.darkTheme .ui.basic.button.red:hover {
  56. background-color: #380a0a !important;
  57. opacity: 0.8;
  58. }
  59. body.darkTheme .ui.basic.button:disabled {
  60. border: none !important;
  61. background-color: transparent !important;
  62. opacity: 0.5;
  63. }
  64. body.darkTheme .ui.basic.button:focus,
  65. body.darkTheme .ui.basic.buttons .button:focus {
  66. background: transparent !important;
  67. background-color: transparent !important;
  68. border: none !important;
  69. }
  70. body.darkTheme .ui.table thead th,
  71. body.darkTheme .ui.table tbody td,
  72. body.darkTheme .ui.table tfoot td {
  73. color: #ffffff !important;
  74. }
  75. body.darkTheme .ui.input input,
  76. body.darkTheme .ui.input input::placeholder,
  77. body.darkTheme .ui.input input:focus,
  78. body.darkTheme .ui.input input:active {
  79. color: #ffffff !important;
  80. border-color: #ffffff !important;
  81. }
  82. body.darkTheme .ui.input input {
  83. background-color: var(--theme_bg_active) !important;
  84. border: 1px solid transparent !important;
  85. }
  86. body.darkTheme .ui.input input:focus,
  87. body.darkTheme .ui.input input:active {
  88. border-color: var(--theme_highlight) !important;
  89. }
  90. body.darkTheme .ui.input input::placeholder {
  91. opacity: 0.7;
  92. }
  93. body.darkTheme .ui.label,
  94. body.darkTheme .ui.label .detail,
  95. body.darkTheme .ui.label .icon {
  96. color: #ffffff !important;
  97. }
  98. body.darkTheme .advanceoptions .title {
  99. color: var(--text_color_secondary) !important;
  100. }
  101. body.darkTheme .ui.toggle.checkbox input ~ .box,
  102. body.darkTheme .ui.toggle.checkbox input ~ label,
  103. body.darkTheme .ui.toggle.checkbox input ~ label:focus {
  104. color: var(--text_color_secondary) !important;
  105. }
  106. body.darkTheme .ui.toggle.checkbox input ~ label::before{
  107. background-color: var(--theme_bg_secondary) !important;
  108. }
  109. body.darkTheme .ui.toggle.checkbox input:checked ~ label::before{
  110. background-color: var(--theme_highlight) !important;
  111. }
  112. body.darkTheme .ui.segment:not(.basic) {
  113. background-color: var(--theme_bg) !important;
  114. color: var(--text_color) !important;
  115. border: 1px solid transparent !important;
  116. }
  117. body.darkTheme .sub.header {
  118. color: var(--text_color) !important;
  119. }
  120. body.darkTheme .ui.radio.defaultsite.checkbox label {
  121. color: var(--text_color) !important;
  122. }
  123. body.darkTheme .ui.radio.defaultsite.checkbox label small {
  124. color: var(--text_color_secondary) !important;
  125. }
  126. body.darkTheme .ui.form .field input,
  127. body.darkTheme .ui.form .field input::placeholder,
  128. body.darkTheme .ui.form .field input:focus,
  129. body.darkTheme .ui.form .field input:active {
  130. color: var(--text_color) !important;
  131. border-color: 1px solid transparent !important;
  132. background-color: var(--theme_bg_active) !important;
  133. }
  134. body.darkTheme .ui.form .field input::placeholder {
  135. opacity: 0.7;
  136. }
  137. body.darkTheme .ui.form .field label,
  138. body.darkTheme .ui.form .field .ui.checkbox input:checked ~ label {
  139. color: var(--text_color) !important;
  140. }
  141. body.darkTheme .ui.basic.label {
  142. background-color: var(--theme_bg_secondary) !important;
  143. color: var(--text_color) !important;
  144. }
  145. /*
  146. HTTP Proxy Table
  147. */
  148. body.darkTheme .ui.table{
  149. background-color: transparent !important;
  150. }
  151. body.darkTheme .ui.celled.sortable.unstackable.compact.table thead th,
  152. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td,
  153. body.darkTheme .ui.celled.sortable.unstackable.compact.table tfoot td {
  154. background-color: var(--theme_bg) !important;
  155. color: var(--text_color) !important;
  156. border-color: var(--divider_color) !important;
  157. }
  158. body.darkTheme .ui.celled.sortable.unstackable.compact.table thead th {
  159. background-color: var(--theme_bg_secondary) !important;
  160. }
  161. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody tr:hover {
  162. background-color: var(--theme_bg_hover) !important;
  163. }
  164. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td a {
  165. color: var(--link_color) !important;
  166. }
  167. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td a:hover {
  168. color: var(--link_hover_color) !important;
  169. }
  170. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td small {
  171. color: var(--text_color_secondary) !important;
  172. }
  173. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.toggle.checkbox input ~ .box,
  174. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.toggle.checkbox input ~ label,
  175. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.toggle.checkbox input ~ label:focus {
  176. color: var(--text_color_secondary) !important;
  177. }
  178. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.toggle.checkbox input ~ label::before {
  179. background-color: var(--theme_bg_secondary) !important;
  180. }
  181. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.toggle.checkbox input:checked ~ label::before {
  182. background-color: var(--theme_highlight) !important;
  183. }
  184. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.circular.mini.basic.icon.button {
  185. color: var(--button_color) !important;
  186. border: 1px solid var(--button_border_color) !important;
  187. }
  188. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.circular.mini.basic.icon.button:hover {
  189. background-color: var(--button_hover_bg) !important;
  190. color: var(--button_hover_color) !important;
  191. border: 1px solid var(--button_border_color) !important;
  192. }
  193. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.circular.mini.red.basic.icon.button {
  194. color: var(--button_red_color) !important;
  195. border: 1px solid var(--button_red_border_color) !important;
  196. }
  197. body.darkTheme .ui.celled.sortable.unstackable.compact.table tbody td .ui.circular.mini.red.basic.icon.button:hover {
  198. background-color: #380a0a !important;
  199. color: var(--button_red_hover_color) !important;
  200. }
  201. body.darkTheme .ui.basic.small.icon.circular.button {
  202. color: var(--button_color) !important;
  203. border: 1px solid var(--button_border_color) !important;
  204. }
  205. body.darkTheme .ui.basic.small.icon.circular.button:hover {
  206. background-color: var(--button_hover_bg) !important;
  207. color: var(--button_hover_color) !important;
  208. border: 1px solid var(--button_border_color) !important;
  209. opacity: 0.8;
  210. }
  211. body.darkTheme .ui.checkbox input ~ .box,
  212. body.darkTheme .ui.checkbox input ~ label,
  213. body.darkTheme .ui.checkbox input ~ label:focus {
  214. color: var(--text_color_secondary) !important;
  215. }
  216. body.darkTheme .ui.basic.advance.segment {
  217. background-color: var(--theme_bg) !important;
  218. color: var(--text_color) !important;
  219. border: 1px solid var(--divider_color) !important;
  220. }
  221. body.darkTheme .ui.endpointAdvanceConfig.accordion .title {
  222. color: var(--text_color) !important;
  223. }
  224. /*
  225. Virtual Directorie Table
  226. */
  227. body.darkTheme .ui.fluid.search.selection.dropdown {
  228. background-color: var(--theme_bg) !important;
  229. color: var(--text_color) !important;
  230. border-color: transparent !important;
  231. }
  232. body.darkTheme .ui.fluid.search.selection.dropdown .menu {
  233. background-color: var(--theme_bg) !important;
  234. color: var(--text_color) !important;
  235. }
  236. body.darkTheme .ui.fluid.search.selection.dropdown .menu .item {
  237. color: var(--text_color) !important;
  238. }
  239. body.darkTheme .ui.selection.dropdown .menu > .item {
  240. border-top: 1px solid var(--divider_color) !important;
  241. }
  242. body.darkTheme .ui.selection.active.dropdown .menu {
  243. border-color: var(--divider_color) !important;
  244. }
  245. body.darkTheme .ui.fluid.search.selection.dropdown .menu .item:hover {
  246. background-color: var(--theme_bg_hover) !important;
  247. color: var(--text_color) !important;
  248. }
  249. body.darkTheme .ui.fluid.search.selection.dropdown .menu .item.active.selected {
  250. background-color: var(--theme_highlight) !important;
  251. color: var(--text_color) !important;
  252. }
  253. body.darkTheme .ui.fluid.search.selection.dropdown .search {
  254. background-color: var(--theme_bg) !important;
  255. color: var(--text_color) !important;
  256. border-color: transparent !important;
  257. }
  258. body.darkTheme .ui.fluid.search.selection.dropdown .text {
  259. color: var(--text_color) !important;
  260. }
  261. body.darkTheme .ui.fluid.search.selection.dropdown .dropdown.icon {
  262. color: var(--text_color) !important;
  263. }