dark.scss 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // SCSS variables
  2. $color-main-text: #d8d8d8;
  3. $color-main-background: #181818;
  4. $color-background-dark: lighten($color-main-background, 4%);
  5. $color-background-darker: lighten($color-main-background, 8%);
  6. $color-placeholder-light: lighten($color-main-background, 10%);
  7. $color-placeholder-dark: lighten($color-main-background, 20%);
  8. $color-text-maxcontrast: darken($color-main-text, 30%);
  9. $color-text-light: darken($color-main-text, 10%);
  10. $color-text-lighter: darken($color-main-text, 20%);
  11. $color-loading-light: #777;
  12. $color-loading-dark: #ccc;
  13. $color-box-shadow: transparentize(darken($color-main-background, 70%), 0.5);
  14. $color-border: lighten($color-main-background, 7%);
  15. $color-border-dark: lighten($color-main-background, 14%);
  16. #app-navigation > ul > li > a:first-child,
  17. #app-navigation > ul > li > ul > li > a:first-child,
  18. #contactsmenu-menu a,
  19. #expanddiv a,
  20. .activity-section .activity-icon.monochrome {
  21. & > img,
  22. :not(.avatardiv) > img {
  23. filter: invert(100%);
  24. }
  25. }
  26. #navigation #apps li a,
  27. #body-settings #content-vue.app-settings .app-image-icon,
  28. #body-settings #content-vue.app-settings #app-sidebar #app-details-view h2 {
  29. svg {
  30. filter: invert(100%);
  31. }
  32. }
  33. // Otherwise icon-more gets inverted via function
  34. #appmenu .icon-more-white {
  35. filter: invert(100%);
  36. }
  37. // since svg icons are inverted, revert to white for the header
  38. .header-right > * {
  39. >[class^='icon-'] {
  40. filter: invert(100%);
  41. }
  42. }
  43. .bubble,
  44. .app-navigation-entry-menu,
  45. .popovermenu {
  46. li {
  47. > button,
  48. > a,
  49. > .menuitem {
  50. > img {
  51. filter: invert(100%);
  52. }
  53. }
  54. }
  55. }
  56. .bubble,
  57. .app-navigation-entry-menu,
  58. .popovermenu,
  59. #header .menu {
  60. border: 1px solid var(--color-border);
  61. }
  62. // Prevent slideshow icons from going dark
  63. #slideshow {
  64. [class^='icon-'], [class*=' icon-']{
  65. filter: invert(100%);
  66. }
  67. }
  68. input[type=checkbox] {
  69. &.checkbox {
  70. &:checked + label:before {
  71. background-image: url('../../../core/img/actions/checkbox-mark-dark.svg');
  72. }
  73. &:indeterminate + label:before {
  74. background-image: url('../../../core/img/actions/checkbox-mixed-dark.svg');
  75. }
  76. }
  77. }