dark.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. /*
  2. Rules to provide the dark colors
  3. Important:
  4. - No layout information should be provided.
  5. - To layout a control, see controls.css.
  6. - To layout a workbench UI, see workbench.css
  7. */
  8. .dark body, .dark .Window {
  9. background: #202020 !important;
  10. color: #e0e0e0;
  11. }
  12. /* a */
  13. .dark a {
  14. color: white;
  15. }
  16. /* input */
  17. .dark input,
  18. .dark textarea {
  19. background: #2e2e2e;
  20. color: #f0f0f0;
  21. border-style: solid;
  22. border-width: 1px;
  23. border-color: #ffffff20;
  24. }
  25. .dark input[type="file"] {
  26. display: none;
  27. }
  28. .dark input:focus,
  29. .dark textarea:focus {
  30. background: #2a2a2a;
  31. border-color: #f59c5c !important;
  32. outline-style: none;
  33. }
  34. .dark input:read-only,
  35. .dark textarea:read-only {
  36. background: rgba(0, 0, 0, 0.05);
  37. }
  38. /* button */
  39. .dark button,
  40. .dark input[type="submit"]
  41. /* , .dark .ToolbarItem */
  42. {
  43. background: #5f5f5f;
  44. border-color: #646464;
  45. color: #f0f0f0;
  46. text-shadow: 1px 1px #0e0e0e;
  47. border-style: solid;
  48. border-width: 1px;
  49. border-radius: 3px;
  50. padding: 5px;
  51. }
  52. .dark button[disabled] {
  53. color: rgba(0, 0, 0, 0.4);
  54. text-shadow: 1px 1px rgba(255, 255, 255, 0.4);
  55. }
  56. .dark button:hover,
  57. .dark .ToolbarItem:hover {
  58. background: #747474;
  59. }
  60. .dark button[disabled]:hover {
  61. background: #5f5f5f;
  62. }
  63. .dark button:active,
  64. .dark .ToolbarItem.active {
  65. background: #4f4f4f;
  66. }
  67. .dark .ColorButton canvas {
  68. background-color: rgba(0, 0, 0, 0.5);
  69. }
  70. /* Tooltip */
  71. .dark .Tooltip {
  72. background: #151515;
  73. border-color: rgba(255, 255, 255, 0.5);
  74. border-radius: 3px;
  75. }
  76. /* TabPane */
  77. .dark .TabPaneContentArea,
  78. .dark .TabPaneLabel.selected {
  79. background: #343434;
  80. }
  81. .dark .TabPaneContentArea:empty {
  82. background: transparent !important;
  83. }
  84. .dark .TabPaneLabel.selected {
  85. text-shadow: 1px 1px #0e0e0e;
  86. }
  87. .dark .TabPaneLabelSection.selected {
  88. border-bottom-color: inherit;
  89. color: inherit;
  90. }
  91. .dark .TabPane.activePart .TabPaneLabelSection.selected {
  92. border-bottom-color: #f59c5c !important;
  93. color: #f59c5c;
  94. }
  95. /* Part */
  96. .dark .TabPane.activePart .TabPaneLabel.selected {
  97. box-shadow: inset 0px 2px 0px #f0a050;
  98. }
  99. .dark .TabPane.activePart .TabPaneContentArea,
  100. .dark .TabPane.activePart .TabPaneLabel.selected {
  101. background: #3f3f3f;
  102. }
  103. .dark .ViewerPart .FilteredViewer {
  104. background: transparent;
  105. }
  106. /* ViewerPart */
  107. .dark .ViewerPart {
  108. display: grid;
  109. grid-template-columns: 2px 1fr 2px;
  110. grid-template-rows: 0px 1fr 0px;
  111. }
  112. /* Scroll Bar */
  113. .dark {
  114. /* firefox */
  115. scrollbar-color: #858585 #4b4b4b;
  116. }
  117. .dark .ScrollBar,
  118. .dark ::-webkit-scrollbar-track {
  119. /*background: #ffffff08;*/
  120. }
  121. .dark .ScrollHandler,
  122. .dark ::-webkit-scrollbar-thumb {
  123. background: #606060;
  124. }
  125. .dark .ScrollHandler:hover,
  126. .dark ::-webkit-scrollbar-thumb:hover {
  127. background: #656565;
  128. }
  129. .dark .ScrollHandler:active,
  130. .dark ::-webkit-scrollbar-thumb:active {
  131. background: #767676;
  132. }
  133. /* Property Page */
  134. .dark .PropertySectionPane {
  135. background: rgba(255, 255, 255, 0.05);
  136. }
  137. .dark .PropertyTitleArea {
  138. color: #b0b0b0;
  139. }
  140. .dark .PropertyTitleArea label,
  141. .dark .PropertySubTitleLabel {
  142. /* text-shadow: 1px 1px #0e0e0e; */
  143. }
  144. /* Toolbar */
  145. .dark .ToolbarItem {
  146. text-shadow: 1px 1px #0e0e0e;
  147. border-color: transparent;
  148. }
  149. .dark .ToolbarItem.ActionSelected {
  150. background: #3f3f3f;
  151. border-color: #858585;
  152. }
  153. /* Icon buttons */
  154. .dark .IconButton:hover {
  155. border-color: rgba(255, 255, 255, 0.2);
  156. }
  157. /* ProgressBar */
  158. .dark .ProgressBar {
  159. background: #f0a050;
  160. }
  161. /* Pane */
  162. .dark .Pane {
  163. background: #2f2f2f;
  164. }
  165. /* Dialog */
  166. .dark .darkDialogContainer {
  167. background: #202020;
  168. }
  169. .dark .Dialog {
  170. background: #3f3f3f;
  171. }
  172. .dark .Dialog .DialogTitlePane {
  173. text-shadow: 1px 1px #0e0e0e;
  174. }
  175. /* Menu */
  176. .dark .Menu {
  177. list-style-type: none;
  178. background: #525252;
  179. padding: 0px;
  180. margin: 0px;
  181. border-style: solid;
  182. border-width: 1px;
  183. border-color: #6f6f6f;
  184. padding: 1px;
  185. }
  186. .dark .MenuItemSeparator {
  187. background: rgba(255, 255, 255, 0.1);
  188. }
  189. .dark .MenuItem:hover,
  190. .dark .MenuItemSelected {
  191. background: #f0a050;
  192. color: #0e0e0e;
  193. }
  194. .dark .MenuItemDisabled {
  195. color: rgba(255, 255, 255, 0.5);
  196. }
  197. .dark .MenuItemDisabled:hover {
  198. color: #3e3e3e;
  199. }