e4-dark.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /*******************************************************************************
  2. * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
  10. * Lars Vogel - initial API and implementation
  11. *******************************************************************************/
  12. @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_basestyle.css");
  13. @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */
  14. @import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css");
  15. .MTrimmedWindow.topLevel {
  16. margin-top: 3px;
  17. margin-bottom: 3px;
  18. margin-left: 3px;
  19. margin-right: 3px;
  20. }
  21. .MPartStack, .MPart {
  22. font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
  23. }
  24. .MPartStack {
  25. swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
  26. swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
  27. swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
  28. swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
  29. swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
  30. swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
  31. padding: 0px 2px 2px;
  32. swt-shadow-visible: false;
  33. swt-mru-visible: true;
  34. swt-corner-radius: 16px;
  35. }
  36. .MPartStack.active {
  37. swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100%; /* title background for selected tab */
  38. swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%; /* title background for unselected tab */
  39. swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR'; /* border color for whole tabs container */
  40. swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
  41. swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR'; /* border color for selected tab */
  42. }
  43. .MPartStack.active.noFocus {
  44. swt-selected-tabs-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
  45. }
  46. .MPartStack.empty {
  47. swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' #4F5456 #4F5456 99% 100%; /* title background for unselected tab */
  48. swt-tab-outline: #535354; /* border color for selected tab */
  49. swt-outer-keyline-color: #515658; /* border color for whole tabs container */
  50. }
  51. .MPart.busy {
  52. font-style: italic;
  53. }
  54. .MPart.highlighted {
  55. font-weight: bold;
  56. }
  57. CTabItem,
  58. CTabItem CLabel {
  59. background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
  60. color: '#org-eclipse-ui-workbench-INACTIVE_TAB_UNSELECTED_TEXT_COLOR';
  61. }
  62. CTabItem:selected,
  63. CTabItem:selected CLabel {
  64. color: '#org-eclipse-ui-workbench-INACTIVE_TAB_SELECTED_TEXT_COLOR';
  65. }
  66. .MPartStack.active > CTabItem,
  67. .MPartStack.active > CTabItem CLabel {
  68. background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END'; /* HACK for background of CTabFolder inner Toolbars */
  69. color: '#org-eclipse-ui-workbench-ACTIVE_TAB_UNSELECTED_TEXT_COLOR';
  70. }
  71. .MPartStack.active > CTabItem:selected,
  72. .MPartStack.active > CTabItem:selected CLabel {
  73. color: '#org-eclipse-ui-workbench-ACTIVE_TAB_SELECTED_TEXT_COLOR';
  74. }
  75. .MPartStack.active.noFocus > CTabItem:selected {
  76. color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_SELECTED_TEXT_COLOR';
  77. }
  78. CTabItem.busy {
  79. color: #888888;
  80. }
  81. #PerspectiveSwitcher {
  82. eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
  83. }
  84. .MToolControl.TrimStack {
  85. /*frame-image: url(./gtkTSFrame.png);*/
  86. handle-image: url(./dragHandle.png);
  87. frame-cuts: 5px 1px 5px 16px;
  88. }
  89. .MToolBar.Draggable {
  90. handle-image: url(./dragHandle.png);
  91. }
  92. .MToolControl.Draggable {
  93. handle-image: url(./dragHandle.png);
  94. }
  95. .DragFeedback {
  96. background-color: COLOR-WIDGET-NORMAL-SHADOW;
  97. }
  98. .ModifiedDragFeedback {
  99. background-color: #4176AF;
  100. }
  101. .MTrimmedWindow {
  102. background-color: #515658;
  103. }
  104. .MTrimBar {
  105. background-color: #515658;
  106. }
  107. CTabFolder.MArea .MPartStack,CTabFolder.MArea .MPartStack.active {
  108. swt-shadow-visible: false;
  109. }
  110. CTabFolder Tree, CTabFolder Canvas {
  111. background-color: #2F2F2F;
  112. color: #CCC;
  113. }
  114. .MPartStack.active Tree,
  115. .MPartStack.active CTabFolder Canvas {
  116. background-color: #262626;
  117. color: #CCC;
  118. }
  119. .MPartStack.active Table {
  120. background-color: #2F2F2F;
  121. color: #CCC;
  122. }
  123. .View {
  124. background-color: #313538;
  125. color: #F5F5F5;
  126. }
  127. /* ###################### Top Toolbar ########################## */
  128. #org-eclipse-ui-main-toolbar, #PerspectiveSwitcher {
  129. eclipse-perspective-keyline-color: #585858;
  130. background-color: #515658 #515658 100%;
  131. handle-image: none;
  132. color: #EBE8E4;
  133. }
  134. /* #################### Bottom Status Bar ######################## */
  135. #org-eclipse-ui-StatusLine,
  136. #org-eclipse-ui-ProgressBar,
  137. #org-eclipse-ui-ProgressBar Canvas {
  138. color: #CCCCCC;
  139. }
  140. #org-eclipse-ui-StatusLine CLabel {
  141. color: #BDBAB7;
  142. }
  143. StatusLine, ImageBasedFrame{
  144. color: #BDBAB7;
  145. }