/*******************************************************************************
 * Copyright (c) 2010, 2014 Andrea Guarinoni and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Andrea Guarinoni <andrea.guarinoni.dev@outlook.com> - initial API and implementation
 *     Lars Vogel - initial API and implementation
 *******************************************************************************/


/* ################################ CSS for .MParts ########################## */

.MPart {
    font-family: '#org-eclipse-ui-workbench-TAB_TEXT_FONT';
    background-color: #292929;
    color: #DDDDDD;
}

.MPart.busy {
    font-style: italic;
}

.MPart.highlighted {
    font-weight: bold;
}

.MPart Composite,
.MPart Composite > *,
.MPart Composite > * > *,
.MPart Label,
.MPart ScrolledForm,
.MPart Form,
.MPart Section,
.MPart FormText,
.MPart Link,
.MPart Sash,
.MPart Button,
.MPart Group,
.MPart SashForm,
.MPart Tree,
.MPart FilteredTree,
.MPart RegistryFilteredTree,
.MPart PageSiteComposite,
.MPart DependenciesComposite,
.MPart Text[style~='SWT.READ_ONLY'],
.MPart FigureCanvas,
.MPart ListEditorComposite,
.MPart ScrolledComposite,
.Mpart ScrolledComposite ProgressInfoItem,
.MPart Form ScrolledPageBook,
.MPart DependenciesComposite > SashForm > Section > * { /* Section > DependenciesComposite$... */
    background-color: #2F2F2F;
    color: #AAAAAA;
}


.MPart Section > Label {
    background-color: #2F2F2F;
    color: #ABCEDA;
}

.MPart Table,
.MPart Browser,
.Mpart OleFrame,
.MPart ViewForm,
.MPart ViewForm > CLabel,
.MPart PageBook > Label,
.MPart PageBook > SashForm {
    background-color: #313538;
    color: #CCC;
}

.MPart Section Tree {
    background-color: #383A3B;
    color: #DDDDDD;
}

.MPart DatePicker,
.MPart DatePicker > Text,
.MPart ScheduleDatePicker,
.MPart ScheduleDatePicker > Text,
.MPart CCombo,
.MPart Spinner,
.MPart Composite > StyledText,
.MPart PageBook > SashForm Label,
.MPart SashForm > Text[style~='SWT.BORDER'] {
    background-color: #3f4447;
    color: #BBBBBB;
}

.MPart FormHeading,
.MPart FormHeading > TitleRegion,
.MPart FormHeading > TitleRegion > Label,
.MPart FormHeading > TitleRegion > StyledText {
    background-color: #505f70;
    color: #9ac9d8;
}

.MPart FormHeading,
.MPart FormHeading > TitleRegion {
    swt-background-mode: none;
}
.MPart FormHeading > CLabel {
    background-color: #505f70;
}

.MPartFormHeaderCLabelError {
	color:'#org-eclipse-ui-workbench-FORM_HEADING_ERROR_COLOR';
}
.MPartFormHeaderCLabelWarning {
	color:'#org-eclipse-ui-workbench-FORM_HEADING_WARNING_COLOR';
}
.MPartFormHeaderCLabelInfo {
	color:'#org-eclipse-ui-workbench-FORM_HEADING_INFO_COLOR';
}

/* ------------------------------------------------------------- */

#org-eclipse-jdt-ui-SourceView StyledText,
#org-eclipse-wst-jsdt-ui-SourceView StyledText {
    background-color: #252525;
}

/* ------------------------------------------------------------- */

#org-eclipse-ui-console-ConsoleView .MPart > Composite,
#org-eclipse-ui-console-ConsoleView .MPart StyledText,
#org-eclipse-ui-console-ConsoleView .MPart PageBook Label {
    background-color: #2F2F2F;
    color: #CCCCCC;
}

/* ------------------------------------------------------------- */

#org-eclipse-e4-ui-compatibility-editor Canvas {
	background-color: inherit;
}

#org-eclipse-e4-ui-compatibility-editor LayoutCanvas {
    background-color: #252525;
    color: #CCCCCC;
}



