Skip to content

Commit

Permalink
Don't mix tabs and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
BeckerWdf committed Sep 24, 2024
1 parent 95cf53a commit 5e8ae75
Show file tree
Hide file tree
Showing 13 changed files with 94 additions and 96 deletions.
12 changes: 6 additions & 6 deletions bundles/org.eclipse.ui.themes/css/e4-dark_linux.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark-drag-styling.css");

CTabFolder Canvas {
background-color: #2F2F2F;
color: #CCC;
background-color: #2F2F2F;
color: #CCC;
}

CTabFolder Scale {
background-color: inherit;
background-color: inherit;
}

.MPartStack.active CTabFolder Canvas {
background-color: #262626;
color: #CCC;
background-color: #262626;
color: #CCC;
}


Expand All @@ -43,5 +43,5 @@ ImageBasedFrame,
#org-eclipse-ui-StatusLine CLabel,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}
14 changes: 7 additions & 7 deletions bundles/org.eclipse.ui.themes/css/e4-dark_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark-drag-styling.css");

.MPartStack.active CTabFolder Canvas {
background-color: #262626;
color: #CCC;
background-color: #262626;
color: #CCC;
}


Expand All @@ -33,23 +33,23 @@ ImageBasedFrame,
#org-eclipse-ui-StatusLine CLabel,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}

/* ###################### Global Styles ########################## */

/* Use unset to set the foreground/background color to null */

Table[swt-lines-visible=true] {
background-color: unset;
background-color: unset;
}

Tree[swt-lines-visible=true] {
background-color: unset;
background-color: unset;
}

Button {
background-color: unset;
color: unset;
background-color: unset;
color: unset;
}

48 changes: 23 additions & 25 deletions bundles/org.eclipse.ui.themes/css/e4-dark_mac1013.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark-drag-styling.css");

CTabFolder Canvas {
background-color: #2F2F2F;
color: #CCC;
background-color: #2F2F2F;
color: #CCC;
}

.MPartStack.active CTabFolder Canvas {
background-color: #262626;
color: #CCC;
background-color: #262626;
color: #CCC;
}

/* #################### Bottom Status Bar ######################## */
Expand All @@ -37,44 +37,42 @@ ImageBasedFrame,
#org-eclipse-ui-StatusLine CLabel,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}


/* ###################### Global Styles ########################## */

TabFolder {
/* background-color is not applied to the whole button,
but text color is changed, so it appear light on light */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #222;
/* background-color is not applied to the whole button, but text color is changed, so it appear light on light */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #222;
}

Button {
/* background-color is not applied to the whole button,
but text color is changed, so it appear light on light */
background-color: #2F2F2F;
color: #CCCCCC;
/* background-color is not applied to the whole button, but text color is changed, so it appear light on light */
background-color: #2F2F2F;
color: #CCCCCC;
}
Button[style~='SWT.CHECK'] {
/* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
/* so, css rules applied to Button have to be overridden for non-Button matches */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #ddd;
/* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
/* so, css rules applied to Button have to be overridden for non-Button matches */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #ddd;
}
Button[style~='SWT.RADIO'] {
/* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
/* so, css rules applied to Button have to be overridden for non-Button matches */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #ddd;
/* currently, Button object isn't consistent (eg. also a checkbox is seen as Button) */
/* so, css rules applied to Button have to be overridden for non-Button matches */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
color: #ddd;
}

Combo {
background-color: #949DA5;
color: #222; /* background of drop-drown list is hard-coded to white */
background-color: #949DA5;
color: #222; /* background of drop-drown list is hard-coded to white */
}
Combo:selected {
background-color: #41464A;
color: #FFF;
background-color: #41464A;
color: #FFF;
}

32 changes: 16 additions & 16 deletions bundles/org.eclipse.ui.themes/css/e4-dark_win.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark-drag-styling.css");

CTabFolder Canvas {
background-color: #2F2F2F;
color: #CCC;
background-color: #2F2F2F;
color: #CCC;
}

CTabFolder Scale {
background-color: inherit;
background-color: inherit;
}

.MPartStack.active CTabFolder Canvas {
background-color: #262626;
color: #CCC;
background-color: #262626;
color: #CCC;
}

.MPartStack.active Table {
background-color: #2F2F2F;
color: #CCC;
background-color: #2F2F2F;
color: #CCC;
}

