Skip to content

Commit

Permalink
[Linux-Dark Theme]Bg color issue fix in form editor
Browse files Browse the repository at this point in the history
Labels in form editor was not inheriting colors from the parent control
which later led to too many background colors in section, label and
other controls in linux. This has been fixed with this change.
  • Loading branch information
mvm-sap authored and vogella committed Dec 4, 2024
1 parent 90ae151 commit ce9874f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions bundles/org.eclipse.ui.themes/css/e4-dark_linux.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,27 @@ ImageBasedFrame,
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}

.MPart Form Section,
.MPart Form Label,
.MPart Form FormText,
.MPartStack .MPart Form MasterDetailsBlock-MDSashForm,
.MPartStack .MPart Form SashForm,
.MPartStack .MPart Form Sash,
.MPart Form Button[style~='SWT.CHECK'],
.MPart Form Button[style~='SWT.RADIO'],
.MPartStack.active .MPart Form Section,
.MPartStack.active .MPart Form Label,
.MPartStack.active .MPart Form FormText,
.MPartStack.active .MPart Form MasterDetailsBlock-MDSashForm,
.MPartStack.active .MPart Form SashForm,
.MPartStack.active .MPart Form Sash,
.MPartStack.active .MPart Form Button[style~='SWT.CHECK'],
.MPartStack.active .MPart Form Button[style~='SWT.RADIO']
{
background-color: inherit;
color: #f4f7f7;
}

/* Inactive view tabs */
.MPartStack{
swt-selected-tab-highlight: #a6a6a6;
Expand Down

0 comments on commit ce9874f

Please sign in to comment.