/*
Font family name list:
Open Sans
Open Sans Extrabold
Open Sans Light
Open Sans Semibold
*/
/* Global */
*
{
font: 9pt "Open Sans";
margin: 0px;
padding: 0px;
border: 0px solid red;
color: @CTextPrimary;
background: transparent;
}
/*QMain Window*/
.QMainWindow
{
background-color: @CWindowBackgroundDark;
}
QMainWindow::separator {
background: @CPanelSeperator;
width: 4px; /* when vertical */
height: 4px; /* when horizontal */
}
QMainWindow::separator:hover {
background: @CPanelSeperatorHover;
}
QMainWindow QTabBar QToolButton
{
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarDarkGradientTop, stop:1 @CTitleBarDarkGradientBottom);
}
QMainWindow QTabBar
{
font: 11pt "Open Sans Semibold";
qproperty-expanding: true;
background: transparent;
}
QMainWindow QTabBar::tab
{
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top: 1px solid @CTitleBarDarkBorderLight;
border-bottom: 1px solid @CTitleBarDarkBorderDark;
border-left: 1px solid @CTitleBarDarkBorderLight;
border-right: 1px solid @CTitleBarDarkBorderDark;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarDarkGradientTop, stop:1 @CTitleBarDarkGradientBottom);
padding-left: 6px;
padding-right: 6px;
padding-bottom: 1px;
padding-top: 1px;
margin-left: 0px;
margin-right: -1px;
height: 18;
}
QMainWindow QTabBar::tab:selected
{
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarLightGradientTop, stop:1 @CTitleBarLightGradientBottom);
padding-left: 4px;
padding-right: 4px;
margin-left: -1px;
margin-right: -1px;
height: 23;
}
QMainWindow QTabBar::tab:first:selected,
QMainWindow QTabBar::tab:only-one:selected
{
margin-left: 0px;
}
/* Vertical ScrollBar */
.QScrollBar:vertical
{
border: 1px solid transparent;
background: transparent;
/*padding: 3px;*/
margin: 2px;
width: 11px;
border-radius: 2px;
}
.QScrollBar:vertical:hover
{
border: 1px solid @ScollBarHoverBorder;
}
.QScrollBar:vertical:pressed
{
border: 1px solid @ScollBarPressedBorder;
}
.QScrollBar::handle:vertical
{
border: 0px solid @ScollBarHandleBackground;
background: @ScollBarHandleBackground;
border-radius: 2px;
}
.QScrollBar::handle:vertical:hover
{
border: 0px solid @ScollBarHandleHoverBackground;
background: @ScollBarHandleHoverBackground;
}
.QScrollBar::handle:vertical:pressed
{
border: 0px solid @ScollBarHandlePressedBackground;
background: @ScollBarHandlePressedBackground;
}
QScrollBar::add-line:vertical
{
border: 0px solid red;
background: green;
subcontrol-position: bottom;
subcontrol-origin: margin;
height: 0px;
}
QScrollBar::sub-line:vertical
{
border: 0px solid blue;
background: orange;
subcontrol-position: top;
subcontrol-origin: margin;
height: 0px;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
{
background: none;
border-radius: 2px;
}
QScrollBar::add-page:vertical:hover
{
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ScollBarPageHoverBackgroundNear, stop:1 @ScollBarPageHoverBackgroundFar);
}
QScrollBar::sub-page:vertical:hover
{
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ScollBarPageHoverBackgroundFar, stop:1 @ScollBarPageHoverBackgroundNear);
}
/* Menu bar */
.QMenuBar
{
background-color: @CMenuBarBackground;
color: @CMenuText;
padding-left:5px;
padding-top: 2px;
}
.QMenuBar::item
{
spacing: 3px;
padding: 1px 8px;
background: transparent;
border-radius: 0px;
border: 1px hidden transparent;
}
.QMenuBar::item:selected
{
background: @CMenuSelectBackground;
border: 1px solid @CMenuSelectBorder;
}
.QMenuBar::item:pressed
{
background: @CMenuPressedBackground;
border-top: 1px solid @CMenuPressedBorder;
border-left: 1px solid @CMenuPressedBorder;
border-right: 1px solid @CMenuPressedBorder;
border-bottom: 1px solid @CMenuPressedBackground;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
/* Context menu / menu bar menu */
.QMenu
{
background-color: @CMenuBackground;
}
.ContextMenu
{
background-color: @CContextMenuBackground;
}
.QMenu, .ContextMenu
{
/*border: 1px solid @CMenuPressedBorder;*/
border: 0px solid transparent;
color: @CContextMenuText;
padding-left: 2px;
padding-top: 2px;
border-radius: 2px;
}
.QMenu::icon, .ContextMenu::icon
{
color: @CContextMenuText;
}
.QMenu::icon:disabled, .ContextMenu::icon:disabled
{
color: @CContextMenuDisabledText;
}
.QMenu::item, .ContextMenu::item
{
background-color: transparent;
color: @CContextMenuText;
padding-left: 19px;
padding-right: 19px;
padding-top: 4px;
padding-bottom: 4px;
}
.QMenu::item:selected, .ContextMenu::item:selected
{
color: @CContextMenuSelectedText;
border-radius: 3px;
}
.QMenu::item:disabled, .ContextMenu::item:disabled
{
color: @CContextMenuDisabledText;
}
.QMenu::separator
{
height: 1px;
border: 0px solid @CTitleBarMenuSeperator;
background: @CTitleBarMenuSeperator;
margin-left: 7px;
margin-right: 7px;
margin-top: 1px;
margin-bottom: 1px;
}
.ContextMenu::separator
{
height: 1px;
border: 0px solid @CContextMenuSeperator;
background: @CContextMenuSeperator;
margin-left: 7px;
margin-right: 7px;
margin-top: 1px;
margin-bottom: 1px;
}
.QScrollArea
{
padding: 1px;
background: @CScrollAreaBackground;
margin: 0px;
}
#qt_scrollarea_viewport, #qt_scrollarea_hcontainer, #qt_scrollarea_hcontainer
{
border: 1px solid red;
}
.CCurveEditor
{
background-color: @CCurveEditorBackground;
}
/*Default View Helper Text*/
DockableLibraryTreeView > QWidget
{
border-top: 1px solid @CLibraryTreeTitleBarBorder;
border-bottom: 1px solid @CLibraryTreeTitleBarBorder;
}
DefaultViewWidget > QLabel
{
color: @CHelperText;
font: "Open Sans";
font-size: 14px;
font-style: semi-bold;
background: transparent;
}
#LibraryDefaultView > QLabel
{
width: 90px;
}
#LibraryDefaultView > QPushButton
{
color: @CButtonText;
border: 1px solid @CButtonBorder;
border-radius: 0px;
min-height: 24px;
min-width: 30px;
padding-left: 5px;
padding-right: 5px;
}
DockableLibraryPanel > #dwLibraryTreeViewCentralWidget
{
background: @CWindowBackground;
}
DockableLibraryTreeView > RenameableTitleBar #RenameableTitle[Selected="true"]
{
color: @CSelectedText;
font: "Open Sans";
font-size: 14px;
font-style: semi-bold;
}
DockableLibraryTreeView > RenameableTitleBar #RenameableTitle[Selected="false"]
{
color: @CHelperText;
font: "Open Sans";
font-size: 14px;
font-style: semi-bold;
}
DockableLibraryTreeView > RenameableTitleBar #RenameableIcon
{
min-width: 19px;
min-height: 17px;
max-width: 19px;
max-height: 17px;
image: url(:/particleQT/icons/libraries_icon.png);
}
#LibraryDockArea::separator
{
background: transparent;
}
#AttributeCategoryLabel
{
color: @CAttributeCategoryLabel;
}
.CAttributeView
{
margin: 0px;
padding: 0px;
}
.CAttributeItem
{
margin: 0px;
padding: 0px;
}
.CAttributeGroup
{
background:@CTreeViewBackground;
border: none;
}
.CAttributeGroup[DragStatus="None"]
{
background:@CTreeViewBackground;
border: none;
}
.CAttributeGroup[DragStatus="StartToDrag"]
{
background:@CTreeViewBackground;
border: 1px solid @AttributeItemDropIndicator;
}
.CAttributeGroup[DragStatus="InsertUp"]
{
background:@CTreeViewBackground;
border-top: 1px solid @AttributeItemDropIndicator;
}
.CAttributeGroup[DragStatus="InsertBelow"]
{
background:@CTreeViewBackground;
border-bottom: 1px solid @AttributeItemDropIndicator;
}
/*.QFrame
{
border: 0px solid red;
padding: 0px;
margin: 0px;
}*/
/* Property panels title bar */
PanelTitleBar
{
border-style: solid;
border-width: 1px;
border-top-color: @CTitleBarLightBorderLight;
border-bottom-color: @CTitleBarLightBorderDark;
border-left-color: @CTitleBarLightBorderLight;
border-right-color: @CTitleBarLightBorderDark;
/*These values are set in the layout from the .ui file*/
/*padding-left: 8px;
padding-right: 8px;*/
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarLightGradientTop, stop:1 @CTitleBarLightGradientBottom);
}
PanelTitleBar QLabel
{
margin-top: -1px;
font-size: 10.5pt;
background: transparent;
}
PanelTitleBar #PanelTitleBarCloseBtn
{
image: url(:/particleQT/buttons/close_btn.png);
background: transparent;
border: 0px solid red;
max-width: 16px;
max-height: 16px;
min-width: 16px;
min-height: 16px;
padding: 0px;
margin-left: 0px;
margin-bottom: 0px;
margin-top: 0px;
margin-right: 0px;
}
PanelTitleBar #PanelTitleBarCloseBtn:hover
{
border-radius: 3px;
background: @CPanelTitleBarCloseButtonHoverBackground;
}
PanelTitleBar #PanelTitleBarComfirmRenameBtn
{
image: url(:/particleQT/icons/check.png);
background: transparent;
border: 0px solid red;
max-width: 16px;
max-height: 16px;
min-width: 16px;
min-height: 16px;
padding: 0px;
margin-left: 0px;
margin-bottom: 0px;
margin-top: 0px;
margin-right: 0px;
}
PanelTitleBar #PanelTitleBarComfirmRenameBtn:hover
{
border-radius: 3px;
background: @CPanelTitleBarCloseButtonHoverBackground;
}
/* Propertie panel container */
/*PanelWidget*/
PanelWidget::separator
{
background-color: @CSubPanelSeperator;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
width: 1px;
height: 1px;
}
PanelWidget::separator:hover
{
background-color: @CSubPanelSeperatorHover;
}
#AttributeViewStatusBar
{
color: @CTextPrimary;
padding-top: 0px;
padding-bottom: 1px;
padding-left: 0px;
padding-right: 0px;
margin: 0px;
border: 3px ridge @CTitleBarLightBorderDark;
}
/* Toplevel CAttributeItem*/
/*.QDockWidget::CAttributeItem
{
background-color: red;
}*/
/* DockWidgetTitleBar */
DockWidgetTitleBar
{
border-style: solid;
border-width: 1px;
border-top-color: @CTitleBarDarkBorderLight;
border-bottom-color: @CTitleBarDarkBorderDark;
border-left-color: @CTitleBarDarkBorderLight;
border-right-color: @CTitleBarDarkBorderDark;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarDarkGradientTop, stop:1 @CTitleBarDarkGradientBottom);
}
.DockWidgetTitleBar > QLabel
{
color: @CDockWidgetTitleBarColor;
font-size: 12pt;
margin-left:0px;
margin-right:0px;
margin-top:-1px;
margin-bottom:0px;
background: transparent;
}
#grabHandle
{
min-width: 4;
min-height: 16;
max-width: 4;
max-height: 16;
image: url(:/particleQT/icons/grab_handle.png);
background: transparent;
}
.DockWidgetTitleBar > #grabHandle
{
margin-left: 1px;
margin-right: 3px;
}
#AttributeTabTitleBar > #grabHandle
{
background: none;
color: none;
image: none;
}
/* Particle Tabs */
/*
We reuse the colors of the DockWidgetTitleBar and the PanelTitleBar to make it clear which tab connects to what.
*/
#DockWidgetTitleBarTabs QToolButton
{
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarDarkGradientTop, stop:1 @CTitleBarDarkGradientBottom);
}
#DockWidgetTitleBarTabs
{
text-align: left;
}
#DockWidgetTitleBarTabs::tab
{
font: 11pt "Open Sans Semibold";
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top: 1px solid @CTitleBarDarkBorderLight;
border-bottom: 1px solid @CTitleBarDarkBorderDark;
border-left: 1px solid @CTitleBarDarkBorderLight;
border-right: 1px solid @CTitleBarDarkBorderDark;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarDarkGradientTop, stop:1 @CTitleBarDarkGradientBottom);
padding-left: 6px;
padding-right: 6px;
padding-bottom: 1px;
padding-top: 1px;
margin-left: 0px;
margin-right: -1px;
margin-top: 5px;
height: 18;
}
#DockWidgetTitleBarTabs::tab:selected
{
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CTitleBarLightGradientTop, stop:1 @CTitleBarLightGradientBottom);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-left: 1px solid @CTitleBarLightBorderLight;
border-right: 1px solid @CTitleBarLightBorderDark;
border-top: 1px solid @CTitleBarLightBorderLight;
border-bottom: 1px solid @CTitleBarLightBorderDark;
padding-left: 4px;
padding-right: 4px;
margin-left: -1px;
margin-right: -1px;
margin-top: 0px;
height: 23;
}
#DockWidgetTitleBarTabs::tab:first:selected,
#DockWidgetTitleBarTabs::tab:only-one:selected
{
margin-left: 0px;
}
#FluidTabCloseButton
{
image: url(:/particleQT/buttons/close_btn.png);
background: transparent;
border: 0px solid red;
max-width: 16px;
max-height: 16px;
min-width: 16px;
min-height: 16px;
padding: 0px;
margin-left: 0px;
margin-bottom: 0px;
margin-top: 0px;
margin-right: 0px;
}
#FluidTabCloseButton:hover
{
border-radius: 3px;
background: @CFluidTabCloseButtonHoverBackground;
}
/* Default phushbutton style */
.QPushButton
{
color: @CButtonText;
border: 1px solid @CButtonBorder;
border-radius: 3px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CButtonBackgroundTop, stop:1 @CButtonBackgroundBottom);
min-height: 18px;
padding-left: 3px;
padding-right: 3px;
}
.QPushButton:hover
{
color: @CButtonHoverText;
border: 1px solid @CButtonHoverBorder;
border-radius: 3px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CButtonHoverBackgroundTop, stop:1 @CButtonHoverBackgroundBottom);
}
.QPushButton:pressed
{
color: @CButtonPressedText;
border: 1px solid @CButtonPressedBorder;
border-radius: 3px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CButtonPressedBackgroundTop, stop:1 @CButtonPressedBackgroundBottom);
}
/*Icon buttons*/
.QPushButton[iconButton="true"]
{
border:1px solid transparent;
background: transparent;
padding: 0px;
border-radius: 3px;
}
.QPushButton[iconButton="true"]:hover
{
color: @CButtonHoverText;
border: 1px solid @CButtonHoverBorder;
border-radius: 3px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CButtonHoverBackgroundTop, stop:1 @CButtonHoverBackgroundBottom);
}
.QPushButton[iconButton="true"]:pressed
{
color: @CButtonPressedText;
border: 1px solid @CButtonPressedBorder;
border-radius: 3px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CButtonPressedBackgroundTop, stop:1 @CButtonPressedBackgroundBottom);
}
#btnMenu
{
image:url(:/particleQT/icons/menu_ico.png);
min-width: 32;
min-height: 24;
max-width: 32;
max-height: 24;
}
#btnMenu::menu-indicator{border: none;}
#collapseButton
{
border:0px solid red;
background: transparent;
padding: 0px;
width: 16px;
height: 16px;
}
#collapseButton[collapsed="true"]
{
image:url(:/particleQT/icons/expandarrow_closed.png);
background: transparent;
}
#collapseButton[collapsed="false"]
{
image:url(:/particleQT/icons/expandarrow_opened.png);
background: transparent;
}
/*Text edit*/
QTextEdit, QLineEdit
{
border: 1px solid @CTextEditBackground;
border-radius: 3px;
background: @CTextEditBackground;
color: @CTextEditText;
selection-color: @CTextEditTextSelected;
selection-background-color: @CTextEditTextSelectedBackground;
qproperty-alignment: AlignLeft;
min-height: 18px;
}
#FileSelectLineEdit
{
qproperty-alignment: AlignRight;
}
QTextEdit:hover, QLineEdit:hover
{
border: 1px solid @CTextEditHoverBorder;/*@CMenuSelectBackground;*/
}
QTextEdit:focus, QLineEdit:focus
{
border: 1px solid @CTextEditFocusBorder;/*@CTextColorPrimary;*/
background: @CTextEditFocusBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditFocusText;
selection-color: @CTextEditFocusTextSelected;
selection-background-color: @CTextEditFocusTextSelectedBackground;
}
QColumnWidget[VariableAjusted="true"] .QTextEdit,
QColumnWidget[VariableAjusted="true"] .QLineEdit
{
border: 1px solid @CTextEditAjustedBorder;
background: @CTextEditAjustedBackground;
color: @CTextEditAjustedText;
selection-color: @CTextEditAjustedTextSelected;
selection-background-color: @CTextEditAjustedTextSelectedBackground;
}
QColumnWidget[VariableAjusted="true"] .QTextEdit:hover,
QColumnWidget[VariableAjusted="true"] .QLineEdit:hover
{
border: 1px solid @CTextEditAjustedHoverBorder;
}
QColumnWidget[VariableAjusted="true"] .QTextEdit:focus,
QColumnWidget[VariableAjusted="true"] .QLineEdit:focus
{
border: 1px solid @CTextEditAjustedFocusBorder;
background: @CTextEditAjustedFocusBackground;
color: @CTextEditAjustedFocusText;
selection-color: @CTextEditAjustedFocusTextSelected;
selection-background-color: @CTextEditAjustedFocusTextSelectedBackground;
}
QTextEdit:disabled, QLineEdit:disabled,
QColumnWidget[VariableAjusted="true"] .QTextEdit:disabled,
QColumnWidget[VariableAjusted="true"] .QLineEdit:disabled
{
border: 1px solid @CTextEditDisabledBorder;/*@CTextColorPrimary;*/
background: @CTextEditDisabledBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditDisabledText;
selection-color: @CTextEditDisabledTextSelected;
selection-background-color: @CTextEditDisabledTextSelectedBackground;
}
/* Combo box */
.QComboBox
{
border: 1px solid @CComboBoxBackground;
border-radius: 3px;
background: @CComboBoxBackground;
color: @CComboBoxText;
selection-color: @CComboBoxTextSelected;
selection-background-color: @CComboBoxTextSelectedBackground;
padding: 1px 0px 1px 3px;
height: 18px;
}
.QComboBox > .QLineEdit
{
qproperty-alignment: AlignRight;
}
.QComboBox:hover
{
border: 1px solid @CComboBoxHoverBorder;
}
.QComboBox:focus
{
border: 1px solid @CComboBoxFocusBorder;
background: @CComboBoxFocusBackground;
color: @CComboBoxFocusText;
selection-color: @CComboBoxFocusTextSelected;
selection-background-color: @CComboBoxFocusTextSelectedBackground;
}
.QComboBox:on
{
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.QComboBox::drop-down
{
subcontrol-origin: padding;
subcontrol-position: top right;
width: 18px;
border: 0px solid red;
}
.QComboBox::down-arrow
{
image:url(:/particleQT/icons/comboboxarrows.png);
height: 18px;
width: 18px;
}
.QComboBox QAbstractItemView
{
border-top: 1px solid @CComboBoxListBorder;
background: @CComboBoxListBackground;
selection-background-color: @CComboBoxListSelectionBackground;
}
QColumnWidget[VariableAjusted="true"] > .QComboBox
{
border: 1px solid @CComboBoxAjustedBorder;
background: @CComboBoxAjustedBackground;
color: @CComboBoxAjustedText;
selection-color: @CComboBoxAjustedTextSelected;
selection-background-color: @CComboBoxAjustedTextSelectedBackground;
}
QColumnWidget[VariableAjusted="true"] > .QComboBox:hover
{
border: 1px solid @CComboBoxAjustedHoverBorder;
}
QColumnWidget[VariableAjusted="true"] > .QComboBox:focus
{
border: 1px solid @CComboBoxAjustedFocusBorder;
background: @CComboBoxAjustedFocusBackground;
color: @CComboBoxAjustedFocusText;
selection-color: @CComboBoxAjustedFocusTextSelected;
selection-background-color: @CComboBoxAjustedFocusTextSelectedBackground;
}
QColumnWidget[VariableAjusted="true"] > .QComboBox QAbstractItemView
{
border-top: 1px solid @CComboBoxAjustedListBorder;
background: @CComboBoxAjustedListBackground;
selection-background-color: @CComboBoxAjustedListSelectionBackground;
}
.QComboBox:disabled,
QColumnWidget[VariableAjusted="true"] > .QComboBox:disabled
{
border: 1px solid @CComboBoxDisabledBorder;
background: @CComboBoxDisabledBackground;
color: @CComboBoxDisabledText;
selection-color: @CComboBoxDisabledTextSelected;
selection-background-color: @CComboBoxDisabledTextSelectedBackground;
}
/* Checkbox */
QCheckBox
{
}
QCheckBox::indicator
{
border-radius: 2px;
border: 1px solid @CCheckBoxBorder;
background: @CCheckBoxBackground;
width: 15px;
height: 12px;
padding-left: 0px;
padding-right: -4px;
padding-top: -1px;
}
QCheckBox::indicator:hover
{
border: 1px solid @CCheckBoxHoverBorder;
}
QCheckBox::indicator:focus
{
border: 1px solid @CCheckBoxFocusBorder;
background: @CCheckBoxFocusBackground;
}
QCheckBox::indicator:checked
{
image:url(:/particleQT/icons/check3.png);
}
QColumnWidget[VariableAjusted="true"] > .QCheckBox::indicator
{
border: 1px solid @CCheckBoxAjustedBorder;
background: @CCheckBoxAjustedBackground;
}
QColumnWidget[VariableAjusted="true"] > .QCheckBox::indicator:hover
{
border: 1px solid @CCheckBoxAjustedHoverBorder;
}
QColumnWidget[VariableAjusted="true"] > .QCheckBox::indicator:focus
{
border: 1px solid @CCheckBoxAjustedFocusBorder;
background: @CCheckBoxAjustedFocusBackground;
}
QCheckBox::indicator:disabled,
QColumnWidget[VariableAjusted="true"] > .QCheckBox::indicator:disabled
{
border: 1px solid @CCheckBoxDisabledBorder;
background: @CCheckBoxDisabledBackground;
}
/*
QCheckBox::indicator:unchecked
{
image: url(STYLESHEETIMAGES:checkbox_unchecked.png);
}
QCheckBox::indicator:unchecked:disabled
{
image: url(STYLESHEETIMAGES:checkbox_unchecked_disabled.png);
}
QCheckBox::indicator:checked
{
image: url(STYLESHEETIMAGES:checkbox_checked.png);
}
QCheckBox::indicator:checked:disabled
{
image: url(STYLESHEETIMAGES:checkbox_checked_disabled.png);
}
*/
/* Slider */
QSlider::groove:horizontal
{
border: 1px solid @CSliderGroveBorder;/*#171717;*/
height: 8px;
/*#222 #333 #222*/
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderGroveOuter, stop:0.5 @CSliderGroveInner, stop:1 @CSliderGroveOuter);
border-radius: 4px;
}
QSlider::add-page:horizontal
{
border: 1px solid @CSliderGroveBorder;
height: 8px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderGroveOuter, stop:0.5 @CSliderGroveInner, stop:1 @CSliderGroveOuter);
border-radius: 4px;
}
QSlider::sub-page:horizontal
{
border: 1px solid @CSliderGroveBorder;
height: 8px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderFilledGroveOuter, stop:0.5 @CSliderFilledGroveInner, stop:1 @CSliderFilledGroveOuter);
border-radius: 4px;
}
QSlider::handle:horizontal
{
/* #b4b4b4 #707070*/
background: qradialgradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5, stop:0 @CSliderHandleLight, stop:1 @CSliderHandleDark);
/*#5c5c5c*/
border: 0px solid @CSliderHandleBorder;
width: 12;
height: 12;
margin: -2px 0px;
border-radius: 6;
}
QSlider::handle:horizontal:hover
{
background: qradialgradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5, stop:0 @CSliderHandleHoverLight, stop:1 @CSliderHandleHoverDark);
border: 0px solid @CSliderHandleHoverBorder;
}
QSlider::handle:horizontal:pressed
{
background: qradialgradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5, stop:0 @CSliderHandlePressedLight, stop:1 @CSliderHandlePressedDark);
border: 0px solid @CSliderHandlePressedBorder;
}
QSlider::groove:horizontal:disabled
{
border: 1px solid @CSliderDisabledGroveBorder;/*#171717;*/
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderDisabledGroveOuter, stop:0.5 @CSliderDisabledGroveInner, stop:1 @CSliderDisabledGroveOuter);
}
QSlider::add-page:horizontal:disabled
{
border: 1px solid @CSliderGroveBorder;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderDisabledGroveOuter, stop:0.5 @CSliderDisabledGroveInner, stop:1 @CSliderDisabledGroveOuter);
}
QSlider::sub-page:horizontal:disabled
{
border: 1px solid @CSliderGroveBorder;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @CSliderDisabledGroveOuter, stop:0.5 @CSliderDisabledGroveInner, stop:1 @CSliderDisabledGroveOuter);
}
QSlider::handle:horizontal:disabled
{
background: qradialgradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5, stop:0 @CSliderDisabledHandleLight, stop:1 @CSliderDisabledHandleDark);
border: 0px solid @CSliderDisabledHandleBorder;
}
/* Color sliders */
QSlider[ColorSlider="true"]::groove:horizontal
{
height: 20px;
border-radius: 0px;
margin-left: 0px;
margin-right: 0px;
}
QSlider[ColorSlider="true"]::add-page:horizontal,
QSlider[ColorSlider="true"]::sub-page:horizontal
{
border: 0px solid red;
background: transparent;
}
QSlider[ColorSlider="true"]::handle:horizontal
{
border: 0px solid red;
background: transparent;
margin-left: -7px;
margin-right: -7px;
margin-top: -13px;
}
/* QAbstractSpinBox */
QAbstractSpinBox
{
border: 1px solid @CSpinBoxBackground;
border-radius: 3px;
background: @CSpinBoxBackground;
color: @CSpinBoxText;
selection-color: @CSpinBoxTextSelected;
selection-background-color: @CSpinBoxTextSelectedBackground;
qproperty-alignment: AlignRight;
min-height: 18px;
}
QAbstractSpinBox:hover
{
border: 1px solid @CSpinBoxHoverBorder;
}
QAbstractSpinBox:focus
{
border: 1px solid @CSpinBoxFocusBorder;
background: @CSpinBoxFocusBackground;
}
QAbstractSpinBox::up-button, QAbstractSpinBox::down-button
{
subcontrol-origin: border;
width: 16px;
padding-right:2px;
height: 10px;
border-left: 1px solid transparent;
}
QAbstractSpinBox::up-button
{
subcontrol-position: top right;
border-bottom: 1px solid transparent;
}
QAbstractSpinBox::down-button
{
subcontrol-position: bottom right;
border-top: 1px solid transparent;
}
QAbstractSpinBox::up-button:hover
{
border-left: 1px solid @CSpinBoxHoverBorder;
border-bottom: 1px solid @CSpinBoxHoverBorder;
}
QAbstractSpinBox::down-button:hover
{
border-left: 1px solid @CSpinBoxHoverBorder;
border-top: 1px solid @CSpinBoxHoverBorder;
}
QAbstractSpinBox::up-arrow, QAbstractSpinBox::down-arrow
{
width: 9px;
height: 5px;
}
QAbstractSpinBox::up-arrow
{
image: url(:/particleQT/icons/spin_box_up.png);
}
QAbstractSpinBox::down-arrow
{
image: url(:/particleQT/icons/spin_box_down.png);
}
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox
{
border: 1px solid @CSpinBoxAjustedBorder;
background: @CSpinBoxAjustedBackground;
color: @CSpinBoxAjustedText;
selection-color: @CSpinBoxAjustedTextSelected;
selection-background-color: @CSpinBoxAjustedTextSelectedBackground;
}
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox:hover
{
border: 1px solid @CSpinBoxAjustedHoverBorder;
}
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox:focus
{
border: 1px solid @CSpinBoxAjustedFocusBorder;
background: @CSpinBoxAjustedFocusBackground;
}
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox::up-button:hover
{
border-left: 1px solid @CSpinBoxAjustedHoverBorder;
border-bottom: 1px solid @CSpinBoxAjustedHoverBorder;
}
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox::down-button:hover
{
border-left: 1px solid @CSpinBoxAjustedHoverBorder;
border-top: 1px solid @CSpinBoxAjustedHoverBorder;
}
QAbstractSpinBox:disabled,
QColumnWidget[VariableAjusted="true"] QAbstractSpinBox:disabled
{
border: 1px solid @CSpinBoxDisabledBorder;
background: @CSpinBoxDisabledBackground;
color: @CSpinBoxDisabledText;
}
/* Tree view */
QTreeView
{
selection-background-color: @CTreeViewItemFocusBackground;
background: @CTreeViewBackground;
font: 9pt "Open Sans Semibold";
border-top: 1px solid @CLibraryTreeTitleBarBorder;
border-bottom: 1px solid @CLibraryTreeTitleBarBorder;
}
/*QTreeView::item -> color is handled in code, colors are stored as
"CTreeViewText"
and
"CTextEditDisabledText"
at the top of this stylesheet, and applied in code.
Changing this will remove the grey-out on disable style.
*/
QTreeView::item
{
border: none;
}
QTreeView::indicator
{
min-width: 16;
max-width: 16;
min-height: 16;
max-height: 16;
background-color: @CLibraryTreeViewIndicatorBackground;
background-repeat: none;
background-position: center;
}
QTreeView::indicator:checked
{
background-image: url(:/particleQT/icons/check.png);
}
QTreeView::item:hover
{
border: 1px solid transparent;
color: @CTreeViewItemHoverText;
}
QTreeView::item:selected
{
background: @CTreeViewItemFocusBackground;
color: @CTreeViewItemSelectedText;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings
{
image: url(:/particleQT/icons/expandarrow_closed.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings
{
image: url(:/particleQT/icons/expandarrow_opened.png);
}
/* Tooltip font styles */
.QLabel[tooltipLabel="Title"]
{
color: @CToolTipText;
font: "Open Sans";
font-size: 12px;
font-weight: 600; /*CSS semibold value*/
background: transparent;
}
.QLabel[tooltipLabel="Shortcut"]
{
color: @CToolTipText;
font: "Open Sans";
font-size: 12px;
font-style: italic;
background: transparent;
}
.QLabel[tooltipLabel="Content"]
{
color: @CToolTipText;
font: "Open Sans";
font-size: 11px;
background: transparent;
}
QWidget[tooltip="Background"]
{
background: @CToolTipBackground;
margin: 5px;
padding: 10px;
}
#ToolTip
{
background: transparent;
margin: 5px;
}
QWidget[tableRow="Odd"]
{
background: @CTableRowOdd;
}
QWidget[tableRow="Even"]
{
background: @CTableRowEven;
}
/*Hotkey editor styles*/
QDialog
{
background: @CSubPanelBackground;
}
.QKeySequenceCaptureWidget[HotkeyLabel="Standard"]
{
border: none;
border-radius: 3px;
}
#ColorControlBackground, #AltColorControlBackground
{
background-image: url(:/particleQT/icons/color_btn_bkgn.png);
border:transparent;
border-radius: 0px;
}
#ColorControlForeground,
#AltColorControlForeground
{
border: 1px solid @CTextEditBackground;
border-radius: 0px;
}
.QLabel[HotkeyLabel="Category"]
{
border-bottom: 1px solid white;
border-top: 1px solid white;
}
.QKeySequenceCaptureWidget:focus
{
border-radius: 3px;
border: 1px solid @CTextEditFocusBorder;/*@CTextColorPrimary;*/
background: @CTextEditFocusBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditFocusText;
selection-color: @CTextEditFocusTextSelected;
selection-background-color: @CTextEditFocusTextSelectedBackground;
}
.QKeySequenceCaptureWidget[HotkeyLabel="Modified"]
{
border-radius: 3px;
border: 1px solid @CTextColorPrimary;/*@CTextColorPrimary;*/
background: @CTextEditFocusBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditFocusText;
selection-color: @CTextEditFocusTextSelected;
selection-background-color: @CTextEditFocusTextSelectedBackground;
}
/* Property label */
QColumnWidget[VariableAjusted="true"] > .QLabel
{
color: @CTextColorPrimary;
}
QColumnWidget > .QLabel:disabled
{
color: @CTextEditDisabledText;
}
/* Color picker styles */
QCustomColorDialog
{
background: @CSubPanelBackground;
}
QCustomColorDialog #ColorPickerOkButton
{
background: @CColorPickerOkButtonBackGround;
}
QCustomColorDialog #ColorPickerHelpButton
{
background-color: transparent;
border: 1px solid black;
border-radius: 10px;
}
/* Gradient picker styles */
QGradientColorDialog
{
background: @CSubPanelBackground;
}
/* Preset Selector Styles */
QPresetSelectorWidget .QLineEdit
{
border: 1px solid @CTextEditBackground;
border-radius: 3px;
background: @CTextEditBackground;
color: @CTextEditText;
selection-color: @CTextEditTextSelected;
selection-background-color: @CTextEditTextSelectedBackground;
qproperty-alignment: AlignLeft;
min-height: 18px;
}
QPresetSelectorWidget .QLineEdit:hover
{
border: 1px solid @CTextEditHoverBorder;/*@CMenuSelectBackground;*/
}
QPresetSelectorWidget .QLineEdit:focus
{
border: 1px solid @CTextEditFocusBorder;/*@CTextColorPrimary;*/
background: @CTextEditFocusBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditFocusText;
selection-color: @CTextEditFocusTextSelected;
selection-background-color: @CTextEditFocusTextSelectedBackground;
}
/* Color Picker Styles */
QCustomColorDialog .QLineEdit
{
border: 1px solid @CTextEditBackground;
border-radius: 3px;
background: @CTextEditBackground;
color: @CTextEditText;
selection-color: @CTextEditTextSelected;
selection-background-color: @CTextEditTextSelectedBackground;
qproperty-alignment: AlignLeft;
min-height: 18px;
}
QCustomColorDialog .QLineEdit:hover
{
border: 1px solid @CTextEditHoverBorder;/*@CMenuSelectBackground;*/
}
QCustomColorDialog .QLineEdit:focus
{
border: 1px solid @CTextEditFocusBorder;/*@CTextColorPrimary;*/
background: @CTextEditFocusBackground; /*@CIconButtonPressedBackground;*/
color: @CTextEditFocusText;
selection-color: @CTextEditFocusTextSelected;
selection-background-color: @CTextEditFocusTextSelectedBackground;
}
/* QMessageBox styles */
QMessageBox
{
background: @CSubPanelBackground;
}
/* Preset Selector styles */
.QPresetSelectorWidget QWidget
{
background: @CSubPanelBackground;
}
/* Curve Swatch widget styles */
.QCurveSwatchWidget QPainter
{
color: @CWindowBackgroundDark;
}
/* Emitter Copy dialog styles */
.QCopyModalDialog
{
background: @CSubPanelBackground;
border: 1px solid @CTreeViewItemSelectedBorder;
}
/* Hotkey editor style
.QKeySequenceEditorDialog QGridLayout
{
background: @CSubPanelBackground;
}
*/
QColorEyeDropper #EyeDropperTextInfo
{
background: @CContextMenuBackground;
color : @CContextMenuText;
font: 10px;
}
#ColorPicker
{
height: 230px;
width: 290px;
border: 0px solid red;
border-radius: 0px;
}
/* color picker combobox */
QColorDescriptorWidget .QComboBox
{
border: 1px solid @CComboBoxBackground;
border-radius: 3px;
background: @CComboBoxBackground;
color: @CComboBoxText;
selection-color: @CComboBoxTextSelected;
selection-background-color: @CComboBoxTextSelectedBackground;
padding: 1px 0px 1px 3px;
height: 18px;
}
QColorDescriptorWidget .QComboBox:hover
{
border: 1px solid @CComboBoxHoverBorder;
}
QColorDescriptorWidget .QComboBox:focus
{
border: 1px solid @CComboBoxBackground;
background: @CComboBoxBackground;
color: @CComboBoxText;
selection-color: @CComboBoxTextSelected;
selection-background-color: @CComboBoxTextSelectedBackground;
}
/* Preview pane styles */
#PreviewPanelFrame
{
background: @CSubPanelBackground;
}
QPushButton[previewIconButton="true"]
{
min-width: 30px;
min-height: 30px;
max-width: 30px;
max-height: 30px;
}