/*******************************************************************************
 * Copyright (c) 2010, 2019 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
 *******************************************************************************/

@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");

.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'; 
}

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

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

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

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

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

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

.Editor Form Composite,
.Editor Form Composite Tree,
.MPartStack.active .Editor Form Composite Tree
{
	background-color: #1E1F22;
}

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