Tree, Table {
Expand All @@ -53,7 +53,7 @@ ImageBasedFrame,
#org-eclipse-ui-StatusLine CLabel,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}


Expand Down Expand Up @@ -102,8 +102,8 @@ ImageBasedFrame,
.MPartStack.active .MPart Form ListEditorComposite,
.MPartStack.active .MPart Form Text[style~='SWT.READ_ONLY'],
.MPartStack.active .MPart Form DependenciesComposite > SashForm > Section > * { /* Section > DependenciesComposite$... */
background-color: #4f5355;
color: #f4f7f7;
background-color: #4f5355;
color: #f4f7f7;
}
#org-eclipse-help-ui-HelpView Form,
#org-eclipse-help-ui-HelpView Form Sash,
Expand All @@ -114,8 +114,8 @@ ImageBasedFrame,
#org-eclipse-help-ui-HelpView Form Group,
#org-eclipse-help-ui-HelpView Form ScrolledPageBook,
#org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
background-color: #2F2F2F;
color: #CCCCCC;
background-color: #2F2F2F;
color: #CCCCCC;
}
.MPartStack.active #org-eclipse-help-ui-HelpView Form,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Sash,
Expand All @@ -126,12 +126,12 @@ ImageBasedFrame,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Group,
.MPartStack.active #org-eclipse-help-ui-HelpView Form ScrolledPageBook,
.MPartStack.active #org-eclipse-help-ui-HelpView Form Text[style~='SWT.READ_ONLY'] {
background-color: #262626;
color: #BBBBBB;
background-color: #262626;
color: #BBBBBB;
}
.MPart Form Section Tree,
.MPartStack.active .MPart Form Section Tree {
background-color: #313538;
color: #DDDDDD;
background-color: #313538;
color: #DDDDDD;
}

6 changes: 3 additions & 3 deletions bundles/org.eclipse.ui.themes/css/e4_default_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ CTabFolder.MArea {
}

CTabFolder {
swt-selected-tabs-background: rgb(255, 255, 255);
swt-selected-tabs-background: rgb(255, 255, 255);
}

CTabFolder CTabItem:selected {
background-color: rgb(230, 230, 230);
background-color: rgb(230, 230, 230);
}

CTabFolder Canvas {
background-color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}
14 changes: 7 additions & 7 deletions bundles/org.eclipse.ui.themes/css/e4_preview_gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

.MTrimmedWindow {
Expand Down Expand Up @@ -187,12 +187,12 @@ CTabFolder Canvas {

.MPartStack{
swt-selected-tab-highlight: #A0A0A0;
swt-selected-highlight-top: false;
swt-selected-highlight-top: false;
}

.MPartStack.active {
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: false;
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: false;
}

/* text color and background color of unselected tabs in editor*/
Expand All @@ -218,8 +218,8 @@ CTabFolder Canvas {
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#2160bb';
swt-selected-highlight-top: true;
swt-selected-tab-highlight: '#2160bb';
swt-selected-highlight-top: true;
}

#org-eclipse-e4-ui-compatibility-editor Composite{
Expand Down
14 changes: 7 additions & 7 deletions bundles/org.eclipse.ui.themes/css/e4_preview_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

.MTrimmedWindow {
Expand All @@ -95,7 +95,7 @@ ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
}

CTabFolder Canvas {
background-color: rgb(255, 255, 255);
background-color: rgb(255, 255, 255);
}


Expand Down Expand Up @@ -161,8 +161,8 @@ CTabFolder Canvas {
}

.MPartStack.active {
swt-selected-tab-highlight: #5983c5;
swt-selected-highlight-top: false;
swt-selected-tab-highlight: #5983c5;
swt-selected-highlight-top: false;
}

/* text color of unselected tabs in editor*/
Expand All @@ -188,8 +188,8 @@ CTabFolder Canvas {
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#5983c5';
swt-selected-highlight-top: true;
swt-selected-tab-highlight: '#5983c5';
swt-selected-highlight-top: true;
}

#org-eclipse-e4-ui-compatibility-editor Composite{
Expand Down
12 changes: 6 additions & 6 deletions bundles/org.eclipse.ui.themes/css/e4_preview_win.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ ColorDefinition#org-eclipse-ui-workbench-ACTIVE_NOFOCUS_TAB_TEXT_COLOR {
}

ColorDefinition#org-eclipse-ui-workbench-ACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

ColorDefinition#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR {
color: #000000;
color: #000000;
}

.MPartStack {
Expand Down Expand Up @@ -165,8 +165,8 @@ CTabFolder Canvas {
}

.MPartStack.active {
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: false;
swt-selected-tab-highlight: #2160bb;
swt-selected-highlight-top: false;
}

/* text color and background color of unselected tabs in editor*/
Expand All @@ -192,8 +192,8 @@ CTabFolder Canvas {
}

#org-eclipse-ui-editorss CTabFolder.active {
swt-selected-tab-highlight: '#2160bb';
swt-selected-highlight-top: true;
swt-selected-tab-highlight: '#2160bb';
swt-selected-highlight-top: true;
}

#org-eclipse-e4-ui-compatibility-editor Composite{
Expand Down
8 changes: 4 additions & 4 deletions bundles/org.eclipse.ui.themes/css/high-contrast.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_classic.css");

@import url("platform:/plugin/org.eclipse.ui.themes/css/e4_classic.css");

CTabItem:selected {
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
color: '#org-eclipse-ui-workbench-INACTIVE_TAB_TEXT_COLOR';
}

.MPartStack.active > CTabItem:selected {
Expand All @@ -24,5 +24,5 @@ CTabItem:selected {

.MPart Composite
{
background-color: #000000;
background-color: #000000;
}
Loading

0 comments on commit 5e8ae75

Please sign in to comment.