/*******************************************************************************
 * 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
 *******************************************************************************/

@import url("platform:/plugin/org.eclipse.ui.themes/css/common/e4_globalstyle.css");
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_ide_colorextensions.css");
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_globalstyle.css"); /* Remove this to have ONLY the main IDE shell dark */
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_partstyle.css");
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark_tabstyle.css");
@import url("platform:/plugin/org.eclipse.ui.themes/css/dark/e4-dark-drag-styling.css");

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

CTabFolder Scale {
	background-color: inherit;
}

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


/* #################### Bottom Status Bar ######################## */

StatusLine,
ImageBasedFrame,
#org-eclipse-ui-StatusLine,
#org-eclipse-ui-StatusLine CLabel,
#org-eclipse-ui-ProgressBar,
#org-eclipse-ui-ProgressBar Canvas {
	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;
    swt-selected-highlight-top: false;
    swt-draw-custom-tab-content-background: true;
	swt-unselected-hot-tab-color-background: #161616;
}

.MPartStack.active {
    swt-selected-tab-highlight: #2b79d7;
    swt-selected-highlight-top: false;
}

.MPartStack CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
    /* Set the styles for the bottom inner tabs (Bug 430051): */
    swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
    swt-unselected-hot-tab-color-background: #161616;/*  Bug 465711 */
    swt-selected-tab-highlight: #a6a6a6;
    swt-selected-highlight-top: true;
}
.MPartStack.active CTabFolder[style~='SWT.DOWN'][style~='SWT.BOTTOM'] {
    /* Set the styles for the bottom inner tabs (Bug 430051): */
    swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
    swt-unselected-hot-tab-color-background: #161616;/*  Bug 465711 */
    swt-selected-tab-highlight: #2b97d7;
    swt-selected-highlight-top: true;
}

/*text color of selected tab in editor */
#org-eclipse-ui-editorss CTabItem:selected{
	color: '#FFFFFF';
}

#org-eclipse-ui-editorss CTabFolder{
 	swt-selected-tab-fill : '#1E1F22';
    swt-selected-highlight-top: true;
    swt-draw-custom-tab-content-background: true;
	swt-unselected-hot-tab-color-background:#161616;		
}

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

#org-eclipse-e4-ui-compatibility-editor Canvas,
#org-eclipse-e4-ui-compatibility-editor Canvas > *
{
	background-color: #1E1F22;
}