e4_basestyle.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /*******************************************************************************
  2. * Copyright (c) 2010, 2014 IBM Corporation 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. * IBM Corporation - initial API and implementation
  10. * Lars Vogel <Lars.Vogel@gmail.com> - Bug 420836
  11. *******************************************************************************/
  12. /* New ColorDefinitions for the E4 default theme */
  13. ThemesExtension { color-definition:
  14. '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START',
  15. '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END',
  16. '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR',
  17. '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR',
  18. '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR',
  19. '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START',
  20. '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END',
  21. '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR',
  22. '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR',
  23. '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
  24. }
  25. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START {
  26. color: #FFFFFF;
  27. category: '#org-eclipse-ui-presentation-default';
  28. label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_START')
  29. }
  30. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END {
  31. color: #FFFFFF;
  32. category: '#org-eclipse-ui-presentation-default';
  33. label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_UNSELECTED_TABS_COLOR_END');
  34. }
  35. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR {
  36. color: #FFFFFF;
  37. category: '#org-eclipse-ui-presentation-default';
  38. label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTER_KEYLINE_COLOR');
  39. }
  40. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR {
  41. color: #FFFFFF;
  42. category: '#org-eclipse-ui-presentation-default';
  43. label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_INNER_KEYLINE_COLOR');
  44. }
  45. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR {
  46. color: #B6BCCC;
  47. category: '#org-eclipse-ui-presentation-default';
  48. label: url('platform:/plugin/org.eclipse.ui.themes?message=INACTIVE_TAB_OUTLINE_COLOR');
  49. }
  50. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START {
  51. color: #FFFFFF;
  52. category: '#org-eclipse-ui-presentation-default';
  53. label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_START');
  54. }
  55. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END {
  56. color: #FFFFFF;
  57. category: '#org-eclipse-ui-presentation-default';
  58. label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_UNSELECTED_TABS_COLOR_END');
  59. }
  60. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR {
  61. color: #FFFFFF;
  62. category: '#org-eclipse-ui-presentation-default';
  63. label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTER_KEYLINE_COLOR');
  64. }
  65. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR {
  66. color: #FFFFFF;
  67. category: '#org-eclipse-ui-presentation-default';
  68. label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_INNER_KEYLINE_COLOR');
  69. }
  70. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR {
  71. color: #B6BCCC;
  72. category: '#org-eclipse-ui-presentation-default';
  73. label: url('platform:/plugin/org.eclipse.ui.themes?message=ACTIVE_TAB_OUTLINE_COLOR');
  74. }
  75. /* Already existing ColorDefinitions overridden for the E4 default theme */
  76. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START {
  77. color: #dddfe5;
  78. }
  79. ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END {
  80. color: #FFFFFF;
  81. }
  82. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START{
  83. color: #FFFFFF;
  84. }
  85. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END {
  86. color: #FFFFFF;
  87. }
  88. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START {
  89. color: #FFFFFF;
  90. }
  91. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END {
  92. color: #FFFFFF;
  93. }
  94. ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
  95. color: #000000;
  96. }
  97. .MTrimmedWindow.topLevel {
  98. margin-top: 3px;
  99. margin-bottom: 3px;
  100. margin-left: 3px;
  101. margin-right: 3px;
  102. }
  103. .MPart.busy {
  104. font-style: italic;
  105. }
  106. .MPart.highlighted {
  107. font-weight: bold;
  108. }
  109. .MPartStack, .MPart {
  110. font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
  111. }
  112. CTabItem:selected {
  113. color: '#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR';
  114. }
  115. .MPartStack {
  116. swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
  117. swt-selected-tab-fill: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END' 100% 100%;
  118. swt-unselected-tabs-color: '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-INACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
  119. swt-outer-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTER_KEYLINE_COLOR';
  120. swt-inner-keyline-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_INNER_KEYLINE_COLOR';
  121. swt-tab-outline: '#org-eclipse-ui-workbench-INACTIVE_TAB_OUTLINE_COLOR';
  122. padding: 0px 2px 2px;
  123. swt-shadow-visible: false;
  124. swt-mru-visible: false;
  125. color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
  126. }
  127. .MPartStack.active {
  128. swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END' 100% 100%;
  129. swt-unselected-tabs-color: '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_START' '#org-eclipse-ui-workbench-ACTIVE_UNSELECTED_TABS_COLOR_END' 100% 100%;
  130. swt-outer-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTER_KEYLINE_COLOR';
  131. swt-inner-keyline-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_INNER_KEYLINE_COLOR';
  132. swt-tab-outline: '#org-eclipse-ui-workbench-ACTIVE_TAB_OUTLINE_COLOR';
  133. swt-shadow-visible: false;
  134. }
  135. .MPartStack.active.noFocus {
  136. swt-selected-tab-fill: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_START' '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END' 100% 100%;
  137. }
  138. .MPartStack.active.noFocus > CTabItem:selected {
  139. color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR';
  140. }
  141. #PerspectiveSwitcher {
  142. eclipse-perspective-keyline-color: #AAB0BF #AAB0BF;
  143. }
  144. .MToolControl.TrimStack {
  145. frame-image: url(./winXPTSFrame.png);
  146. handle-image: url(./winXPHandle.png);
  147. frame-cuts: 5px 1px 5px 16px;
  148. }
  149. .MToolBar.Draggable {
  150. handle-image: url(./dragHandle.png);
  151. }
  152. .MToolControl.Draggable {
  153. handle-image: url(./dragHandle.png);
  154. }
  155. .DragFeedback {
  156. background-color: COLOR-WIDGET-NORMAL-SHADOW;
  157. }
  158. .ModifiedDragFeedback {
  159. background-color: #A0A000;
  160. }
  161. .MPartStack > Composite {
  162. background-color: '#org-eclipse-ui-workbench-INACTIVE_TAB_BG_END';
  163. }
  164. .MPartStack.active > Composite {
  165. background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
  166. }
  167. .MPartStack.active.noFocus > Composite {
  168. background-color: '#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_BG_END';
  169. }