QTabBar {
	border: 0px;
	font-family: $DefaultFont;
	margin: 0px;
	padding: 0px;
	qproperty-drawBase: 0;
	qproperty-iconSize: 13px;
	font-weight: 500;
	background-color: $TabBarBackground;
	border-top-left-radius: $ControlRadius;
	border-top-right-radius: $ControlRadius;
}

QTabBar::tab {
	background-color: $TabInactiveBackground;
	color: $TextLight;
	padding: 0px 8px;
	padding-left: 12px;
	padding-bottom: 2px;
	background-color: transparent;
	min-height: 24px;
	max-height: 24px;
	border-top-left-radius: $ControlRadius;
	border-top-right-radius: $ControlRadius;
	border-top: 2px solid transparent;
}

QTabBar::tab:hover {
	color: $Text;
}

QTabBar::tab:selected {
	color: $Text;
	background-color: $TabBackground;
	border-top: 2px solid $Primary;
}

QTabBar::tab:bottom {
	border-bottom-left-radius: $ControlRadius;
	border-bottom-right-radius: $ControlRadius;
}

QTabBar::close-button {
	subcontrol-position: right;
	image: url("toolimages://image/close_20.png");
	padding: 4px;
	margin-top: 1px;
}

QTabBar::close-button:hover {
	subcontrol-position: right;
	image: url("toolimages://image/close_100.png");
}

QTabBar::tab:top {
	padding-top: 0px;
}

QTabWidget {
	margin: -13px -9px -13px -9px;
}

QTabWidget::pane {
	border: 0px;
	background-color: $ControlBackground;
	margin: 0px;
	padding: 0px;
}

ToolWindowManagerTabBar > QToolButton {
	background-color: $WindowBackground;
}