From be3b369ec4cc4e46d137de30830279ccdb2fcd59 Mon Sep 17 00:00:00 2001 From: Garux Date: Wed, 12 Aug 2026 09:46:34 +0500 Subject: [PATCH] * GreyBlue2, BlenderDark, BlenderLight GUI themes by @julius2k26 closes #297 --- docs/changelog-custom.txt | 1 + radiant/theme.cpp | 27 +- setup/data/tools/themes/blenderdark.qss | 2293 ++++++++++++++++ .../tools/themes/blenderdark/arrow_down.svg | 16 + .../blenderdark/arrow_down_selected.svg | 16 + .../tools/themes/blenderdark/arrow_left.svg | 16 + .../blenderdark/arrow_left_selected.svg | 16 + .../tools/themes/blenderdark/arrow_right.svg | 16 + .../blenderdark/arrow_right_selected.svg | 16 + .../tools/themes/blenderdark/arrow_up.svg | 16 + .../themes/blenderdark/arrow_up_selected.svg | 16 + .../data/tools/themes/blenderdark/branch.svg | 16 + .../tools/themes/blenderdark/branch_end.svg | 16 + .../tools/themes/blenderdark/branch_more.svg | 16 + .../themes/blenderdark/checkbox_checked.svg | 28 + .../blenderdark/checkbox_checked_disabled.svg | 28 + .../blenderdark/checkbox_checked_selected.svg | 28 + .../themes/blenderdark/checkbox_unchecked.svg | 20 + .../checkbox_unchecked_disabled.svg | 20 + .../checkbox_unchecked_selected.svg | 20 + .../tools/themes/blenderdark/chevron_left.svg | 16 + .../blenderdark/chevron_left_disabled.svg | 16 + .../themes/blenderdark/chevron_left_hover.svg | 16 + .../themes/blenderdark/chevron_right.svg | 16 + .../blenderdark/chevron_right_disabled.svg | 16 + .../blenderdark/chevron_right_hover.svg | 16 + .../tools/themes/blenderdark/combo_arrow.svg | 16 + .../blenderdark/combo_arrow_disabled.svg | 16 + .../themes/blenderdark/combo_arrow_hover.svg | 16 + .../tools/themes/blenderdark/menu_more.svg | 16 + .../blenderdark/radiobutton_checked.svg | 28 + .../radiobutton_checked_disabled.svg | 28 + .../radiobutton_checked_selected.svg | 28 + .../blenderdark/radiobutton_unchecked.svg | 20 + .../radiobutton_unchecked_disabled.svg | 20 + .../radiobutton_unchecked_selected.svg | 20 + .../themes/blenderdark/resize_handle.svg | 16 + .../themes/blenderdark/slider_handle.svg | 20 + .../blenderdark/slider_handle_disabled.svg | 20 + .../blenderdark/slider_handle_hover.svg | 20 + .../blenderdark/splitter_handle_horiz.svg | 16 + .../blenderdark/splitter_handle_vert.svg | 16 + .../blenderdark/toolbar_handle_horiz.svg | 16 + .../blenderdark/toolbar_handle_vert.svg | 16 + .../tools/themes/blenderdark/tree_closed.svg | 20 + .../themes/blenderdark/tree_closed_end.svg | 20 + .../blenderdark/tree_closed_end_hover.svg | 20 + .../themes/blenderdark/tree_closed_hover.svg | 20 + .../tools/themes/blenderdark/tree_open.svg | 20 + .../themes/blenderdark/tree_open_end.svg | 20 + .../blenderdark/tree_open_end_hover.svg | 20 + .../themes/blenderdark/tree_open_hover.svg | 20 + setup/data/tools/themes/blenderlight.qss | 2293 ++++++++++++++++ .../tools/themes/blenderlight/arrow_down.svg | 16 + .../blenderlight/arrow_down_selected.svg | 16 + .../tools/themes/blenderlight/arrow_left.svg | 16 + .../blenderlight/arrow_left_selected.svg | 16 + .../tools/themes/blenderlight/arrow_right.svg | 16 + .../blenderlight/arrow_right_selected.svg | 16 + .../tools/themes/blenderlight/arrow_up.svg | 16 + .../themes/blenderlight/arrow_up_selected.svg | 16 + .../data/tools/themes/blenderlight/branch.svg | 16 + .../tools/themes/blenderlight/branch_end.svg | 16 + .../tools/themes/blenderlight/branch_more.svg | 16 + .../themes/blenderlight/checkbox_checked.svg | 28 + .../checkbox_checked_disabled.svg | 28 + .../checkbox_checked_selected.svg | 28 + .../blenderlight/checkbox_unchecked.svg | 20 + .../checkbox_unchecked_disabled.svg | 20 + .../checkbox_unchecked_selected.svg | 20 + .../themes/blenderlight/chevron_left.svg | 16 + .../blenderlight/chevron_left_disabled.svg | 16 + .../themes/blenderlight/chevron_right.svg | 16 + .../blenderlight/chevron_right_disabled.svg | 16 + .../tools/themes/blenderlight/combo_arrow.svg | 16 + .../blenderlight/combo_arrow_disabled.svg | 16 + .../themes/blenderlight/combo_arrow_hover.svg | 16 + .../tools/themes/blenderlight/menu_more.svg | 16 + .../blenderlight/radiobutton_checked.svg | 28 + .../radiobutton_checked_disabled.svg | 28 + .../radiobutton_checked_selected.svg | 28 + .../blenderlight/radiobutton_unchecked.svg | 20 + .../radiobutton_unchecked_disabled.svg | 20 + .../radiobutton_unchecked_selected.svg | 20 + .../themes/blenderlight/resize_handle.svg | 16 + .../themes/blenderlight/slider_handle.svg | 20 + .../blenderlight/slider_handle_disabled.svg | 20 + .../blenderlight/slider_handle_hover.svg | 20 + .../blenderlight/splitter_handle_horiz.svg | 16 + .../blenderlight/splitter_handle_vert.svg | 16 + .../blenderlight/toolbar_handle_horiz.svg | 16 + .../blenderlight/toolbar_handle_vert.svg | 16 + .../tools/themes/blenderlight/tree_closed.svg | 20 + .../themes/blenderlight/tree_closed_end.svg | 20 + .../blenderlight/tree_closed_end_hover.svg | 20 + .../themes/blenderlight/tree_closed_hover.svg | 20 + .../tools/themes/blenderlight/tree_open.svg | 20 + .../themes/blenderlight/tree_open_end.svg | 20 + .../blenderlight/tree_open_end_hover.svg | 20 + .../themes/blenderlight/tree_open_hover.svg | 20 + setup/data/tools/themes/greyblue2.qss | 2297 +++++++++++++++++ .../tools/themes/greyblue2/arrow_down.svg | 16 + .../themes/greyblue2/arrow_down_selected.svg | 16 + .../tools/themes/greyblue2/arrow_left.svg | 16 + .../themes/greyblue2/arrow_left_selected.svg | 16 + .../tools/themes/greyblue2/arrow_right.svg | 16 + .../themes/greyblue2/arrow_right_selected.svg | 16 + .../data/tools/themes/greyblue2/arrow_up.svg | 16 + .../themes/greyblue2/arrow_up_selected.svg | 16 + setup/data/tools/themes/greyblue2/branch.svg | 16 + .../tools/themes/greyblue2/branch_end.svg | 16 + .../tools/themes/greyblue2/branch_more.svg | 16 + .../themes/greyblue2/checkbox_checked.svg | 28 + .../greyblue2/checkbox_checked_disabled.svg | 28 + .../greyblue2/checkbox_checked_selected.svg | 28 + .../themes/greyblue2/checkbox_unchecked.svg | 20 + .../greyblue2/checkbox_unchecked_disabled.svg | 20 + .../greyblue2/checkbox_unchecked_selected.svg | 20 + .../tools/themes/greyblue2/chevron_down.svg | 16 + .../greyblue2/chevron_down_disabled.svg | 16 + .../themes/greyblue2/chevron_down_hover.svg | 16 + .../tools/themes/greyblue2/chevron_up.svg | 16 + .../themes/greyblue2/chevron_up_disabled.svg | 16 + .../themes/greyblue2/chevron_up_hover.svg | 16 + .../data/tools/themes/greyblue2/menu_more.svg | 16 + .../themes/greyblue2/radiobutton_checked.svg | 28 + .../radiobutton_checked_disabled.svg | 28 + .../radiobutton_checked_selected.svg | 28 + .../greyblue2/radiobutton_unchecked.svg | 20 + .../radiobutton_unchecked_disabled.svg | 20 + .../radiobutton_unchecked_selected.svg | 20 + .../tools/themes/greyblue2/resize_handle.svg | 16 + .../tools/themes/greyblue2/slider_handle.svg | 28 + .../greyblue2/slider_handle_disabled.svg | 28 + .../themes/greyblue2/slider_handle_hover.svg | 28 + .../greyblue2/splitter_handle_horiz.svg | 16 + .../themes/greyblue2/splitter_handle_vert.svg | 16 + .../themes/greyblue2/toolbar_handle_horiz.svg | 16 + .../themes/greyblue2/toolbar_handle_vert.svg | 16 + .../tools/themes/greyblue2/tree_closed.svg | 20 + .../themes/greyblue2/tree_closed_end.svg | 20 + .../greyblue2/tree_closed_end_hover.svg | 20 + .../themes/greyblue2/tree_closed_hover.svg | 20 + .../data/tools/themes/greyblue2/tree_open.svg | 20 + .../tools/themes/greyblue2/tree_open_end.svg | 20 + .../themes/greyblue2/tree_open_end_hover.svg | 20 + .../themes/greyblue2/tree_open_hover.svg | 20 + 147 files changed, 9626 insertions(+), 1 deletion(-) create mode 100644 setup/data/tools/themes/blenderdark.qss create mode 100644 setup/data/tools/themes/blenderdark/arrow_down.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_down_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_left.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_left_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_right.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_right_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_up.svg create mode 100644 setup/data/tools/themes/blenderdark/arrow_up_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/branch.svg create mode 100644 setup/data/tools/themes/blenderdark/branch_end.svg create mode 100644 setup/data/tools/themes/blenderdark/branch_more.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_checked.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_checked_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_checked_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_unchecked.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/checkbox_unchecked_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_left.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_left_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_left_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_right.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_right_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/chevron_right_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/combo_arrow.svg create mode 100644 setup/data/tools/themes/blenderdark/combo_arrow_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/combo_arrow_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/menu_more.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_checked.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_checked_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_checked_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_unchecked.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/radiobutton_unchecked_selected.svg create mode 100644 setup/data/tools/themes/blenderdark/resize_handle.svg create mode 100644 setup/data/tools/themes/blenderdark/slider_handle.svg create mode 100644 setup/data/tools/themes/blenderdark/slider_handle_disabled.svg create mode 100644 setup/data/tools/themes/blenderdark/slider_handle_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/splitter_handle_horiz.svg create mode 100644 setup/data/tools/themes/blenderdark/splitter_handle_vert.svg create mode 100644 setup/data/tools/themes/blenderdark/toolbar_handle_horiz.svg create mode 100644 setup/data/tools/themes/blenderdark/toolbar_handle_vert.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_closed.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_closed_end.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_closed_end_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_closed_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_open.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_open_end.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_open_end_hover.svg create mode 100644 setup/data/tools/themes/blenderdark/tree_open_hover.svg create mode 100644 setup/data/tools/themes/blenderlight.qss create mode 100644 setup/data/tools/themes/blenderlight/arrow_down.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_down_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_left.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_left_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_right.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_right_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_up.svg create mode 100644 setup/data/tools/themes/blenderlight/arrow_up_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/branch.svg create mode 100644 setup/data/tools/themes/blenderlight/branch_end.svg create mode 100644 setup/data/tools/themes/blenderlight/branch_more.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_checked.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_checked_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_checked_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_unchecked.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/checkbox_unchecked_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/chevron_left.svg create mode 100644 setup/data/tools/themes/blenderlight/chevron_left_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/chevron_right.svg create mode 100644 setup/data/tools/themes/blenderlight/chevron_right_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/combo_arrow.svg create mode 100644 setup/data/tools/themes/blenderlight/combo_arrow_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/combo_arrow_hover.svg create mode 100644 setup/data/tools/themes/blenderlight/menu_more.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_checked.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_checked_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_checked_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_unchecked.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/radiobutton_unchecked_selected.svg create mode 100644 setup/data/tools/themes/blenderlight/resize_handle.svg create mode 100644 setup/data/tools/themes/blenderlight/slider_handle.svg create mode 100644 setup/data/tools/themes/blenderlight/slider_handle_disabled.svg create mode 100644 setup/data/tools/themes/blenderlight/slider_handle_hover.svg create mode 100644 setup/data/tools/themes/blenderlight/splitter_handle_horiz.svg create mode 100644 setup/data/tools/themes/blenderlight/splitter_handle_vert.svg create mode 100644 setup/data/tools/themes/blenderlight/toolbar_handle_horiz.svg create mode 100644 setup/data/tools/themes/blenderlight/toolbar_handle_vert.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_closed.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_closed_end.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_closed_end_hover.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_closed_hover.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_open.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_open_end.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_open_end_hover.svg create mode 100644 setup/data/tools/themes/blenderlight/tree_open_hover.svg create mode 100644 setup/data/tools/themes/greyblue2.qss create mode 100644 setup/data/tools/themes/greyblue2/arrow_down.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_down_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_left.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_left_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_right.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_right_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_up.svg create mode 100644 setup/data/tools/themes/greyblue2/arrow_up_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/branch.svg create mode 100644 setup/data/tools/themes/greyblue2/branch_end.svg create mode 100644 setup/data/tools/themes/greyblue2/branch_more.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_checked.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_checked_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_checked_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_unchecked.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/checkbox_unchecked_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_down.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_down_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_down_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_up.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_up_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/chevron_up_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/menu_more.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_checked.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_checked_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_checked_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_unchecked.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_unchecked_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/radiobutton_unchecked_selected.svg create mode 100644 setup/data/tools/themes/greyblue2/resize_handle.svg create mode 100644 setup/data/tools/themes/greyblue2/slider_handle.svg create mode 100644 setup/data/tools/themes/greyblue2/slider_handle_disabled.svg create mode 100644 setup/data/tools/themes/greyblue2/slider_handle_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/splitter_handle_horiz.svg create mode 100644 setup/data/tools/themes/greyblue2/splitter_handle_vert.svg create mode 100644 setup/data/tools/themes/greyblue2/toolbar_handle_horiz.svg create mode 100644 setup/data/tools/themes/greyblue2/toolbar_handle_vert.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_closed.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_closed_end.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_closed_end_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_closed_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_open.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_open_end.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_open_end_hover.svg create mode 100644 setup/data/tools/themes/greyblue2/tree_open_hover.svg diff --git a/docs/changelog-custom.txt b/docs/changelog-custom.txt index e1036a3e..92cbb7bd 100644 --- a/docs/changelog-custom.txt +++ b/docs/changelog-custom.txt @@ -1169,6 +1169,7 @@ misc... * .crn image format support * .dpk .dpkdir game archives support * .webp image format support + * GreyBlue2, BlenderDark, BlenderLight GUI themes by @julius2k26 diff --git a/radiant/theme.cpp b/radiant/theme.cpp index 93ac0551..17a8a228 100644 --- a/radiant/theme.cpp +++ b/radiant/theme.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include "preferences.h" #include "mainframe.h" @@ -38,6 +39,9 @@ enum class ETheme{ Fusion, Dark, Darker, + GreyBlue2, + BlenderDark, + BlenderLight, }; static ETheme s_theme = ETheme::Dark; @@ -150,6 +154,27 @@ void theme_set( ETheme theme ){ qApp->setStyleSheet( load_qss( "darker.qss" ) ); } + else if( theme == ETheme::GreyBlue2 ){ + set_icon_theme( false ); + qApp->setStyle( "Fusion" ); + qApp->setPalette( defaults.palette ); + QDir::addSearchPath( "julius", AppPath_get() ); // qss image paths prefix to avoid dependency on cwd + qApp->setStyleSheet( load_qss( "greyblue2.qss" ) ); + } + else if( theme == ETheme::BlenderDark ){ + set_icon_theme( false ); + qApp->setStyle( "Fusion" ); + qApp->setPalette( defaults.palette ); + QDir::addSearchPath( "julius", AppPath_get() ); // qss image paths prefix to avoid dependency on cwd + qApp->setStyleSheet( load_qss( "blenderdark.qss" ) ); + } + else if( theme == ETheme::BlenderLight ){ + set_icon_theme( true ); + qApp->setStyle( "Fusion" ); + qApp->setPalette( defaults.palette ); + QDir::addSearchPath( "julius", AppPath_get() ); // qss image paths prefix to avoid dependency on cwd + qApp->setStyleSheet( load_qss( "blenderlight.qss" ) ); + } defaults.is1stThemeApplication = false; } @@ -159,7 +184,7 @@ void theme_construct_menu( class QMenu *menu ){ m->setTearOffEnabled( g_Layout_enableDetachableMenus.m_value ); auto *group = new QActionGroup( m ); - for( const auto *name : { "Default", "Fusion", "Dark", "Darker" } ) + for( const auto *name : { "Default", "Fusion", "Dark", "Darker", "GreyBlue2", "BlenderDark", "BlenderLight" } ) { auto *a = m->addAction( name ); a->setCheckable( true ); diff --git a/setup/data/tools/themes/blenderdark.qss b/setup/data/tools/themes/blenderdark.qss new file mode 100644 index 00000000..8353ab50 --- /dev/null +++ b/setup/data/tools/themes/blenderdark.qss @@ -0,0 +1,2293 @@ +/* ---------------------------------------------------------------------------- + + NAME: "BlenderDark" Style Sheet + VERSION: 1.0 + LICENSE: GPL v2 + + ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. + + AUTHOR: Julius aka Julio César (juliocesar2k7@gmail.com) + DATE: Started in September 2025 + + ---------------------------------------------------------------------------- */ + +/* ---- ALL WIDGETS ----------------------------------------------------------- +| | +| This RESETS the properties of ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +/* +* { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + outline: none; + padding: 0px; + + spacing: 0px; +} +*/ + +/* ---- QWidget (Container) --------------------------------------------------- +| | +| Inheritance: none | +| | +| Inherited by: ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +QWidget { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* ---- QFrame (Container) ---------------------------------------------------- +| | +| Inheritance: QWidget => QFrame | +| | +| Inherited by: QLabel, QSplitter, QStackedWidget | +| QAbstractScrollArea (QScrollArea, QPlainTextEdit) | +| QAbstractItemView (QHeaderView, QListView, QTreeView) | +| plus some other widgets not themed here. | +| | + ---------------------------------------------------------------------------- */ + +/* QFrame as separator (HLine frameShape) */ + +.QFrame { + background: transparent; + margin: 0px; + border-top: 2px dashed rgb( 136, 136, 136 ); /* same as Menu Arrow */ + border-radius: 0px; + padding: 0px; +} + +/* ---- QToolTip (Container) -------------------------------------------------- +| | +| Inheritance: QWidget => QToolTip (QToolTip is a QFrame) | +| | + ---------------------------------------------------------------------------- */ + +QToolTip { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 29, 29, 29 ); /* ToolTip BKGR */ + margin: 0px; + border: 1px solid rgb( 36, 36, 36 ); /* ToolTip BORDER */ + border-radius: 0px; + padding: 0px 0px; + + /* opacity: 240; */ + /* font-style: italic; */ +} + +/* ---- QLabel (Display) ------------------------------------------------------ +| | +| Inheritance: QWidget => QFrame => QLabel | +| | + ---------------------------------------------------------------------------- */ + +QLabel { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin:0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QLabel::disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QDialog + QMessageBox + QDialogButtonBox (Container) ------------------ +| | +| Inheritance: QWidget => QDialog | +| QWidget => QDialog => QMessageBox | +| QWidget => QDialogButtonBox | +| | +| NOTE: Button Layout: 0=Windows, 1=MacOS, 2=KDE, 3=GNOME, 5=Android | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences BKGR, Surface Inspector, TexBro (Find/Replace), + Map Info, File Selector, etc. */ + +QDialog { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Open Map (warning) and other message windows */ + +QMessageBox { + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Windows with standard buttons (OK, CANCEL, etc.) */ + +QDialogButtonBox { + dialogbuttonbox-buttons-have-icons: 0; /* remove Icons */ + /* button-layout: 0; */ /* Windows layout */ +} + +/* ---- QGroupBox (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QGroupBox | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences (right panel), SI (buttons zone), About window, + Buil Menu (Editor), Plugins (many of them) */ + +QGroupBox { + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content] */ + + outline: none; /* visible in focused [Title] */ + + margin-top: 1.10em; /* add space for [Title] */ +} + +QGroupBox:off, QGroupBox:disabled { + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* -- Title -- */ + +QGroupBox::title { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; /* space around [Indicator+Text] */ + + subcontrol-origin: margin; /* margin, border, PADDING, content */ + subcontrol-position: top left; /* top, bottom, left, right, center */ + + spacing: 2px; /* space between [Indicator] & [Text] */ +} + +QGroupBox::title:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QGroupBox::title:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* -- CheckBox -- */ + +QGroupBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QGroupBox::indicator:checked { + image: url(julius:themes/blenderdark/checkbox_checked.svg); +} + +QGroupBox::indicator:checked:hover { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:checked:pressed { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:checked:disabled { + image: url(julius:themes/blenderdark/checkbox_checked_disabled.svg); +} + +QGroupBox::indicator:unchecked { + image: url(julius:themes/blenderdark/checkbox_unchecked.svg); +} + +QGroupBox::indicator:unchecked:hover { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:unchecked:pressed { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:unchecked:disabled { + image: url(julius:themes/blenderdark/checkbox_unchecked_disabled.svg); +} + +/* ---- QMainWindow (Layout) -------------------------------------------------- +| | +| Inheritance: QWidget => QMainWindow | +| | +| | +| - Main widgets layout of NRC is this: | +| | +| QMainWindow + QMenuBar + QMenu + QToolBar + QStatusBar + QSplitter | +| | +| - BKGR of QMainWindow is visible in layout2 (floating windows). Its color | +| is inherited by QSplitter & QStatusBar if not set there. It is also | +| visible in the corners of the Console. | +| | +| - ToolBar's Icon size can be set here (overriding system size). | +| | +| It doesn't work for TexBro & ModelBro ToolBars because they are not | +| children of QMainWindow (they are QSplitter's children). | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* icon-size: 24px 24px; */ +} + +/* ---- QMenuBar -------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenuBar | +| | + ---------------------------------------------------------------------------- */ + +QMenuBar { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + spacing: 2px; /* space between [Items] */ +} + +QMenuBar::item { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 2px 0px; + border: 1px solid transparent; + border-radius: 4px; + padding: 0px 6px; /* space around [Text] */ + + padding-bottom: 1px; +} + +QMenuBar::item:selected, QMenuBar::item:pressed { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 48, 48, 48 ); + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QMenuBar::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QMenu ----------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenu | +| | + ---------------------------------------------------------------------------- */ + +QMenu { + /* qproperty-separatorsCollapsible: 0; */ + /* qproperty-toolTipsVisible: 0; */ +} + +QMenu { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: 1px solid rgb( 36, 36, 36 ); /* Menu BORDER */ + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + menu-scrollable: 1; /* enable Overflow Scroller */ +} + +QMenu::separator { + background: rgb( 47, 47, 47 ); /* Menu SEPARATOR */ + margin: 2px 6px; + height: 1px; +} + +QMainWindow > QMenu { + menu-scrollable: 0; /* disable Scroller for ToolBar right-click menu */ +} + +/* -- Item -- */ + +QMenu::item { + color: rgb( 221, 221, 221 ); /* less bright than Main TEXT */ + background: transparent; + margin: 1px 0px; /* space around [Item] rows */ + border: none; + border-radius: 4px; + + padding: 0px 20px 1px 11px; /* space around [Text+Mnemonic] */ + + /* NOTE: Added extra space for Icon & Arrow */ +} + +QMenu::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 63, 63, 63 ); /* Menu Selected BKGR */ +} + +QMenu::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + + font-style: italic; +} + +/* -- Icon -- */ + +QMenu::icon { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgba( 255, 255, 255, 25% ); /* WHITE + Alpha */ + border-radius: 2px; + padding: 1px; /* space around [Icon] */ + + position: absolute; + left: 6px; + + /* NOTE: QMenu Icon size is not adjustable from stylesheet */ +} + +QMenu::icon:checked { + background: rgba( 225, 146, 46, 25% ); /* Main ORANGE + Alpha */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QMenu::icon:!checked:selected { + background: rgba( 0, 0, 0, 10% ); /* BLACK + Alpha */ + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +QMenu::icon:checked:selected { + background: rgba( 225, 146, 46, 25% ); /* Main ORANGE + Alpha */ + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QMenu::icon:!checked:pressed { + background: rgba( 225, 146, 46, 25% ); /* Main ORANGE + Alpha */ + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QMenu::icon:checked:pressed { + background: rgba( 0, 0, 0, 10% ); /* BLACK + Alpha */ + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +/* -- Arrow -- */ + +QMenu::right-arrow { + image: url(julius:themes/blenderdark/arrow_right.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + position: absolute; + right: 2px; +} + +QMenu::right-arrow:selected { + image: url(julius:themes/blenderdark/arrow_right_selected.svg); +} + +/* -- Indicator -- */ + +QMenu::indicator { + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ + + position: absolute; + left: 6px; + + /* NOTE: Larger size (24px) is causing Text misaligning */ +} + +/* CheckBox */ + +QMenu::indicator:non-exclusive:checked { + image: url(julius:themes/blenderdark/checkbox_checked.svg); +} + +QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:pressed { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:disabled { + image: url(julius:themes/blenderdark/checkbox_checked_disabled.svg); +} + +QMenu::indicator:non-exclusive:unchecked { + image: url(julius:themes/blenderdark/checkbox_unchecked.svg); +} + +QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:pressed { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:disabled { + image: url(julius:themes/blenderdark/checkbox_unchecked_disabled.svg); +} + +/* RadioButton */ + +QMenu::indicator:exclusive:checked { + image: url(julius:themes/blenderdark/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:selected { + image: url(julius:themes/blenderdark/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:checked:pressed { + image: url(julius:themes/blenderdark/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:disabled { + image: url(julius:themes/blenderdark/radiobutton_checked_disabled.svg); +} + +QMenu::indicator:exclusive:unchecked { + image: url(julius:themes/blenderdark/radiobutton_unchecked.svg); +} + +QMenu::indicator:exclusive:unchecked:selected { + image: url(julius:themes/blenderdark/radiobutton_unchecked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:pressed { + image: url(julius:themes/blenderdark/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:disabled { + image: url(julius:themes/blenderdark/radiobutton_unchecked_disabled.svg); +} + +/* -- Tear Off -- */ + +QMenu::tearoff { + background: transparent; + margin: 2px 5px 3px 5px; + border-top: 2px dashed rgb( 47, 47, 47 ); /* like Menu SEPARATOR */ + + height: 2px; +} + +QMenu::tearoff:selected { + border-color: rgb( 136, 136, 136 ); /* like Menu Arrow */ +} + +/* -- Scroller -- */ + +/* This sub-control has no pseudo-states (hover, etc.) */ + +QMenu::scroller { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + margin-top: 4px; + + image: url(julius:themes/blenderdark/menu_more.svg); + + height: 8px; +} + +/* -- Trickery for ToolBar right-click menu -- */ + +/* Problem: after pressing an item, the "selected" state looks like inverting + checked/unchecked states. + + Solution: removing "pressed" state or prioritizing "selected" over it + (by stylesheet order), so that "pressed" state will never be displayed. */ + +QMainWindow > QMenu::icon:!checked:selected { + background: rgba( 0, 0, 0, 10% ); /* BLACK + Alpha */ + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +QMainWindow > QMenu::icon:checked:selected { + background: rgba( 225, 146, 46, 25% ); /* Main ORANGE + Alpha */ + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QMainWindow > QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QMainWindow > QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +/* ---- QToolBar (Container) + QToolButton (Buttons) -------------------------- +| | +| Inheritance: QWidget => QToolBar | +| QWidget => QAbstractButton => QToolButton | +| | +| | +| - qproperty-iconSize: 32px; | +| | +| This will affect all ToolBars and will also propagate to all Themes, | +| so it is better to set it in QMainWindow (icon-size: 32px) | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + icon-size: 24px 24px; +} + +/* ---- QToolBar ---- */ + +QToolBar { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + spacing: 0px; /* space between [Buttons] */ +} + +QToolBar::separator:horizontal { + background: transparent; + width: 8px; +} + +QToolBar::separator:vertical { + background: transparent; + height: 8px; +} + +QToolBar::handle:horizontal { + image: url(julius:themes/blenderdark/toolbar_handle_vert.svg); + padding-right: 2px; /* a bit of separation */ + + width: 8px; +} + +QToolBar::handle:vertical { + image: url(julius:themes/blenderdark/toolbar_handle_horiz.svg); + padding-bottom: 2px; /* a bit of separation */ + + height: 8px; +} + +/* ---- QToolButton ---- */ + +QToolBar QToolButton { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid transparent; + border-radius: 0px; + + padding: 3px; /* space around [Icon] */ +} + +QToolBar QToolButton:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ + border-color: rgba( 255, 255, 255, 50% ); /* WHITE + Alpha */ +} + +QToolBar QToolButton:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: transparent; +} + +QToolBar QToolButton:on { + background: rgb( 103, 80, 63 ); /* Button BKGR +50% Tint */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QToolBar QToolButton:on:hover { + background: rgb( 122, 89, 61 ); /* Button BKGR (hover) +70% Tint */ + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QToolBar QToolButton:on:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: transparent; +} + +QToolBar QToolButton:disabled { + background: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ + border-color: transparent; +} + +/* Secondary ToolBar (TexBro & ModelBro) */ + +QSplitter QToolBar { + padding: 2px; /* half size of main ToolBar */ +} + +QSplitter QToolBar QToolButton { + /* placeholder */ +} + +/* ---- QStatusBar (Container) ------------------------------------------------ +| | +| Inheritance: QWidget => QStatusBar | +| | + ---------------------------------------------------------------------------- */ + +QStatusBar { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* min-height: 28px; */ +} + +QStatusBar .QWidget { /* this is Icons zone */ + background: transparent; +} + +QStatusBar QLabel { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QSplitter (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QFrame => QSplitter | +| | +| | +| - Keep in mind that QSplitter supports any property such as margin, | +| border, padding, etc., so I set all of them to zero. | +| | +| The handle is simply a visible sub-control of this widget. In fact, the | +| handle is the whole separator bar. | +| | + ---------------------------------------------------------------------------- */ + +QSplitter { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSplitter::handle:horizontal { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + image: url(julius:themes/blenderdark/splitter_handle_vert.svg); + + width: 4px; +} + +QSplitter::handle:vertical { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + image: url(julius:themes/blenderdark/splitter_handle_horiz.svg); + + height: 4px; +} + +/* ---- QTabWidget (Container) (+ QTabBar + QStackedWidget)-------------------- +| | +| Inheritance: QWidget => QTabWidget | +| => QTabBar | +| | +| QWidget => QFrame => QStackedWidget | +| | +| NOTE: Most of the functionality in QTabWidget is provided by a QTabBar | +| (at the top, providing the tabs) and a QStackedWidget (most of the | +| area, organizing the individual pages). | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: EI, TexBro, Plugins (bobToolz) */ + +QTabWidget { + qproperty-documentMode: 0; /* 0 = render the widget frame */ + qproperty-elideMode: ElideNone; /* ElideLeft | ElideRight | ElideMiddle | ElideNone */ + qproperty-movable: 1; /* drag and reorganize individual Tabs */ + qproperty-tabBarAutoHide: 1; /* Tab Bar hidden if less than 2 Tabs */ + qproperty-usesScrollButtons: 0; /* don't show overflow buttons */ +} + +/* Full widget frame (EI) */ + +QTabWidget::pane:bottom { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 2px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-bottom-left-radius: 0px; +} + +/* Full widget frame (TexBro) */ + +QTabWidget::pane:top { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 2px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-top-left-radius: 0px; +} + +/* Tabs Bar position (EI) */ + +QTabWidget::tab-bar:bottom { + subcontrol-position: left center; + + left: 2px; + bottom: 3px; /* move it up */ +} + +/* Tabs Bar position (TexBro) */ + +QTabWidget::tab-bar:top { + subcontrol-position: left center; + + left: 2px; + top: 3px; /* move it down */ +} + +/* ---- Tabs ---- */ + +QTabBar { + background: rgb( 48, 48, 48 ); /* Main BKGR */ +} + +/* -- EI -- */ + +QTabBar::tab:bottom { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgb( 36, 36, 36 ); /* Tabs BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px 8px; /* space around [Text] */ + + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-bottom: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:bottom:hover { + color: rgb( 230, 230, 230 ); /* Main TEXT */ +} + +QTabBar::tab:bottom:selected { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + + /* Main BKGR, Main ORANGE */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 48, 48, 48 ), stop:0.88 rgb( 48, 48, 48 ), + stop:0.89 rgb( 225, 146, 46 )); + + border-top-color: transparent; + + margin-bottom: 0px; +} + +/* -- TexBro -- */ + +QTabBar::tab:top { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgb( 36, 36, 36 ); /* Tabs BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px 8px; /* space around [Text] */ + + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-top: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:top:hover { + color: rgb( 230, 230, 230 ); /* Main TEXT */ +} + +QTabBar::tab:top:selected { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + + /* Main ORANGE, Main BKGR */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 225, 146, 46 ), stop:0.12 rgb( 225, 146, 46 ), + stop:0.13 rgb( 48, 48, 48 )); + + border-bottom-color: transparent; + + margin-top: 0px; +} + +/* ---- QScrollArea (Container) + QPlainTextEdit (Input) ---------------------- +| | +| Inheritance: QWidget => QFrame => QAbstractScrollArea => QScrollArea | +| => QPlainTextEdit | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractScrollArea ---- */ + +/* This is where vert & horiz ScrollBars meet */ + +QAbstractScrollArea::corner { + background: none; + margin: 0px; + border: none; + padding: 0px; +} + +/* ---- QScrollArea ---- */ + +/* Used in: EI (4th panel) */ + +QScrollArea { + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ +} + +QScrollArea:hover { + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +/* There is a QWidget in top of QScrollArea */ + +QScrollArea .QWidget { + background: transparent; +} + +/* ---- QPlainTextEdit ---- */ + +/* Used in: EI (2nd panel), Console, About window */ + +QPlainTextEdit { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QPlainTextEdit:hover { + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +QPlainTextEdit:!active { + selection-color: rgb( 230, 230, 230 ); /* Main TEXT */ + selection-background-color: rgba( 255, 255, 255, 25% ); /* WHITE + Alpha */ +} + +/* ---- QHeaderView + QListView + QTableView + QTreeView (Item Views) --------- +| | +| Inheritance: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView => QHeaderView | +| => QListView | +| => QTableView | +| => QTreeView | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractItemView ---- */ + +QAbstractItemView { + qproperty-alternatingRowColors: 0; + /* qproperty-iconSize: 16px; */ + + paint-alternating-row-colors-for-empty-area: 0; + alternate-background-color: rgb( 57, 57, 57 ); /* Light BKGR -4 */ +} + +/* -- Indicator -- */ + +QAbstractItemView::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ +} + +QAbstractItemView::indicator:checked { + image: url(julius:themes/blenderdark/checkbox_checked.svg); +} + +QAbstractItemView::indicator:checked:selected { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:checked:pressed { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:checked:disabled { + image: url(julius:themes/blenderdark/checkbox_checked_disabled.svg); +} + +QAbstractItemView::indicator:unchecked { + image: url(julius:themes/blenderdark/checkbox_unchecked.svg); +} + +QAbstractItemView::indicator:unchecked:selected { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:pressed { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:disabled { + image: url(julius:themes/blenderdark/checkbox_unchecked_disabled.svg); +} + +/* ---- QHeaderView ---- */ + +/* Used in: Map Info, File Selector (right panel), bobToolz "Vis Viewer" + plugin */ + +/* This is the full Header row */ + +QHeaderView { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* -- Sections (Individual parts) -- */ + +QHeaderView::section { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px; + + padding-left: 4px; /* space before [Text] */ + padding-right: 16px; /* add space for [Arrow] */ +} + +QHeaderView::section:horizontal { + border-left-color: transparent; +} + +QHeaderView::section:vertical { + border-top-color: transparent; +} + +QHeaderView::section:horizontal:first { + border-left-color: rgb( 0, 0, 0 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:horizontal:last { + border-top-right-radius: 4px; +} + +QHeaderView::section:vertical:first { + border-top-color: rgb( 0, 0, 0 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:vertical:last { + border-bottom-left-radius: 4px; +} + +QHeaderView::section:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ +} + +/* -- Arrow -- */ + +QHeaderView::down-arrow { + image: url(julius:themes/blenderdark/arrow_up.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::up-arrow { + image: url(julius:themes/blenderdark/arrow_down.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::down-arrow:hover { + image: url(julius:themes/blenderdark/arrow_up_selected.svg); +} + +QHeaderView::up-arrow:hover { + image: url(julius:themes/blenderdark/arrow_down_selected.svg); +} + +/* ---- QListView ---- */ + +/* Used in: File Selector (left panel), BrushExport plugin */ + +QListView { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QListView:hover { + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +/* -- Items -- */ + +QListView::item { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + /* height: 0.90em; */ /* shrink items so they take up less space */ +} + +QListView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ +} + +QListView::item:selected { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QListView::item:selected:hover { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QListView::item:selected:!active { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ +} + +QListView::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QTableView ---- */ + +/* Used in: bobToolz "Vis Viewer" plugin */ + +QTableView { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: transparent; + selection-background-color: transparent; + + gridline-color: rgba( 0, 0, 0, 20% ); /* BLACK + Alpha */ +} + +QTableView:hover { + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +/* -- Corner Button -- */ + +QTableView QTableCornerButton::section { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-radius: 0x; + padding: 0px; +} + +/* -- Items -- */ + +QTableView::item { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 2px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; +} + +QTableView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ +} + +QTableView::item:selected { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QTableView::item:selected:hover { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QTableView::item:selected:!active { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ +} + +QTableView::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QTreeView ---- */ + +/* Used in: Preferences, EI (1st & 3rd panels), TexBro + ModelBro + LayersBro, + Map Info, Ent. List (Shift+L), File Selector (right panel) */ + +QTreeView { + qproperty-expandsOnDoubleClick: 1; /* enable double click in Items */ + qproperty-animated: 1; /* enable opening animation */ +} + +QTreeView { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 61, 61, 61 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 225, 146, 46 ); /* Main ORANGE */ + + show-decoration-selected: 0; /* selection covers [Text] only */ +} + +QTreeView:hover { + border-color: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ +} + +/* -- Items -- */ + +QTreeView::item { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + /* height: 0.90em; */ /* shrink items so they take up less space */ +} + +QTreeView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ +} + +QTreeView::item:selected { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QTreeView::item:selected:hover { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QTreeView::item:selected:!active { + /* color: rgb( 26, 26, 26 ); */ /* Dark TEXT */ + /* background: rgba( 225, 146, 46, 50% ); */ /* Main ORANGE + Alpha */ +} + +QTreeView::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* -- Branches -- */ + +/* border-image: 0 is equivalent to 0 0 0 0 (image slices), stretch is default */ + +QTreeView::branch:!has-children:has-siblings:!adjoins-item { + border-image: url(julius:themes/blenderdark/branch.svg) 0; +} + +QTreeView::branch:!has-children:has-siblings:adjoins-item { + border-image: url(julius:themes/blenderdark/branch_more.svg) 0; +} + +QTreeView::branch:!has-children:!has-siblings:adjoins-item { + border-image: url(julius:themes/blenderdark/branch_end.svg) 0; +} + +/* -- Branches (Arrows) -- */ + +/* has siblings = tiene hermanos */ +/* has children = tiene hijos */ +/* adjoins item = hay elemento adyacente */ + +QTreeView::branch:open:has-children:has-siblings { + border-image: url(julius:themes/blenderdark/tree_open.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings { + border-image: url(julius:themes/blenderdark/tree_open_end.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings { + border-image: url(julius:themes/blenderdark/tree_closed.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings { + border-image: url(julius:themes/blenderdark/tree_closed_end.svg) 0; +} + +/* hover state */ + +QTreeView::branch:open:has-children:has-siblings:hover { + border-image: url(julius:themes/blenderdark/tree_open_hover.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings:hover { + border-image: url(julius:themes/blenderdark/tree_open_end_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings:hover { + border-image: url(julius:themes/blenderdark/tree_closed_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings:hover { + border-image: url(julius:themes/blenderdark/tree_closed_end_hover.svg) 0; +} + +/* ---- QScrollBar (Input) ---------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +/* Main ScrollBar: QOpenGLWidget (TexBro & ModelBro) */ + +QScrollBar { + background: rgb( 64, 64, 64 ); /* same as QOpenGLWidget */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 2px; +} + +QScrollBar:vertical { + width: 12px; +} + +QScrollBar:horizontal { + height: 12px; +} + +/* Secondary ScrollBar: QAbstractScrollArea (QListView, QTreeView, etc.) */ + +QAbstractScrollArea QScrollBar { + background: rgb( 61, 61, 61 ); /* Light BKGR */ + padding: 0px; +} + +QAbstractScrollArea QScrollBar:vertical { + width: 8px; +} + +QAbstractScrollArea QScrollBar:horizontal { + height: 8px; +} + +/* -- Buttons (invisible) -- */ + +QScrollBar::sub-line, QScrollBar::add-line { + background: none; + margin: 0px; + border: none; + padding: 0px; + + subcontrol-origin: margin; +} + +QScrollBar::sub-line:vertical { + subcontrol-position: top; + height: 0px; +} + +QScrollBar::add-line:vertical { + subcontrol-position: bottom; + height: 0px; +} + +QScrollBar::sub-line:horizontal { + subcontrol-position: left; + width: 0px; +} + +QScrollBar::add-line:horizontal { + subcontrol-position: right; + width: 0px; +} + +/* -- Page Control (region between Handle & Buttons) -- */ + +QScrollBar::sub-page, QScrollBar::add-page { + background: transparent; /* I prefer it invisible */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QScrollBar::sub-page:vertical { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-bottom: -4px; +} + +QScrollBar::add-page:vertical { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-top: -4px; +} + +QScrollBar::sub-page:horizontal { + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + + margin-right: -4px; +} + +QScrollBar::add-page:horizontal { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + + margin-left: -4px; +} + +/* -- Handle -- */ + +QScrollBar::handle { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: none; + border-radius: 4px; + padding: 0px; +} + +QScrollBar::handle:vertical { + min-height: 32px; +} + +QScrollBar::handle:horizontal { + min-width: 32px; +} + +QScrollBar::handle:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ +} + +QScrollBar::handle:pressed { + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QScrollBar::handle:disabled { + background: transparent; /* invisible */ +} + +/* Recolor the Handle for QAbstractScrollArea */ + +QAbstractScrollArea QScrollBar::handle { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:hover { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:pressed { + /* placeholder */ +} + +/* ---- QSlider (Input) ------------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +QSlider { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSlider:horizontal { + height: 20px; +} + +QSlider:vertical { + width: 20px; +} + +/* -- Groove (I set it invisible) -- */ + +/* By default is same size as the QSlider. + It also sets Page Control size. */ + +QSlider::groove { + background: none; + margin: 0px; + border: 1px solid transparent; + border-radius: 2px; + padding: 0px; +} + +QSlider::groove:horizontal { + height: 4px; +} + +QSlider::groove:vertical { + width: 4px; +} + +/* -- Page Control (regions before and after the Handle) -- */ + +QSlider::sub-page:horizontal { + background: rgb( 225, 146, 46 ); /* Main ORANGE */ + margin-left: 8px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:horizontal { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin-right: 8px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:vertical { + background: rgb( 225, 146, 46 ); /* Main ORANGE */ + margin-bottom: 8px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:vertical { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin-top: 8px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:disabled { + background: rgba( 225, 146, 46, 50% ); /* Main ORANGE + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +QSlider::add-page:disabled { + background: rgba( 48, 48, 48, 50% ); /* Main BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* -- Handle -- */ + +/* Handle is placed by default on the contents rect of the Groove. + Use negative margins to set higher size than Groove. */ + +QSlider::handle:horizontal { + margin: -10px 0px; + width: 20px; +} + +QSlider::handle:vertical { + margin: 0px -10px; + height: 20px; +} + +QSlider::handle { + image: url(julius:themes/blenderdark/slider_handle.svg); +} + +QSlider::handle:hover, QSlider::handle:pressed { + image: url(julius:themes/blenderdark/slider_handle_hover.svg); +} + +QSlider::handle:disabled { + image: url(julius:themes/blenderdark/slider_handle_disabled.svg); +} + +/* ---- QCheckBox + QRadioButton (Buttons) ------------------------------------ +| | +| Inheritance: QWidget => QAbstractButton => QCheckBox | +| => QRadioButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QCheckBox ---- */ + +QCheckBox { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QCheckBox:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QCheckBox:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QCheckBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QCheckBox::indicator:checked { + image: url(julius:themes/blenderdark/checkbox_checked.svg); +} + +QCheckBox::indicator:checked:hover { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:checked:pressed { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:checked:disabled { + image: url(julius:themes/blenderdark/checkbox_checked_disabled.svg); +} + +QCheckBox::indicator:unchecked { + image: url(julius:themes/blenderdark/checkbox_unchecked.svg); +} + +QCheckBox::indicator:unchecked:hover { + image: url(julius:themes/blenderdark/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:unchecked:pressed { + image: url(julius:themes/blenderdark/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:unchecked:disabled { + image: url(julius:themes/blenderdark/checkbox_unchecked_disabled.svg); +} + +/* ---- QRadioButton ---- */ + +QRadioButton { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QRadioButton:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QRadioButton:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QRadioButton::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QRadioButton::indicator:checked { + image: url(julius:themes/blenderdark/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:hover { + image: url(julius:themes/blenderdark/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:checked:pressed { + image: url(julius:themes/blenderdark/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:disabled { + image: url(julius:themes/blenderdark/radiobutton_checked_disabled.svg); +} + +QRadioButton::indicator:unchecked { + image: url(julius:themes/blenderdark/radiobutton_unchecked.svg); +} + +QRadioButton::indicator:unchecked:hover { + image: url(julius:themes/blenderdark/radiobutton_unchecked_selected.svg); +} + +QRadioButton::indicator:unchecked:pressed { + image: url(julius:themes/blenderdark/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:unchecked:disabled { + image: url(julius:themes/blenderdark/radiobutton_unchecked_disabled.svg); +} + +/* ---- QPushButton + QToolButton (Buttons) ----------------------------------- +| | +| Inheritance: QWidget => QAbstractButton => QPushButton | +| => QToolButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractButton ---- */ + +/* +QAbstractButton { + qproperty-iconSize: 24px 24px; +} +*/ + +/* ---- QPushButton ---- */ + +QPushButton { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 4px; /* space around [Icon/Text] */ + + outline: none; + min-width: 3em; +} + +QPushButton:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QPushButton:pressed { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QPushButton:default { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 202, 130, 39 ); /* Dark ORANGE */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QPushButton:default:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QPushButton:default:pressed { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 202, 130, 39 ); /* Dark ORANGE */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QPushButton:!default:focus { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QPushButton:!default:focus:hover { + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QPushButton:!default:focus:pressed { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QPushButton:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgba( 84, 84, 84, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* ---- QToolButton ---- */ + +QToolButton { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Icon/Text] */ +} + +QToolButton:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QToolButton:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QToolButton:on { + background: rgb( 103, 80, 63 ); /* Button BKGR +50% Tint */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QToolButton:on:hover { + background: rgb( 122, 89, 61 ); /* Button BKGR (hover) +70% Tint */ + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QToolButton:on:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QToolButton:!on:focus { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QToolButton:!on:focus:hover { + border-color: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QToolButton:!on:focus:pressed { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QToolButton:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* ---- QSpinBox + QDoubleSpinBox (Input) ------------------------------------- +| | +| Inheritance: QWidget => QAbstractSpinBox => QSpinBox | +| => QDoubleSpinBox | +| | + ---------------------------------------------------------------------------- */ + +QAbstractSpinBox { + qproperty-alignment: AlignCenter; +} + +QSpinBox, QDoubleSpinBox { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 202, 130, 39 ); /* Dark ORANGE */ + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QSpinBox { + min-width: 2.5em; /* avoid too small SpinBox in some plugins */ +} + +QSpinBox:hover, QDoubleSpinBox:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 48, 48, 48 ); /* TextInput BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QSpinBox:focus, QDoubleSpinBox:focus { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QSpinBox:!active, QDoubleSpinBox:!active { + selection-color: rgb( 230, 230, 230 ); /* Light TEXT */ + selection-background-color: rgba( 255, 255, 255, 25% ); /* WHITE + Alpha */ +} + +QSpinBox:disabled, QDoubleSpinBox:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgba( 40, 40, 40, 50% ); /* TextInput BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* -- Buttons -- */ + +QSpinBox::up-button, QDoubleSpinBox::up-button { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ + + width: 0.85em; + height: 1.15em; +} + +QSpinBox::down-button, QDoubleSpinBox::down-button { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center left; /* top, BOTTOM, left, RIGHT, center */ + + width: 0.85em; + height: 1.15em; +} + +QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover { + background: rgb( 101, 101, 101 ); /* Button BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QSpinBox::up-button:pressed, QDoubleSpinBox::up-button:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: rgb( 0, 0, 0 ); /* Main BORDER */ +} + +QSpinBox::up-button:focus, QDoubleSpinBox::up-button:focus { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QSpinBox::down-button:focus, QDoubleSpinBox::down-button:focus { + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QSpinBox::up-button:disabled, QDoubleSpinBox::up-button:disabled { + background: rgba( 84, 84, 84, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +QSpinBox::down-button:disabled, QDoubleSpinBox::down-button:disabled { + background: rgba( 84, 84, 84, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* -- Arrows -- */ + +QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { + image: url(julius:themes/blenderdark/chevron_right.svg); + + subcontrol-origin: border; + subcontrol-position: center center; + + width: 0.95em; + height: 0.95em; +} + +QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { + image: url(julius:themes/blenderdark/chevron_left.svg); + + subcontrol-origin: border; + subcontrol-position: center center; + + width: 0.95em; + height: 0.95em; +} + +QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover { + image: url(julius:themes/blenderdark/chevron_right_hover.svg); +} + +QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { + image: url(julius:themes/blenderdark/chevron_left_hover.svg); +} + +QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { + image: url(julius:themes/blenderdark/chevron_right.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { + image: url(julius:themes/blenderdark/chevron_left.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { + image: url(julius:themes/blenderdark/chevron_right_disabled.svg); +} + +QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled { + image: url(julius:themes/blenderdark/chevron_left_disabled.svg); +} + +QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:off { + image: url(julius:themes/blenderdark/chevron_right_disabled.svg); +} + +QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:off { + image: url(julius:themes/blenderdark/chevron_left_disabled.svg); +} + +/* ---- QLineEdit (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QLineEdit | +| | + ---------------------------------------------------------------------------- */ + +QLineEdit { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 202, 130, 39 ); /* Dark ORANGE */ + + min-width: 2.80em; + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QLineEdit:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 48, 48, 48 ); /* TextInput BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QLineEdit:focus { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QLineEdit:!active { + selection-color: rgb( 230, 230, 230 ); /* Light TEXT */ + selection-background-color: rgba( 255, 255, 255, 25% ); /* WHITE + Alpha */ +} + +QLineEdit:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgba( 40, 40, 40, 50% ); /* TextInput BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* ---- QComboBox (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QComboBox | +| | +| Inheritance of the pop-up window: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView | +| | + ---------------------------------------------------------------------------- */ + +QComboBox { + color: rgb( 230, 230, 230 ); /* Light TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 202, 130, 39 ); /* Dark ORANGE */ + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QComboBox:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 48, 48, 48 ); /* TextInput BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QComboBox:focus { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 40, 40, 40 ); /* TextInput BKGR */ + border-color: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QComboBox:on:editable { /* ON when pop-up is open */ + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ + border-color: rgb( 25, 25, 25 ); /* Main BORDER (hover) */ +} + +QComboBox:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ + background: rgba( 40, 40, 40, 50% ); /* TextInput BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Disabled BORDER */ +} + +/* -- Button -- */ + +QComboBox::drop-down { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ + + width: 0.85em; +} + +/* -- Arrow -- */ + +QComboBox::down-arrow { + image: url(julius:themes/blenderdark/combo_arrow.svg); + + width: 0.95em; + height: 0.95em; +} + +QComboBox::down-arrow:hover { + image: url(julius:themes/blenderdark/combo_arrow_hover.svg); +} + +QComboBox::down-arrow:disabled { + image: url(julius:themes/blenderdark/combo_arrow_disabled.svg); +} + +/* -- Pop-up Frame -- */ + +QComboBox QAbstractItemView { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: rgb( 24, 24, 24 ); /* Menu BKGR */ + margin: 0px; + border: 1px solid rgb( 36, 36, 36 ); /* Menu BORDER */ + border-radius: 0px; + outline: none; + padding: 2px; /* space around [Content] */ + + /* Selected Item in the list of editable ComboBox */ + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 63, 63, 63 ); /* Menu Selected Item BKGR */ +} + +/* Avoid visible QListView:hover border */ + +QComboBox QAbstractItemView:hover { + border-color: rgb( 36, 36, 36 ); /* Menu BORDER */ +} + +/* -- Checkmark -- */ + +/* A checkmark is shown when using "QComboBox::item". This removes it and + the space it leaves. */ + +QComboBox::indicator { + image: none; /* remove the checkmark */ + + width: 0px; + height: 0px; +} + +QComboBox QAbstractItemView { + icon-size: 0px 0px; /* remove the space */ +} + +/* -- Items -- */ + +QComboBox::item { + color: rgb( 230, 230, 230 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + max-height: 1.0em; /* it takes full window height if not set */ +} + +QComboBox::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 63, 63, 63 ); /* Menu Selected Item BKGR */ +} + +QComboBox::item:checked { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 225, 146, 46 ); /* Main ORANGE */ +} + +QComboBox::item:checked:selected { + color: rgb( 26, 26, 26 ); /* Dark TEXT */ + background: rgb( 250, 168, 64 ); /* Light ORANGE */ +} + +QComboBox::item:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled TEXT */ +} + +/* ---- QSizeGrip ( ) --------------------------------------------------------- +| | +| Inheritance: QWidget => QSizeGrip | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Select Font window */ + +QSizeGrip { + background: transparent; + image: url(julius:themes/blenderdark/resize_handle.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ +} + +/* ---- Linux ------------------------------------------------------------------ +| | +| NOTE: File Selector of KDE is a QDialog window with these widgets: | +| | +| - QListView (left panel). | +| - QSplitter (vertical). | +| - QToolBar + QToolButton + QSlider. | +| - File path; no idea what widget is. | +| - QTreeView + QHeaderView (right panel). | +| - QLabel (2x just before QComboBox). | +| - QComboBox (2x at the bottom). | +| - QPushButton (2x at the bottom). | +| | + ---------------------------------------------------------------------------- */ + +/* Remove Icons in File Selector buttons (Open, Save, Cancel, etc.) */ + +QDialog QPushButton { + icon: none; +} + +/* EOF ------------------------------- EOF ------------------------------ EOF */ diff --git a/setup/data/tools/themes/blenderdark/arrow_down.svg b/setup/data/tools/themes/blenderdark/arrow_down.svg new file mode 100644 index 00000000..8b9e1098 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_down.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_down_selected.svg b/setup/data/tools/themes/blenderdark/arrow_down_selected.svg new file mode 100644 index 00000000..7b6ddac8 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_down_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_left.svg b/setup/data/tools/themes/blenderdark/arrow_left.svg new file mode 100644 index 00000000..cef8dd47 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_left.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_left_selected.svg b/setup/data/tools/themes/blenderdark/arrow_left_selected.svg new file mode 100644 index 00000000..9e107327 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_left_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_right.svg b/setup/data/tools/themes/blenderdark/arrow_right.svg new file mode 100644 index 00000000..e7c97c0b --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_right.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_right_selected.svg b/setup/data/tools/themes/blenderdark/arrow_right_selected.svg new file mode 100644 index 00000000..0da6ea58 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_right_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_up.svg b/setup/data/tools/themes/blenderdark/arrow_up.svg new file mode 100644 index 00000000..e7e902d3 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_up.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/arrow_up_selected.svg b/setup/data/tools/themes/blenderdark/arrow_up_selected.svg new file mode 100644 index 00000000..9d17bf58 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/arrow_up_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/branch.svg b/setup/data/tools/themes/blenderdark/branch.svg new file mode 100644 index 00000000..c3b5fd50 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/branch.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/branch_end.svg b/setup/data/tools/themes/blenderdark/branch_end.svg new file mode 100644 index 00000000..90e89924 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/branch_end.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/branch_more.svg b/setup/data/tools/themes/blenderdark/branch_more.svg new file mode 100644 index 00000000..b7d002b8 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/branch_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_checked.svg b/setup/data/tools/themes/blenderdark/checkbox_checked.svg new file mode 100644 index 00000000..24005974 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_checked_disabled.svg b/setup/data/tools/themes/blenderdark/checkbox_checked_disabled.svg new file mode 100644 index 00000000..52deed2a --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_checked_selected.svg b/setup/data/tools/themes/blenderdark/checkbox_checked_selected.svg new file mode 100644 index 00000000..cc96bced --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_unchecked.svg b/setup/data/tools/themes/blenderdark/checkbox_unchecked.svg new file mode 100644 index 00000000..48c13809 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_unchecked_disabled.svg b/setup/data/tools/themes/blenderdark/checkbox_unchecked_disabled.svg new file mode 100644 index 00000000..2a544a94 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/checkbox_unchecked_selected.svg b/setup/data/tools/themes/blenderdark/checkbox_unchecked_selected.svg new file mode 100644 index 00000000..4f342ca1 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/checkbox_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_left.svg b/setup/data/tools/themes/blenderdark/chevron_left.svg new file mode 100644 index 00000000..b86ad9e6 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_left.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_left_disabled.svg b/setup/data/tools/themes/blenderdark/chevron_left_disabled.svg new file mode 100644 index 00000000..0ec0a2af --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_left_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_left_hover.svg b/setup/data/tools/themes/blenderdark/chevron_left_hover.svg new file mode 100644 index 00000000..efcb868a --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_left_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_right.svg b/setup/data/tools/themes/blenderdark/chevron_right.svg new file mode 100644 index 00000000..b57c32c4 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_right.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_right_disabled.svg b/setup/data/tools/themes/blenderdark/chevron_right_disabled.svg new file mode 100644 index 00000000..04509d5d --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_right_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/chevron_right_hover.svg b/setup/data/tools/themes/blenderdark/chevron_right_hover.svg new file mode 100644 index 00000000..3b01969e --- /dev/null +++ b/setup/data/tools/themes/blenderdark/chevron_right_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/combo_arrow.svg b/setup/data/tools/themes/blenderdark/combo_arrow.svg new file mode 100644 index 00000000..126e44a5 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/combo_arrow.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/combo_arrow_disabled.svg b/setup/data/tools/themes/blenderdark/combo_arrow_disabled.svg new file mode 100644 index 00000000..a0138d46 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/combo_arrow_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/combo_arrow_hover.svg b/setup/data/tools/themes/blenderdark/combo_arrow_hover.svg new file mode 100644 index 00000000..d7d01ba6 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/combo_arrow_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/menu_more.svg b/setup/data/tools/themes/blenderdark/menu_more.svg new file mode 100644 index 00000000..0c955cd6 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/menu_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_checked.svg b/setup/data/tools/themes/blenderdark/radiobutton_checked.svg new file mode 100644 index 00000000..630989ed --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_checked_disabled.svg b/setup/data/tools/themes/blenderdark/radiobutton_checked_disabled.svg new file mode 100644 index 00000000..01099ade --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_checked_selected.svg b/setup/data/tools/themes/blenderdark/radiobutton_checked_selected.svg new file mode 100644 index 00000000..9aa70c29 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_unchecked.svg b/setup/data/tools/themes/blenderdark/radiobutton_unchecked.svg new file mode 100644 index 00000000..41a45d8c --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_unchecked_disabled.svg b/setup/data/tools/themes/blenderdark/radiobutton_unchecked_disabled.svg new file mode 100644 index 00000000..b74bb3eb --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/radiobutton_unchecked_selected.svg b/setup/data/tools/themes/blenderdark/radiobutton_unchecked_selected.svg new file mode 100644 index 00000000..f79158b5 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/radiobutton_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/resize_handle.svg b/setup/data/tools/themes/blenderdark/resize_handle.svg new file mode 100644 index 00000000..713ee9f3 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/resize_handle.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/slider_handle.svg b/setup/data/tools/themes/blenderdark/slider_handle.svg new file mode 100644 index 00000000..4776da17 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/slider_handle.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/slider_handle_disabled.svg b/setup/data/tools/themes/blenderdark/slider_handle_disabled.svg new file mode 100644 index 00000000..a757f11d --- /dev/null +++ b/setup/data/tools/themes/blenderdark/slider_handle_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/slider_handle_hover.svg b/setup/data/tools/themes/blenderdark/slider_handle_hover.svg new file mode 100644 index 00000000..242a8fdd --- /dev/null +++ b/setup/data/tools/themes/blenderdark/slider_handle_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/splitter_handle_horiz.svg b/setup/data/tools/themes/blenderdark/splitter_handle_horiz.svg new file mode 100644 index 00000000..6b440d20 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/splitter_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/splitter_handle_vert.svg b/setup/data/tools/themes/blenderdark/splitter_handle_vert.svg new file mode 100644 index 00000000..e691b844 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/splitter_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/toolbar_handle_horiz.svg b/setup/data/tools/themes/blenderdark/toolbar_handle_horiz.svg new file mode 100644 index 00000000..0c955cd6 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/toolbar_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/toolbar_handle_vert.svg b/setup/data/tools/themes/blenderdark/toolbar_handle_vert.svg new file mode 100644 index 00000000..23b06971 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/toolbar_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_closed.svg b/setup/data/tools/themes/blenderdark/tree_closed.svg new file mode 100644 index 00000000..20faa859 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_closed.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_closed_end.svg b/setup/data/tools/themes/blenderdark/tree_closed_end.svg new file mode 100644 index 00000000..d259489f --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_closed_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_closed_end_hover.svg b/setup/data/tools/themes/blenderdark/tree_closed_end_hover.svg new file mode 100644 index 00000000..a47a354c --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_closed_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_closed_hover.svg b/setup/data/tools/themes/blenderdark/tree_closed_hover.svg new file mode 100644 index 00000000..80e04d6f --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_closed_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_open.svg b/setup/data/tools/themes/blenderdark/tree_open.svg new file mode 100644 index 00000000..3429795f --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_open.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_open_end.svg b/setup/data/tools/themes/blenderdark/tree_open_end.svg new file mode 100644 index 00000000..17993a52 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_open_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_open_end_hover.svg b/setup/data/tools/themes/blenderdark/tree_open_end_hover.svg new file mode 100644 index 00000000..7c57d827 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_open_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderdark/tree_open_hover.svg b/setup/data/tools/themes/blenderdark/tree_open_hover.svg new file mode 100644 index 00000000..73138e66 --- /dev/null +++ b/setup/data/tools/themes/blenderdark/tree_open_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight.qss b/setup/data/tools/themes/blenderlight.qss new file mode 100644 index 00000000..d08c56c2 --- /dev/null +++ b/setup/data/tools/themes/blenderlight.qss @@ -0,0 +1,2293 @@ +/* ---------------------------------------------------------------------------- + + NAME: "BlenderLight" Style Sheet + VERSION: 1.0 + LICENSE: GPL v2 + + ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. + + AUTHOR: Julius aka Julio César (juliocesar2k7@gmail.com) + DATE: Started in September 2025 + + ---------------------------------------------------------------------------- */ + +/* ---- ALL WIDGETS ----------------------------------------------------------- +| | +| This RESETS the properties of ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +/* +* { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + outline: none; + padding: 0px; + + spacing: 0px; +} +*/ + +/* ---- QWidget (Container) --------------------------------------------------- +| | +| Inheritance: none | +| | +| Inherited by: ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +QWidget { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* ---- QFrame (Container) ---------------------------------------------------- +| | +| Inheritance: QWidget => QFrame | +| | +| Inherited by: QLabel, QSplitter, QStackedWidget | +| QAbstractScrollArea (QScrollArea, QPlainTextEdit) | +| QAbstractItemView (QHeaderView, QListView, QTreeView) | +| plus some other widgets not themed here. | +| | + ---------------------------------------------------------------------------- */ + +/* QFrame as separator (HLine frameShape) */ + +.QFrame { + background: transparent; + margin: 0px; + border-top: 2px dashed rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ + border-radius: 0px; + padding: 0px; +} + +/* ---- QToolTip (Container) -------------------------------------------------- +| | +| Inheritance: QWidget => QToolTip (QToolTip is a QFrame) | +| | + ---------------------------------------------------------------------------- */ + +QToolTip { + color: rgb( 230, 230, 230 ); /* Light TEXT */ + background: rgb( 25, 25, 25 ); /* ToolTip BKGR */ + margin: 0px; + border: 1px solid rgb( 15, 15, 15 ); /* ToolTip BORDER */ + border-radius: 0px; + padding: 0px 0px; + + opacity: 240; + /* font-style: italic; */ +} + +/* ---- QLabel (Display) ------------------------------------------------------ +| | +| Inheritance: QWidget => QFrame => QLabel | +| | + ---------------------------------------------------------------------------- */ + +QLabel { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin:0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QLabel::disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* ---- QDialog + QMessageBox + QDialogButtonBox (Container) ------------------ +| | +| Inheritance: QWidget => QDialog | +| QWidget => QDialog => QMessageBox | +| QWidget => QDialogButtonBox | +| | +| NOTE: Button Layout: 0=Windows, 1=MacOS, 2=KDE, 3=GNOME, 5=Android | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences BKGR, Surface Inspector, TexBro (Find/Replace), + Map Info, File Selector, etc. */ + +QDialog { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Open Map (warning) and other message windows */ + +QMessageBox { + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Windows with standard buttons (OK, CANCEL, etc.) */ + +QDialogButtonBox { + dialogbuttonbox-buttons-have-icons: 0; /* remove Icons */ + /* button-layout: 0; */ /* Windows layout */ +} + +/* ---- QGroupBox (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QGroupBox | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences (right panel), SI (buttons zone), About window, + Buil Menu (Editor), Plugins (many of them) */ + +QGroupBox { + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content] */ + + outline: none; /* visible in focused [Title] */ + + margin-top: 1.10em; /* add space for [Title] */ +} + +QGroupBox:off, QGroupBox:disabled { + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* -- Title -- */ + +QGroupBox::title { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; /* space around [Indicator+Text] */ + + subcontrol-origin: margin; /* margin, border, PADDING, content */ + subcontrol-position: top left; /* top, bottom, left, right, center */ + + spacing: 2px; /* space between [Indicator] & [Text] */ +} + +QGroupBox::title:hover { + /* placeholder */ +} + +QGroupBox::title:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* -- CheckBox -- */ + +QGroupBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QGroupBox::indicator:checked { + image: url(julius:themes/blenderlight/checkbox_checked.svg); +} + +QGroupBox::indicator:checked:hover { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:checked:pressed { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:checked:disabled { + image: url(julius:themes/blenderlight/checkbox_checked_disabled.svg); +} + +QGroupBox::indicator:unchecked { + image: url(julius:themes/blenderlight/checkbox_unchecked.svg); +} + +QGroupBox::indicator:unchecked:hover { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:unchecked:pressed { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:unchecked:disabled { + image: url(julius:themes/blenderlight/checkbox_unchecked_disabled.svg); +} + +/* ---- QMainWindow (Layout) -------------------------------------------------- +| | +| Inheritance: QWidget => QMainWindow | +| | +| | +| - Main widgets layout of NRC is this: | +| | +| QMainWindow + QMenuBar + QMenu + QToolBar + QStatusBar + QSplitter | +| | +| - BKGR of QMainWindow is visible in layout2 (floating windows). Its color | +| is inherited by QSplitter & QStatusBar if not set there. It is also | +| visible in the corners of the Console. | +| | +| - ToolBar's Icon size can be set here (overriding system size). | +| | +| It doesn't work for TexBro & ModelBro ToolBars because they are not | +| children of QMainWindow (they are QSplitter's children). | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* icon-size: 24px 24px; */ +} + +/* ---- QMenuBar -------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenuBar | +| | + ---------------------------------------------------------------------------- */ + +QMenuBar { + background: rgb( 153, 153, 153 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + spacing: 2px; /* space between [Items] */ +} + +QMenuBar::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 2px 0px; + border: 1px solid transparent; + border-radius: 4px; + padding: 0px 6px; /* space around [Text] */ + + padding-bottom: 1px; +} + +QMenuBar::item:selected, QMenuBar::item:pressed { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QMenuBar::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* ---- QMenu ----------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenu | +| | + ---------------------------------------------------------------------------- */ + +QMenu { + /* qproperty-separatorsCollapsible: 0; */ + /* qproperty-toolTipsVisible: 0; */ +} + +QMenu { + background: rgb( 192, 192, 192 ); /* Menu BKGR */ + margin: 0px; + border: 1px solid rgb( 166, 166, 166 ); /* Menu BORDER */ + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + menu-scrollable: 1; /* enable Overflow Scroller */ +} + +QMenu::separator { + background: rgb( 172, 172, 172 ); /* Menu SEPARATOR */ + margin: 2px 6px; + height: 1px; +} + +QMainWindow > QMenu { + menu-scrollable: 0; /* disable Scroller for ToolBar right-click menu */ +} + +/* -- Item -- */ + +QMenu::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 1px 0px; /* space around [Item] rows */ + border: none; + border-radius: 4px; + + padding: 0px 20px 1px 11px; /* space around [Text+Mnemonic] */ + + /* NOTE: Added extra space for Icon & Arrow */ +} + +QMenu::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 26, 26, 26 ); /* Menu Selected BKGR */ +} + +QMenu::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + + font-style: italic; +} + +/* -- Icon -- */ + +QMenu::icon { + background: rgba( 255, 255, 255, 35% ); /* WHITE + Alpha */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 2px; + padding: 1px; /* space around [Icon] */ + + position: absolute; + left: 6px; + + /* NOTE: QMenu Icon size is not adjustable from stylesheet */ +} + +QMenu::icon:checked { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QMenu::icon:!checked:selected { + background: rgba( 255, 255, 255, 83% ); /* WHITE + Alpha */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QMenu::icon:checked:selected { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QMenu::icon:!checked:pressed { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QMenu::icon:checked:pressed { + background: rgba( 255, 255, 255, 83% ); /* WHITE + Alpha */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +/* -- Arrow -- */ + +QMenu::right-arrow { + image: url(julius:themes/blenderlight/arrow_right.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + position: absolute; + right: 2px; +} + +QMenu::right-arrow:selected { + image: url(julius:themes/blenderlight/arrow_right_selected.svg); +} + +/* -- Indicator -- */ + +QMenu::indicator { + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ + + position: absolute; + left: 6px; + + /* NOTE: Larger size (24px) is causing Text misaligning */ +} + +/* CheckBox */ + +QMenu::indicator:non-exclusive:checked { + image: url(julius:themes/blenderlight/checkbox_checked.svg); +} + +QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:pressed { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:disabled { + image: url(julius:themes/blenderlight/checkbox_checked_disabled.svg); +} + +QMenu::indicator:non-exclusive:unchecked { + image: url(julius:themes/blenderlight/checkbox_unchecked.svg); +} + +QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:pressed { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:disabled { + image: url(julius:themes/blenderlight/checkbox_unchecked_disabled.svg); +} + +/* RadioButton */ + +QMenu::indicator:exclusive:checked { + image: url(julius:themes/blenderlight/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:selected { + image: url(julius:themes/blenderlight/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:checked:pressed { + image: url(julius:themes/blenderlight/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:disabled { + image: url(julius:themes/blenderlight/radiobutton_checked_disabled.svg); +} + +QMenu::indicator:exclusive:unchecked { + image: url(julius:themes/blenderlight/radiobutton_unchecked.svg); +} + +QMenu::indicator:exclusive:unchecked:selected { + image: url(julius:themes/blenderlight/radiobutton_unchecked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:pressed { + image: url(julius:themes/blenderlight/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:disabled { + image: url(julius:themes/blenderlight/radiobutton_unchecked_disabled.svg); +} + +/* -- Tear Off -- */ + +QMenu::tearoff { + background: transparent; + margin: 2px 5px 3px 5px; + border-top: 2px dashed rgb( 172, 172, 172 ); /* like Menu SEPARATOR */ + + height: 2px; +} + +QMenu::tearoff:selected { + border-color: rgb( 97, 97, 97 ); /* like Menu Arrow */ +} + +/* -- Scroller -- */ + +/* This sub-control has no pseudo-states (hover, etc.) */ + +QMenu::scroller { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + margin-top: 4px; + + image: url(julius:themes/blenderlight/menu_more.svg); + + height: 8px; +} + +/* -- Trickery for ToolBar right-click menu -- */ + +/* Problem: after pressing an item, the "selected" state looks like inverting + checked/unchecked states. + + Solution: removing "pressed" state or prioritizing "selected" over it + (by stylesheet order), so that "pressed" state will never be displayed. */ + +QMainWindow > QMenu::icon:!checked:selected { + background: rgba( 255, 255, 255, 83% ); /* WHITE + Alpha */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QMainWindow > QMenu::icon:checked:selected { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QMainWindow > QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QMainWindow > QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +/* ---- QToolBar (Container) + QToolButton (Buttons) -------------------------- +| | +| Inheritance: QWidget => QToolBar | +| QWidget => QAbstractButton => QToolButton | +| | +| | +| - qproperty-iconSize: 32px; | +| | +| This will affect all ToolBars and will also propagate to all Themes, | +| so it is better to set it in QMainWindow (icon-size: 32px) | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + icon-size: 24px 24px; +} + +/* ---- QToolBar ---- */ + +QToolBar { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + spacing: 1px; /* space between [Buttons] */ +} + +QToolBar::separator:horizontal { + background: transparent; + width: 8px; +} + +QToolBar::separator:vertical { + background: transparent; + height: 8px; +} + +QToolBar::handle:horizontal { + image: url(julius:themes/blenderlight/toolbar_handle_vert.svg); + padding-right: 2px; /* a bit of separation */ + + width: 8px; +} + +QToolBar::handle:vertical { + image: url(julius:themes/blenderlight/toolbar_handle_horiz.svg); + padding-bottom: 2px; /* a bit of separation */ + + height: 8px; +} + +/* ---- QToolButton ---- */ + +QToolBar QToolButton { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); + border-radius: 2px; + + padding: 3px; /* space around [Icon] */ +} + +QToolBar QToolButton:hover { + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QToolBar QToolButton:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolBar QToolButton:on { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolBar QToolButton:on:hover { + background: rgb( 255, 255, 255 ); /* WHITE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QToolBar QToolButton:on:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolBar QToolButton:disabled { + background: rgba( 0, 0, 0, 10% ); /* BLACK + Alpha */ + border-color: transparent; +} + +/* Secondary ToolBar (TexBro & ModelBro) */ + +QSplitter QToolBar { + padding: 2px; /* half size of main ToolBar */ +} + +QSplitter QToolBar QToolButton { + /* placeholder */ +} + +/* ---- QStatusBar (Container) ------------------------------------------------ +| | +| Inheritance: QWidget => QStatusBar | +| | + ---------------------------------------------------------------------------- */ + +QStatusBar { + background: rgb( 153, 153, 153 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* min-height: 28px; */ +} + +QStatusBar .QWidget { /* this is Icons zone */ + background: transparent; +} + +QStatusBar QLabel { + color: rgb( 26, 26, 26 ); /* Main TEXT */ +} + +/* ---- QSplitter (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QFrame => QSplitter | +| | +| | +| - Keep in mind that QSplitter supports any property such as margin, | +| border, padding, etc., so I set all of them to zero. | +| | +| The handle is simply a visible sub-control of this widget. In fact, the | +| handle is the whole separator bar. | +| | + ---------------------------------------------------------------------------- */ + +QSplitter { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSplitter::handle:horizontal { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + image: url(julius:themes/blenderlight/splitter_handle_vert.svg); + + width: 4px; +} + +QSplitter::handle:vertical { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + image: url(julius:themes/blenderlight/splitter_handle_horiz.svg); + + height: 4px; +} + +/* ---- QTabWidget (Container) (+ QTabBar + QStackedWidget)-------------------- +| | +| Inheritance: QWidget => QTabWidget | +| => QTabBar | +| | +| QWidget => QFrame => QStackedWidget | +| | +| NOTE: Most of the functionality in QTabWidget is provided by a QTabBar | +| (at the top, providing the tabs) and a QStackedWidget (most of the | +| area, organizing the individual pages). | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: EI, TexBro, Plugins (bobToolz) */ + +QTabWidget { + qproperty-documentMode: 0; /* 0 = render the widget frame */ + qproperty-elideMode: ElideNone; /* ElideLeft | ElideRight | ElideMiddle | ElideNone */ + qproperty-movable: 1; /* drag and reorganize individual Tabs */ + qproperty-tabBarAutoHide: 1; /* Tab Bar hidden if less than 2 Tabs */ + qproperty-usesScrollButtons: 0; /* don't show overflow buttons */ +} + +/* Full widget frame (EI) */ + +QTabWidget::pane:bottom { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 2px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-bottom-left-radius: 0px; +} + +/* Full widget frame (TexBro) */ + +QTabWidget::pane:top { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin: 2px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-top-left-radius: 0px; +} + +/* Tabs Bar position (EI) */ + +QTabWidget::tab-bar:bottom { + subcontrol-position: left center; + + left: 2px; + bottom: 3px; /* move it up */ +} + +/* Tabs Bar position (TexBro) */ + +QTabWidget::tab-bar:top { + subcontrol-position: left center; + + left: 2px; + top: 3px; /* move it down */ +} + +/* ---- Tabs ---- */ + +QTabBar { + background: rgb( 179, 179, 179 ); /* Main BKGR */ +} + +/* -- EI -- */ + +QTabBar::tab:bottom { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgb( 153, 153, 153 ); /* Dark BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px 8px; /* space around [Text] */ + + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-bottom: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:bottom:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ +} + +QTabBar::tab:bottom:selected { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + + /* Main BKGR, Main BLUE */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 179, 179, 179 ), stop:0.88 rgb( 179, 179, 179 ), + stop:0.89 rgb( 86, 128, 194 )); + + border-top-color: transparent; + + margin-bottom: 0px; +} + +/* -- TexBro -- */ + +QTabBar::tab:top { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgb( 153, 153, 153 ); /* Dark BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px 8px; /* space around [Text] */ + + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-top: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:top:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ +} + +QTabBar::tab:top:selected { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + + /* Main BLUE, Main BKGR */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 86, 128, 194 ), stop:0.12 rgb( 86, 128, 194 ), + stop:0.13 rgb( 179, 179, 179 )); + + border-bottom-color: transparent; + + margin-top: 0px; +} + +/* ---- QScrollArea (Container) + QPlainTextEdit (Input) ---------------------- +| | +| Inheritance: QWidget => QFrame => QAbstractScrollArea => QScrollArea | +| => QPlainTextEdit | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractScrollArea ---- */ + +/* This is where vert & horiz ScrollBars meet */ + +QAbstractScrollArea::corner { + background: none; + margin: 0px; + border: none; + padding: 0px; +} + +/* ---- QScrollArea ---- */ + +/* Used in: EI (4th panel) */ + +QScrollArea { + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ +} + +QScrollArea:hover { + border-color: rgb( 100, 160, 255 ); /* BLUE 2 */ +} + +/* There is a QWidget in top of QScrollArea */ + +QScrollArea .QWidget { + background: transparent; +} + +/* ---- QPlainTextEdit ---- */ + +/* Used in: EI (2nd panel), Console, About window */ + +QPlainTextEdit { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QPlainTextEdit:hover { + border-color: rgb( 100, 160, 255 ); /* BLUE 2 */ +} + +QPlainTextEdit:!active { + selection-color: rgb( 230, 230, 230 ); /* Light TEXT */ + selection-background-color: rgba( 0, 0, 0, 25% ); /* BLACK + Alpha */ +} + +/* ---- QHeaderView + QListView + QTableView + QTreeView (Item Views) --------- +| | +| Inheritance: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView => QHeaderView | +| => QListView | +| => QTableView | +| => QTreeView | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractItemView ---- */ + +QAbstractItemView { + qproperty-alternatingRowColors: 0; + /* qproperty-iconSize: 16px; */ + + paint-alternating-row-colors-for-empty-area: 0; + alternate-background-color: rgb( 198, 198, 198 ); /* Light BKGR -6 */ +} + +/* -- Indicator -- */ + +QAbstractItemView::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ +} + +QAbstractItemView::indicator:checked { + image: url(julius:themes/blenderlight/checkbox_checked.svg); +} + +QAbstractItemView::indicator:checked:selected { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:checked:pressed { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:checked:disabled { + image: url(julius:themes/blenderlight/checkbox_checked_disabled.svg); +} + +QAbstractItemView::indicator:unchecked { + image: url(julius:themes/blenderlight/checkbox_unchecked.svg); +} + +QAbstractItemView::indicator:unchecked:selected { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:pressed { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:disabled { + image: url(julius:themes/blenderlight/checkbox_unchecked_disabled.svg); +} + +/* ---- QHeaderView ---- */ + +/* Used in: Map Info, File Selector (right panel), bobToolz "Vis Viewer" + plugin */ + +/* This is the full Header row */ + +QHeaderView { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* -- Sections (Individual parts) -- */ + +QHeaderView::section { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px; + + padding-left: 4px; /* space before [Text] */ + padding-right: 16px; /* add space for [Arrow] */ +} + +QHeaderView::section:horizontal { + border-left-color: transparent; +} + +QHeaderView::section:vertical { + border-top-color: transparent; +} + +QHeaderView::section:horizontal:first { + border-left-color: rgb( 77, 77, 77 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:horizontal:last { + border-top-right-radius: 4px; +} + +QHeaderView::section:vertical:first { + border-top-color: rgb( 77, 77, 77 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:vertical:last { + border-bottom-left-radius: 4px; +} + +QHeaderView::section:hover { + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ +} + +/* -- Arrow -- */ + +QHeaderView::down-arrow { + image: url(julius:themes/blenderlight/arrow_up.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::up-arrow { + image: url(julius:themes/blenderlight/arrow_down.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::down-arrow:hover { + image: url(julius:themes/blenderlight/arrow_up_selected.svg); +} + +QHeaderView::up-arrow:hover { + image: url(julius:themes/blenderlight/arrow_down_selected.svg); +} + +/* ---- QListView ---- */ + +/* Used in: File Selector (left panel), BrushExport plugin */ + +QListView { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QListView:hover { + border-color: rgb( 100, 160, 255 ); /* BLUE 2 */ +} + +/* -- Items -- */ + +QListView::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + /* height: 0.90em; */ /* shrink items so they take up less space */ +} + +QListView::item:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 179, 179, 179 ); /* Main BKGR */ +} + +QListView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QListView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 122, 162, 225 ); /* Light BLUE */ +} + +QListView::item:selected:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ +} + +QListView::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* ---- QTableView ---- */ + +/* Used in: bobToolz "Vis Viewer" plugin */ + +QTableView { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: transparent; + selection-background-color: transparent; + + gridline-color: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ +} + +QTableView:hover { + border-color: rgb( 100, 160, 255 ); /* BLUE 2 */ +} + +/* -- Corner Button -- */ + +QTableView QTableCornerButton::section { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-radius: 0x; + padding: 0px; +} + +/* -- Items -- */ + +QTableView::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 2px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; +} + +QTableView::item:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 179, 179, 179 ); /* Main BKGR */ +} + +QTableView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QTableView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 122, 162, 225 ); /* Light BLUE */ +} + +QTableView::item:selected:!active { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ +} + +QTableView::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* ---- QTreeView ---- */ + +/* Used in: Preferences, EI (1st & 3rd panels), TexBro + ModelBro + LayersBro, + Map Info, Ent. List (Shift+L), File Selector (right panel) */ + +QTreeView { + qproperty-expandsOnDoubleClick: 1; /* enable double click in Items */ + qproperty-animated: 1; /* enable opening animation */ +} + +QTreeView { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ + + show-decoration-selected: 0; /* selection covers [Text] only */ +} + +QTreeView:hover { + border-color: rgb( 100, 160, 255 ); /* BLUE 2 */ +} + +/* -- Items -- */ + +QTreeView::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + /* height: 0.90em; */ /* shrink items so they take up less space */ +} + +QTreeView::item:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 179, 179, 179 ); /* Main BKGR */ +} + +QTreeView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QTreeView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 122, 162, 225 ); /* Light BLUE */ +} + +QTreeView::item:selected:!active { + /* color: rgb( 255, 255, 255 ); */ /* Selected TEXT */ + /* background: rgba( 86, 128, 194, 50% ); */ /* Main BLUE + Alpha */ +} + +QTreeView::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* -- Branches -- */ + +/* border-image: 0 is equivalent to 0 0 0 0 (image slices), stretch is default */ + +QTreeView::branch:!has-children:has-siblings:!adjoins-item { + border-image: url(julius:themes/blenderlight/branch.svg) 0; +} + +QTreeView::branch:!has-children:has-siblings:adjoins-item { + border-image: url(julius:themes/blenderlight/branch_more.svg) 0; +} + +QTreeView::branch:!has-children:!has-siblings:adjoins-item { + border-image: url(julius:themes/blenderlight/branch_end.svg) 0; +} + +/* -- Branches (Arrows) -- */ + +/* has siblings = tiene hermanos */ +/* has children = tiene hijos */ +/* adjoins item = hay elemento adyacente */ + +QTreeView::branch:open:has-children:has-siblings { + border-image: url(julius:themes/blenderlight/tree_open.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings { + border-image: url(julius:themes/blenderlight/tree_open_end.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings { + border-image: url(julius:themes/blenderlight/tree_closed.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings { + border-image: url(julius:themes/blenderlight/tree_closed_end.svg) 0; +} + +/* hover state */ + +QTreeView::branch:open:has-children:has-siblings:hover { + border-image: url(julius:themes/blenderlight/tree_open_hover.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings:hover { + border-image: url(julius:themes/blenderlight/tree_open_end_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings:hover { + border-image: url(julius:themes/blenderlight/tree_closed_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings:hover { + border-image: url(julius:themes/blenderlight/tree_closed_end_hover.svg) 0; +} + +/* ---- QScrollBar (Input) ---------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +/* Main ScrollBar: QOpenGLWidget (TexBro & ModelBro) */ + +QScrollBar { + background: rgb( 64, 64, 64 ); /* same as QOpenGLWidget */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 2px; +} + +QScrollBar:vertical { + width: 12px; +} + +QScrollBar:horizontal { + height: 12px; +} + +/* Secondary ScrollBar: QAbstractScrollArea (QListView, QTreeView, etc.) */ + +QAbstractScrollArea QScrollBar { + background: rgb( 204, 204, 204 ); /* Light BKGR */ + padding: 0px; +} + +QAbstractScrollArea QScrollBar:vertical { + width: 8px; +} + +QAbstractScrollArea QScrollBar:horizontal { + height: 8px; +} + +/* -- Buttons (invisible) -- */ + +QScrollBar::sub-line, QScrollBar::add-line { + background: none; + margin: 0px; + border: none; + padding: 0px; + + subcontrol-origin: margin; +} + +QScrollBar::sub-line:vertical { + subcontrol-position: top; + height: 0px; +} + +QScrollBar::add-line:vertical { + subcontrol-position: bottom; + height: 0px; +} + +QScrollBar::sub-line:horizontal { + subcontrol-position: left; + width: 0px; +} + +QScrollBar::add-line:horizontal { + subcontrol-position: right; + width: 0px; +} + +/* -- Page Control (region between Handle & Buttons) -- */ + +QScrollBar::sub-page, QScrollBar::add-page { + background: transparent; /* I prefer it invisible */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QScrollBar::sub-page:vertical { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-bottom: -4px; +} + +QScrollBar::add-page:vertical { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-top: -4px; +} + +QScrollBar::sub-page:horizontal { + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + + margin-right: -4px; +} + +QScrollBar::add-page:horizontal { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + + margin-left: -4px; +} + +/* -- Handle -- */ + +QScrollBar::handle { + background: rgb( 153, 153, 153 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 4px; + padding: 0px; +} + +QScrollBar::handle:vertical { + min-height: 32px; +} + +QScrollBar::handle:horizontal { + min-width: 32px; +} + +QScrollBar::handle:hover { + background: rgb( 26, 26, 26 ); /* Menu Selected Item BKGR */ +} + +QScrollBar::handle:pressed { + background: rgb( 26, 26, 26 ); /* Menu Selected Item BKGR */ +} + +QScrollBar::handle:disabled { + background: transparent; /* invisible */ +} + +/* Recolor the Handle for QAbstractScrollArea */ + +QAbstractScrollArea QScrollBar::handle { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:hover { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:pressed { + /* placeholder */ +} + +/* ---- QSlider (Input) ------------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +QSlider { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSlider:horizontal { + height: 20px; +} + +QSlider:vertical { + width: 20px; +} + +/* -- Groove (I set it invisible) -- */ + +/* By default is same size as the QSlider. + It also sets Page Control size. */ + +QSlider::groove { + background: none; + margin: 0px; + border: 1px solid transparent; + border-radius: 2px; + padding: 0px; +} + +QSlider::groove:horizontal { + height: 4px; +} + +QSlider::groove:vertical { + width: 4px; +} + +/* -- Page Control (regions before and after the Handle) -- */ + +QSlider::sub-page:horizontal { + background: rgb( 86, 128, 194 ); /* Main BLUE */ + margin-left: 8px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:horizontal { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin-right: 8px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:vertical { + background: rgb( 86, 128, 194 ); /* Main BLUE */ + margin-bottom: 8px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:vertical { + background: rgb( 179, 179, 179 ); /* Main BKGR */ + margin-top: 8px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:disabled { + background: rgba( 86, 128, 194, 50% ); /* Main BLUE + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +QSlider::add-page:disabled { + background: rgba( 179, 179, 179, 50% ); /* Main BKGR + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* -- Handle -- */ + +/* Handle is placed by default on the contents rect of the Groove. + Use negative margins to set higher size than Groove. */ + +QSlider::handle:horizontal { + margin: -10px 0px; + width: 20px; +} + +QSlider::handle:vertical { + margin: 0px -10px; + height: 20px; +} + +QSlider::handle { + image: url(julius:themes/blenderlight/slider_handle.svg); +} + +QSlider::handle:hover, QSlider::handle:pressed { + image: url(julius:themes/blenderlight/slider_handle_hover.svg); +} + +QSlider::handle:disabled { + image: url(julius:themes/blenderlight/slider_handle_disabled.svg); +} + +/* ---- QCheckBox + QRadioButton (Buttons) ------------------------------------ +| | +| Inheritance: QWidget => QAbstractButton => QCheckBox | +| => QRadioButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QCheckBox ---- */ + +QCheckBox { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QCheckBox:hover { + /* placeholder */ +} + +QCheckBox:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QCheckBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QCheckBox::indicator:checked { + image: url(julius:themes/blenderlight/checkbox_checked.svg); +} + +QCheckBox::indicator:checked:hover { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:checked:pressed { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:checked:disabled { + image: url(julius:themes/blenderlight/checkbox_checked_disabled.svg); +} + +QCheckBox::indicator:unchecked { + image: url(julius:themes/blenderlight/checkbox_unchecked.svg); +} + +QCheckBox::indicator:unchecked:hover { + image: url(julius:themes/blenderlight/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:unchecked:pressed { + image: url(julius:themes/blenderlight/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:unchecked:disabled { + image: url(julius:themes/blenderlight/checkbox_unchecked_disabled.svg); +} + +/* ---- QRadioButton ---- */ + +QRadioButton { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QRadioButton:hover { + /* placeholder */ +} + +QRadioButton:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QRadioButton::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QRadioButton::indicator:checked { + image: url(julius:themes/blenderlight/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:hover { + image: url(julius:themes/blenderlight/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:checked:pressed { + image: url(julius:themes/blenderlight/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:disabled { + image: url(julius:themes/blenderlight/radiobutton_checked_disabled.svg); +} + +QRadioButton::indicator:unchecked { + image: url(julius:themes/blenderlight/radiobutton_unchecked.svg); +} + +QRadioButton::indicator:unchecked:hover { + image: url(julius:themes/blenderlight/radiobutton_unchecked_selected.svg); +} + +QRadioButton::indicator:unchecked:pressed { + image: url(julius:themes/blenderlight/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:unchecked:disabled { + image: url(julius:themes/blenderlight/radiobutton_unchecked_disabled.svg); +} + +/* ---- QPushButton + QToolButton (Buttons) ----------------------------------- +| | +| Inheritance: QWidget => QAbstractButton => QPushButton | +| => QToolButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractButton ---- */ + +/* +QAbstractButton { + qproperty-iconSize: 24px 24px; +} +*/ + +/* ---- QPushButton ---- */ + +QPushButton { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 4px; /* space around [Icon+Text] */ + + outline: none; + min-width: 3em; +} + +QPushButton:hover { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QPushButton:pressed { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QPushButton:default { + color: rgb( 230, 230, 230 ); /* Light TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QPushButton:default:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 122, 162, 225 ); /* Light BLUE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QPushButton:default:pressed { + color: rgb( 230, 230, 230 ); /* Light TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QPushButton:!default:focus { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QPushButton:!default:focus:hover { + border-color: rgb( 126, 176, 255 ); /* Light BLUE 2 */ +} + +QPushButton:!default:focus:pressed { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QPushButton:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgba( 219, 219, 219, 75% ); /* Button BKGR + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* ---- QToolButton ---- */ + +QToolButton { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Icon/Text] */ +} + +QToolButton:hover { + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QToolButton:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolButton:on { + background: rgb( 158, 196, 255 ); /* Lighter BLUE */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolButton:on:hover { + background: rgb( 204, 224, 255 ); /* extraLighter BLUE */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QToolButton:on:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QToolButton:!on:focus { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QToolButton:!on:focus:hover { + border-color: rgb( 126, 176, 255 ); /* Light BLUE 2 */ +} + +QToolButton:!on:focus:pressed { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QToolButton:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgba( 0, 0, 0, 10% ); /* BLACK + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* ---- QSpinBox + QDoubleSpinBox (Input) ------------------------------------- +| | +| Inheritance: QWidget => QAbstractSpinBox => QSpinBox | +| => QDoubleSpinBox | +| | + ---------------------------------------------------------------------------- */ + +QAbstractSpinBox { + qproperty-alignment: AlignCenter; +} + +QSpinBox, QDoubleSpinBox { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QSpinBox { + min-width: 2.5em; /* avoid too small SpinBox in some plugins */ +} + +QSpinBox:hover, QDoubleSpinBox:hover { + /* placeholder */ + background: rgb( 230, 230, 230 ); /* TextInput BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QSpinBox:focus, QDoubleSpinBox:focus { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QSpinBox:!active, QDoubleSpinBox:!active { + selection-color: rgb( 230, 230, 230 ); /* Light TEXT */ + selection-background-color: rgba( 0, 0, 0, 25% ); /* BLACK + Alpha */ +} + +QSpinBox:disabled, QDoubleSpinBox:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgb( 192, 192, 192 ); + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* -- Buttons -- */ + +QSpinBox::up-button, QDoubleSpinBox::up-button { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ + + width: 0.85em; + height: 1.15em; +} + +QSpinBox::down-button, QDoubleSpinBox::down-button { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center left; /* top, BOTTOM, left, RIGHT, center */ + + width: 0.85em; + height: 1.15em; +} + +QSpinBox::up-button:hover, QDoubleSpinBox::up-button:hover { + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QSpinBox::down-button:hover, QDoubleSpinBox::down-button:hover { + background: rgb( 241, 241, 241 ); /* Button BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QSpinBox::up-button:pressed, QDoubleSpinBox::up-button:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed { + background: rgb( 219, 219, 219 ); /* Button BKGR */ + border-color: rgb( 77, 77, 77 ); /* Main BORDER */ +} + +QSpinBox::up-button:focus, QDoubleSpinBox::up-button:focus { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QSpinBox::down-button:focus, QDoubleSpinBox::down-button:focus { + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QSpinBox::up-button:disabled, QDoubleSpinBox::up-button:disabled { + background: rgba( 219, 219, 219, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +QSpinBox::down-button:disabled, QDoubleSpinBox::down-button:disabled { + background: rgba( 219, 219, 219, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* -- Arrows -- */ + +QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { + image: url(julius:themes/blenderlight/chevron_right.svg); + + subcontrol-origin: border; + subcontrol-position: center center; + + width: 0.95em; + height: 0.95em; +} + +QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { + image: url(julius:themes/blenderlight/chevron_left.svg); + + subcontrol-origin: border; + subcontrol-position: center center; + + width: 0.95em; + height: 0.95em; +} + +QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover { + /* placeholder */ +} + +QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { + /* placeholder */ +} + +QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { + image: url(julius:themes/blenderlight/chevron_right.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { + image: url(julius:themes/blenderlight/chevron_left.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { + image: url(julius:themes/blenderlight/chevron_right_disabled.svg); +} + +QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled { + image: url(julius:themes/blenderlight/chevron_left_disabled.svg); +} + +QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:off { + image: url(julius:themes/blenderlight/chevron_right_disabled.svg); +} + +QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:off { + image: url(julius:themes/blenderlight/chevron_left_disabled.svg); +} + +/* ---- QLineEdit (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QLineEdit | +| | + ---------------------------------------------------------------------------- */ + +QLineEdit { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 77, 77, 77 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ + + min-width: 2.80em; + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QLineEdit:hover { + /* placeholder */ + background: rgb( 230, 230, 230 ); /* TextInput BKGR (hover) */ + border-color: rgb( 89, 89, 89 ); /* Main BORDER (hover) */ +} + +QLineEdit:focus { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 204, 204, 204 ); /* Light BKGR */ + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QLineEdit:!active { + selection-color: rgb( 230, 230, 230 ); /* Light TEXT */ + selection-background-color: rgba( 0, 0, 0, 25% ); /* BLACK + Alpha */ +} + +QLineEdit:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ + background: rgba( 219, 219, 219, 50% ); /* Button BKGR + Alpha */ + border-color: rgba( 77, 77, 77, 50% ); /* Disabled BORDER */ +} + +/* ---- QComboBox (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QComboBox | +| | +| Inheritance of the pop-up window: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView | +| | + ---------------------------------------------------------------------------- */ + +QComboBox { + color: rgb( 230, 230, 230 ); /* Light TEXT */ + background: rgb( 59, 59, 59 ); /* Combo BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Combo BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 86, 128, 194 ); /* Main BLUE */ + + min-height: 1.15em; /* sets a fixed height */ + max-height: 1.15em; +} + +QComboBox:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 71, 71, 71 ); /* Combo BKGR (hover) */ + border-color: rgb( 25, 25, 25 ); /* Combo BORDER (hover) */ +} + +QComboBox:focus { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 59, 59, 59 ); /* Combo BKGR */ + border-color: rgb( 100, 160, 255 ); /* Main BLUE 2 */ +} + +QComboBox:on:editable { /* ON when pop-up is open */ + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 118, 118, 118 ); /* Combo BKGR (open) */ + border-color: rgb( 61, 61, 61 ); /* Combo BORDER (open) */ +} + +QComboBox:disabled { + color: rgba( 230, 230, 230, 50% ); /* Disabled Light TEXT */ + background: rgba( 59, 59, 59, 50% ); /* Combo BKGR + Alpha */ + border-color: rgba( 0, 0, 0, 50% ); /* Combo BORDER + Alpha */ +} + +/* -- Button -- */ + +QComboBox::drop-down { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 0px; + + subcontrol-origin: border; /* margin, border, PADDING, content */ + subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ + + width: 0.85em; +} + +/* -- Arrow -- */ + +QComboBox::down-arrow { + image: url(julius:themes/blenderlight/combo_arrow.svg); + + width: 0.95em; + height: 0.95em; +} + +QComboBox::down-arrow:hover { + image: url(julius:themes/blenderlight/combo_arrow_hover.svg); +} + +QComboBox::down-arrow:disabled { + image: url(julius:themes/blenderlight/combo_arrow_disabled.svg); +} + +/* -- Pop-up Frame -- */ + +QComboBox QAbstractItemView { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: rgb( 192, 192, 192 ); /* Menu BKGR */ + margin: 0px; + border: 1px solid rgb( 166, 166, 166 ); /* Menu BORDER */ + border-radius: 0px; + outline: none; + padding: 2px; /* space around [Content] */ + + /* Selected Item in the list of editable ComboBox */ + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 26, 26, 26 ); /* Menu Selected Item BKGR */ +} + +/* Avoid visible QListView:hover border */ + +QComboBox QAbstractItemView:hover { + border-color: rgb( 166, 166, 166 ); /* Menu BORDER */ +} + +/* -- Checkmark -- */ + +/* A checkmark is shown when using "QComboBox::item". This removes it and + the space it leaves. */ + +QComboBox::indicator { + image: none; /* remove the checkmark */ + + width: 0px; + height: 0px; +} + +QComboBox QAbstractItemView { + icon-size: 0px 0px; /* remove the space */ +} + +/* -- Items -- */ + +QComboBox::item { + color: rgb( 26, 26, 26 ); /* Main TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: none; + border-radius: 4px; + padding: 0px; + + max-height: 1.0em; /* it takes full window height if not set */ +} + +QComboBox::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 26, 26, 26 ); /* Menu Selected Item BKGR */ +} + +QComboBox::item:checked { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 86, 128, 194 ); /* Main BLUE */ +} + +QComboBox::item:checked:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 122, 162, 225 ); /* Light BLUE */ +} + +QComboBox::item:disabled { + color: rgba( 26, 26, 26, 50% ); /* Disabled TEXT */ +} + +/* ---- QSizeGrip ( ) --------------------------------------------------------- +| | +| Inheritance: QWidget => QSizeGrip | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Select Font window */ + +QSizeGrip { + background: transparent; + image: url(julius:themes/blenderlight/resize_handle.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ +} + +/* ---- Linux ------------------------------------------------------------------ +| | +| NOTE: File Selector of KDE is a QDialog window with these widgets: | +| | +| - QListView (left panel). | +| - QSplitter (vertical). | +| - QToolBar + QToolButton + QSlider. | +| - File path; no idea what widget is. | +| - QTreeView + QHeaderView (right panel). | +| - QLabel (2x just before QComboBox). | +| - QComboBox (2x at the bottom). | +| - QPushButton (2x at the bottom). | +| | + ---------------------------------------------------------------------------- */ + +/* Remove Icons in File Selector buttons (Open, Save, Cancel, etc.) */ + +QDialog QPushButton { + icon: none; +} + +/* EOF ------------------------------- EOF ------------------------------ EOF */ diff --git a/setup/data/tools/themes/blenderlight/arrow_down.svg b/setup/data/tools/themes/blenderlight/arrow_down.svg new file mode 100644 index 00000000..f6a5f9b9 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_down.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_down_selected.svg b/setup/data/tools/themes/blenderlight/arrow_down_selected.svg new file mode 100644 index 00000000..cdd7316a --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_down_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_left.svg b/setup/data/tools/themes/blenderlight/arrow_left.svg new file mode 100644 index 00000000..303762c8 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_left.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_left_selected.svg b/setup/data/tools/themes/blenderlight/arrow_left_selected.svg new file mode 100644 index 00000000..21131f18 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_left_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_right.svg b/setup/data/tools/themes/blenderlight/arrow_right.svg new file mode 100644 index 00000000..6bbbc087 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_right.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_right_selected.svg b/setup/data/tools/themes/blenderlight/arrow_right_selected.svg new file mode 100644 index 00000000..a1272284 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_right_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_up.svg b/setup/data/tools/themes/blenderlight/arrow_up.svg new file mode 100644 index 00000000..6d06681f --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_up.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/arrow_up_selected.svg b/setup/data/tools/themes/blenderlight/arrow_up_selected.svg new file mode 100644 index 00000000..66e8fde8 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/arrow_up_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/branch.svg b/setup/data/tools/themes/blenderlight/branch.svg new file mode 100644 index 00000000..0cc9f5d1 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/branch.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/branch_end.svg b/setup/data/tools/themes/blenderlight/branch_end.svg new file mode 100644 index 00000000..d9727dd9 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/branch_end.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/branch_more.svg b/setup/data/tools/themes/blenderlight/branch_more.svg new file mode 100644 index 00000000..84dde8c0 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/branch_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_checked.svg b/setup/data/tools/themes/blenderlight/checkbox_checked.svg new file mode 100644 index 00000000..a1e4bcac --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_checked_disabled.svg b/setup/data/tools/themes/blenderlight/checkbox_checked_disabled.svg new file mode 100644 index 00000000..ceaba539 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_checked_selected.svg b/setup/data/tools/themes/blenderlight/checkbox_checked_selected.svg new file mode 100644 index 00000000..5928276c --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_unchecked.svg b/setup/data/tools/themes/blenderlight/checkbox_unchecked.svg new file mode 100644 index 00000000..fd0669c7 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_unchecked_disabled.svg b/setup/data/tools/themes/blenderlight/checkbox_unchecked_disabled.svg new file mode 100644 index 00000000..bc2570c6 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/checkbox_unchecked_selected.svg b/setup/data/tools/themes/blenderlight/checkbox_unchecked_selected.svg new file mode 100644 index 00000000..d28a3af4 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/checkbox_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/chevron_left.svg b/setup/data/tools/themes/blenderlight/chevron_left.svg new file mode 100644 index 00000000..5a5fe7d2 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/chevron_left.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/chevron_left_disabled.svg b/setup/data/tools/themes/blenderlight/chevron_left_disabled.svg new file mode 100644 index 00000000..8008cc1b --- /dev/null +++ b/setup/data/tools/themes/blenderlight/chevron_left_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/chevron_right.svg b/setup/data/tools/themes/blenderlight/chevron_right.svg new file mode 100644 index 00000000..893a97e0 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/chevron_right.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/chevron_right_disabled.svg b/setup/data/tools/themes/blenderlight/chevron_right_disabled.svg new file mode 100644 index 00000000..17fd540f --- /dev/null +++ b/setup/data/tools/themes/blenderlight/chevron_right_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/combo_arrow.svg b/setup/data/tools/themes/blenderlight/combo_arrow.svg new file mode 100644 index 00000000..e241c9af --- /dev/null +++ b/setup/data/tools/themes/blenderlight/combo_arrow.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/combo_arrow_disabled.svg b/setup/data/tools/themes/blenderlight/combo_arrow_disabled.svg new file mode 100644 index 00000000..126e44a5 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/combo_arrow_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/combo_arrow_hover.svg b/setup/data/tools/themes/blenderlight/combo_arrow_hover.svg new file mode 100644 index 00000000..d3694374 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/combo_arrow_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/menu_more.svg b/setup/data/tools/themes/blenderlight/menu_more.svg new file mode 100644 index 00000000..0b968503 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/menu_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_checked.svg b/setup/data/tools/themes/blenderlight/radiobutton_checked.svg new file mode 100644 index 00000000..6b63ced9 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_checked_disabled.svg b/setup/data/tools/themes/blenderlight/radiobutton_checked_disabled.svg new file mode 100644 index 00000000..ddc0ada7 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_checked_selected.svg b/setup/data/tools/themes/blenderlight/radiobutton_checked_selected.svg new file mode 100644 index 00000000..c0181de4 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_unchecked.svg b/setup/data/tools/themes/blenderlight/radiobutton_unchecked.svg new file mode 100644 index 00000000..757823ce --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_unchecked_disabled.svg b/setup/data/tools/themes/blenderlight/radiobutton_unchecked_disabled.svg new file mode 100644 index 00000000..daa9b6d4 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/radiobutton_unchecked_selected.svg b/setup/data/tools/themes/blenderlight/radiobutton_unchecked_selected.svg new file mode 100644 index 00000000..8232b0c5 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/radiobutton_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/resize_handle.svg b/setup/data/tools/themes/blenderlight/resize_handle.svg new file mode 100644 index 00000000..07402b23 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/resize_handle.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/slider_handle.svg b/setup/data/tools/themes/blenderlight/slider_handle.svg new file mode 100644 index 00000000..cb029565 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/slider_handle.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/slider_handle_disabled.svg b/setup/data/tools/themes/blenderlight/slider_handle_disabled.svg new file mode 100644 index 00000000..5fb8ebc4 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/slider_handle_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/slider_handle_hover.svg b/setup/data/tools/themes/blenderlight/slider_handle_hover.svg new file mode 100644 index 00000000..1698077e --- /dev/null +++ b/setup/data/tools/themes/blenderlight/slider_handle_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/splitter_handle_horiz.svg b/setup/data/tools/themes/blenderlight/splitter_handle_horiz.svg new file mode 100644 index 00000000..4becbfc5 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/splitter_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/splitter_handle_vert.svg b/setup/data/tools/themes/blenderlight/splitter_handle_vert.svg new file mode 100644 index 00000000..49fe2c67 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/splitter_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/toolbar_handle_horiz.svg b/setup/data/tools/themes/blenderlight/toolbar_handle_horiz.svg new file mode 100644 index 00000000..0b968503 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/toolbar_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/toolbar_handle_vert.svg b/setup/data/tools/themes/blenderlight/toolbar_handle_vert.svg new file mode 100644 index 00000000..f610c429 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/toolbar_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_closed.svg b/setup/data/tools/themes/blenderlight/tree_closed.svg new file mode 100644 index 00000000..cab33cc4 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_closed.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_closed_end.svg b/setup/data/tools/themes/blenderlight/tree_closed_end.svg new file mode 100644 index 00000000..f66ecfb0 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_closed_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_closed_end_hover.svg b/setup/data/tools/themes/blenderlight/tree_closed_end_hover.svg new file mode 100644 index 00000000..b7e39a8c --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_closed_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_closed_hover.svg b/setup/data/tools/themes/blenderlight/tree_closed_hover.svg new file mode 100644 index 00000000..8ce1f42f --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_closed_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_open.svg b/setup/data/tools/themes/blenderlight/tree_open.svg new file mode 100644 index 00000000..9ac16ba1 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_open.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_open_end.svg b/setup/data/tools/themes/blenderlight/tree_open_end.svg new file mode 100644 index 00000000..a4617362 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_open_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_open_end_hover.svg b/setup/data/tools/themes/blenderlight/tree_open_end_hover.svg new file mode 100644 index 00000000..be6181a5 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_open_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/blenderlight/tree_open_hover.svg b/setup/data/tools/themes/blenderlight/tree_open_hover.svg new file mode 100644 index 00000000..2182be72 --- /dev/null +++ b/setup/data/tools/themes/blenderlight/tree_open_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2.qss b/setup/data/tools/themes/greyblue2.qss new file mode 100644 index 00000000..3cad6023 --- /dev/null +++ b/setup/data/tools/themes/greyblue2.qss @@ -0,0 +1,2297 @@ +/* ---------------------------------------------------------------------------- + + NAME: "GreyBlue2" Style Sheet + VERSION: 1.0 + LICENSE: GPL v2 + + ABOUT: This is a Qt style sheet for "NetRadiant-Custom" application. + + AUTHOR: Julius aka Julio César (juliocesar2k7@gmail.com) + DATE: Started in March 2026 + + ---------------------------------------------------------------------------- */ + +/* ---- ALL WIDGETS ----------------------------------------------------------- +| | +| This RESETS the properties of ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +/* +* { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + outline: none; + padding: 0px; + + spacing: 0px; +} +*/ + +/* ---- QWidget (Container) --------------------------------------------------- +| | +| Inheritance: none | +| | +| Inherited by: ALL Widgets | +| | + ---------------------------------------------------------------------------- */ + +QWidget { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* ---- QFrame (Container) ---------------------------------------------------- +| | +| Inheritance: QWidget => QFrame | +| | +| Inherited by: QLabel, QSplitter, QStackedWidget | +| QAbstractScrollArea (QScrollArea, QPlainTextEdit) | +| QAbstractItemView (QHeaderView, QListView, QTreeView) | +| plus some other widgets not themed here. | +| | + ---------------------------------------------------------------------------- */ + +/* QFrame as separator (HLine frameShape) */ + +.QFrame { + background: transparent; + margin: 0px; + border-top: 2px dashed rgb( 136, 136, 136 ); /* same as Menu Arrow */ + border-radius: 0px; + padding: 0px; +} + +/* ---- QToolTip (Container) -------------------------------------------------- +| | +| Inheritance: QWidget => QToolTip (QToolTip is a QFrame) | +| | + ---------------------------------------------------------------------------- */ + +QToolTip { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgb( 29, 29, 29 ); /* ToolTip BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px 0px; + + /* opacity: 240; */ + /* font-style: italic; */ +} + +/* ---- QLabel (Display) ------------------------------------------------------ +| | +| Inheritance: QWidget => QFrame => QLabel | +| | + ---------------------------------------------------------------------------- */ + +QLabel { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: transparent; + margin:0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QLabel::disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QDialog + QMessageBox + QDialogButtonBox (Container) ------------------ +| | +| Inheritance: QWidget => QDialog | +| QWidget => QDialog => QMessageBox | +| QWidget => QDialogButtonBox | +| | +| NOTE: Button Layout: 0=Windows, 1=MacOS, 2=KDE, 3=GNOME, 5=Android | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences BKGR, Surface Inspector, TexBro (Find/Replace), + Map Info, File Selector, etc. */ + +QDialog { + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Open Map (warning) and other message windows */ + +QMessageBox { + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* Used in: Windows with standard buttons (OK, CANCEL, etc.) */ + +QDialogButtonBox { + dialogbuttonbox-buttons-have-icons: 0; /* remove Icons */ + /* button-layout: 0; */ /* Windows layout */ +} + +/* ---- QGroupBox (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QGroupBox | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Preferences (right panel), SI (buttons zone), About window, + Buil Menu (Editor), Plugins (many of them) */ + +QGroupBox { + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content] */ + + outline: none; /* visible in focused [Title] */ + + margin-top: 1.10em; /* add space for [Title] */ +} + +QGroupBox:off, QGroupBox:disabled { + border-color: rgba( 114, 114, 114, 50% ); /* Disabled BORDER */ +} + +/* -- Title -- */ + +QGroupBox::title { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; /* space around [Indicator+Text] */ + + subcontrol-origin: margin; /* margin, border, PADDING, content */ + subcontrol-position: top left; /* top, bottom, left, right, center */ + + spacing: 2px; /* space between [Indicator] & [Text] */ +} + +QGroupBox::title:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QGroupBox::title:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* -- CheckBox -- */ + +QGroupBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; + height: 20px; +} + +QGroupBox::indicator:checked { + image: url(julius:themes/greyblue2/checkbox_checked.svg); +} + +QGroupBox::indicator:checked:hover { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:checked:pressed { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:checked:disabled { + image: url(julius:themes/greyblue2/checkbox_checked_disabled.svg); +} + +QGroupBox::indicator:unchecked { + image: url(julius:themes/greyblue2/checkbox_unchecked.svg); +} + +QGroupBox::indicator:unchecked:hover { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QGroupBox::indicator:unchecked:pressed { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QGroupBox::indicator:unchecked:disabled { + image: url(julius:themes/greyblue2/checkbox_unchecked_disabled.svg); +} + +/* ---- QMainWindow (Layout) -------------------------------------------------- +| | +| Inheritance: QWidget => QMainWindow | +| | +| | +| - Main widgets layout of NRC is this: | +| | +| QMainWindow + QMenuBar + QMenu + QToolBar + QStatusBar + QSplitter | +| | +| - BKGR of QMainWindow is visible in layout2 (floating windows). Its color | +| is inherited by QSplitter & QStatusBar if not set there. It is also | +| visible in the corners of the Console. | +| | +| - ToolBar's Icon size can be set here (overriding system size). | +| | +| It doesn't work for TexBro & ModelBro ToolBars because they are not | +| children of QMainWindow (they are QSplitter's children). | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + background: rgb( 64, 64, 64 ); /* Light BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* icon-size: 24px 24px; */ +} + +/* ---- QMenuBar -------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenuBar | +| | + ---------------------------------------------------------------------------- */ + +QMenuBar { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + spacing: 2px; /* space between [Items] */ +} + +QMenuBar::item { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: transparent; + margin: 2px 0px; + border: 1px solid transparent; + border-radius: 4px; + padding: 0px 6px; /* space around [Text] */ + + padding-bottom: 1px; +} + +QMenuBar::item:selected, QMenuBar::item:pressed { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QMenuBar::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QMenu ----------------------------------------------------------------- +| | +| Inheritance: QWidget => QMenu | +| | + ---------------------------------------------------------------------------- */ + +QMenu { + /* qproperty-separatorsCollapsible: 0; */ + /* qproperty-toolTipsVisible: 0; */ +} + +QMenu { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Dark BORDER */ + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + menu-scrollable: 1; /* enable Overflow Scroller */ +} + +QMenu::separator { + background: rgb( 48, 48, 48 ); /* Menu SEPARATOR */ + margin: 2px 6px; + height: 1px; +} + +QMainWindow > QMenu { + menu-scrollable: 0; /* disable Scroller for ToolBar right-click menu */ +} + +/* -- Item -- */ + +QMenu::item { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: transparent; + margin: 0px 0px; /* space around [Item] rows */ + border: 1px solid transparent; + border-radius: 4px; + + padding: 0px 20px 1px 11px; /* space around [Text+Mnemonic] */ + + /* NOTE: Added extra space for Icon & Arrow */ +} + +QMenu::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QMenu::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + + font-style: italic; +} + +/* -- Icon -- */ + +QMenu::icon { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 2px; + padding: 1px; /* space around [Icon] */ + + position: absolute; + left: 6px; + + /* NOTE: QMenu Icon size is not adjustable from stylesheet */ +} + +QMenu::icon:checked { + background: rgba( 71, 114, 179, 50% ); /* Main BLUE + Alpha */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QMenu::icon:!checked:selected { + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QMenu::icon:checked:selected { + background: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QMenu::icon:!checked:pressed { + background: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QMenu::icon:checked:pressed { + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +/* -- Arrow -- */ + +QMenu::right-arrow { + image: url(julius:themes/greyblue2/arrow_right.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + position: absolute; + right: 2px; +} + +QMenu::right-arrow:selected { + image: url(julius:themes/greyblue2/arrow_right_selected.svg); +} + +/* -- Indicator -- */ + +QMenu::indicator { + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ + + position: absolute; + left: 6px; + + /* NOTE: Larger size (24px) is causing Text misaligning */ +} + +/* CheckBox */ + +QMenu::indicator:non-exclusive:checked { + image: url(julius:themes/greyblue2/checkbox_checked.svg); +} + +QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:pressed { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:checked:disabled { + image: url(julius:themes/greyblue2/checkbox_checked_disabled.svg); +} + +QMenu::indicator:non-exclusive:unchecked { + image: url(julius:themes/greyblue2/checkbox_unchecked.svg); +} + +QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:pressed { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QMenu::indicator:non-exclusive:unchecked:disabled { + image: url(julius:themes/greyblue2/checkbox_unchecked_disabled.svg); +} + +/* RadioButton */ + +QMenu::indicator:exclusive:checked { + image: url(julius:themes/greyblue2/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:selected { + image: url(julius:themes/greyblue2/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:checked:pressed { + image: url(julius:themes/greyblue2/radiobutton_checked.svg); +} + +QMenu::indicator:exclusive:checked:disabled { + image: url(julius:themes/greyblue2/radiobutton_checked_disabled.svg); +} + +QMenu::indicator:exclusive:unchecked { + image: url(julius:themes/greyblue2/radiobutton_unchecked.svg); +} + +QMenu::indicator:exclusive:unchecked:selected { + image: url(julius:themes/greyblue2/radiobutton_unchecked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:pressed { + image: url(julius:themes/greyblue2/radiobutton_checked_selected.svg); +} + +QMenu::indicator:exclusive:unchecked:disabled { + image: url(julius:themes/greyblue2/radiobutton_unchecked_disabled.svg); +} + +/* -- Tear Off -- */ + +QMenu::tearoff { + background: transparent; + margin: 2px 5px 4px 5px; + border-top: 2px dashed rgb( 48, 48, 48 ); /* Menu SEPARATOR */ + + height: 2px; +} + +QMenu::tearoff:selected { + border-color: rgb( 136, 136, 136 ); /* like Menu Arrow */ +} + +/* -- Scroller -- */ + +/* This sub-control has no pseudo-states (hover, etc.) */ + +QMenu::scroller { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + margin-top: 4px; + + image: url(julius:themes/greyblue2/menu_more.svg); + + height: 8px; +} + +/* -- Trickery for ToolBar right-click menu -- */ + +/* Problem: after pressing an item, the "selected" state looks like inverting + checked/unchecked states. + + Solution: removing "pressed" state or prioritizing "selected" over it + (by stylesheet order), so that "pressed" state will never be displayed. */ + +QMainWindow > QMenu::icon:!checked:selected { + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QMainWindow > QMenu::icon:checked:selected { + background: rgba( 0, 0, 0, 15% ); /* BLACK + Alpha */ + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QMainWindow > QMenu::indicator:non-exclusive:checked:selected { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QMainWindow > QMenu::indicator:non-exclusive:unchecked:selected { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +/* ---- QToolBar (Container) + QToolButton (Buttons) -------------------------- +| | +| Inheritance: QWidget => QToolBar | +| QWidget => QAbstractButton => QToolButton | +| | +| | +| - qproperty-iconSize: 32px; | +| | +| This will affect all ToolBars and will also propagate to all Themes, | +| so it is better to set it in QMainWindow (icon-size: 32px) | +| | + ---------------------------------------------------------------------------- */ + +QMainWindow { + icon-size: 24px 24px; +} + +/* ---- QToolBar ---- */ + +QToolBar { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 4px; /* space around [Content] */ + + spacing: 0px; /* space between [Buttons] */ +} + +QToolBar::separator:horizontal { + background: transparent; + width: 8px; +} + +QToolBar::separator:vertical { + background: transparent; + height: 8px; +} + +QToolBar::handle:horizontal { + image: url(julius:themes/greyblue2/toolbar_handle_vert.svg); + padding-right: 2px; /* a bit of separation */ + + width: 8px; +} + +QToolBar::handle:vertical { + image: url(julius:themes/greyblue2/toolbar_handle_horiz.svg); + padding-bottom: 2px; /* a bit of separation */ + + height: 8px; +} + +/* ---- QToolButton ---- */ + +QToolBar QToolButton { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + margin: 0px; + border: 1px solid transparent; + border-radius: 0px; + + padding: 3px; /* space around [Icon] */ +} + +QToolBar QToolButton:hover { + background: rgba( 255, 255, 255, 25% ); /* WHITE + Alpha */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QToolBar QToolButton:on { + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QToolBar QToolButton:on:hover { + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QToolBar QToolButton:pressed, QToolBar QToolButton:on:pressed { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + border-color: transparent; +} + +QToolBar QToolButton:disabled { + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + border-color: transparent; +} + +/* Secondary ToolBar (TexBro & ModelBro) */ + +QSplitter QToolBar { + background: rgb( 84, 84, 84 ); /* Button BKGR */ + + padding: 2px; /* half size of main ToolBar */ +} + +QSplitter QToolBar QToolButton { + padding: 2px; /* 1px less than Main ToolBar buttons */ +} + +/* ---- QStatusBar (Container) ------------------------------------------------ +| | +| Inheritance: QWidget => QStatusBar | +| | + ---------------------------------------------------------------------------- */ + +QStatusBar { + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + /* min-height: 28px; */ +} + +QStatusBar .QWidget { /* this is Icons zone */ + background: transparent; +} + +QStatusBar QLabel { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QSplitter (Container) ------------------------------------------------- +| | +| Inheritance: QWidget => QFrame => QSplitter | +| | +| | +| - Keep in mind that QSplitter supports any property such as margin, | +| border, padding, etc., so I set all of them to zero. | +| | +| The handle is simply a visible sub-control of this widget. In fact, the | +| handle is the whole separator bar. | +| | + ---------------------------------------------------------------------------- */ + +QSplitter { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSplitter::handle:horizontal { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + image: url(julius:themes/greyblue2/splitter_handle_vert.svg); + + width: 4px; +} + +QSplitter::handle:vertical { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + image: url(julius:themes/greyblue2/splitter_handle_horiz.svg); + + height: 4px; +} + +/* Recolor the Splitter for EI window */ + +QTabWidget QSplitter::handle:horizontal { + background: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +QTabWidget QSplitter::handle:vertical { + background: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +/* ---- QTabWidget (Container) (+ QTabBar + QStackedWidget)-------------------- +| | +| Inheritance: QWidget => QTabWidget | +| => QTabBar | +| | +| QWidget => QFrame => QStackedWidget | +| | +| NOTE: Most of the functionality in QTabWidget is provided by a QTabBar | +| (at the top, providing the tabs) and a QStackedWidget (most of the | +| area, organizing the individual pages). | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: EI, TexBro, Plugins (bobToolz) */ + +QTabWidget { + qproperty-documentMode: 0; /* 0 = render the widget frame */ + qproperty-elideMode: ElideNone; /* ElideLeft | ElideRight | ElideMiddle | ElideNone */ + qproperty-movable: 1; /* drag and reorganize individual Tabs */ + qproperty-tabBarAutoHide: 1; /* Tab Bar hidden if less than 2 Tabs */ + qproperty-usesScrollButtons: 0; /* don't show overflow buttons */ +} + +/* Full widget frame (EI) */ + +QTabWidget::pane:bottom { + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 2px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-bottom-left-radius: 0px; +} + +/* Full widget frame (TexBro) */ + +QTabWidget::pane:top { + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 2px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; + + border-top-left-radius: 0px; +} + +/* Tabs Bar position (EI) */ + +QTabWidget::tab-bar:bottom { + subcontrol-position: left center; + + left: 2px; + top: -3px; /* move it up */ +} + +/* Tabs Bar position (TexBro) */ + +QTabWidget::tab-bar:top { + subcontrol-position: left center; + + left: 2px; + top: 3px; /* move it down */ +} + +/* ---- Tabs ---- */ + +QTabBar { + background: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +/* -- EI -- */ + +QTabBar::tab:bottom { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 0px; + padding: 1px 8px; /* space around [Text] */ + + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-bottom: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:bottom:hover { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +QTabBar::tab:bottom:selected { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + + border-top-color: transparent; + + margin-bottom: 0px; +} + +/* -- TexBro -- */ + +QTabBar::tab:top { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px 0px; /* space around [Tabs] */ + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 0px; + padding: 1px 8px; /* space around [Text] */ + + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-top: 4px; + + min-width: 2em; /* set a minimum size */ +} + +QTabBar::tab:top:hover { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +QTabBar::tab:top:selected { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + + border-bottom-color: transparent; + + margin-top: 0px; +} + +/* ---- QScrollArea (Container) + QPlainTextEdit (Input) ---------------------- +| | +| Inheritance: QWidget => QFrame => QAbstractScrollArea => QScrollArea | +| => QPlainTextEdit | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractScrollArea ---- */ + +/* This is where vert & horiz ScrollBars meet */ + +QAbstractScrollArea::corner { + background: none; + margin: 0px; + border: none; + padding: 0px; +} + +/* ---- QScrollArea ---- */ + +/* Used in: EI (4th panel) */ + +QScrollArea { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ +} + +QScrollArea:hover { + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +/* There is a QWidget in top of QScrollArea */ + +QScrollArea .QWidget { + background: transparent; +} + +/* ---- QPlainTextEdit ---- */ + +/* Used in: EI (2nd panel), Console, About window */ + +QPlainTextEdit { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ +} + +QPlainTextEdit:hover { + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QPlainTextEdit:!active { + selection-color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + selection-background-color: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +/* ---- QHeaderView + QListView + QTableView + QTreeView (Item Views) --------- +| | +| Inheritance: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView => QHeaderView | +| => QListView | +| => QTableView | +| => QTreeView | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractItemView ---- */ + +QAbstractItemView { + qproperty-alternatingRowColors: 0; + /* qproperty-iconSize: 16px; */ + + paint-alternating-row-colors-for-empty-area: 0; + alternate-background-color: rgb( 44, 44, 44 ); /* Dark BKGR -4 */ +} + +/* -- Indicator -- */ + +QAbstractItemView::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ +} + +QAbstractItemView::indicator:checked { + image: url(julius:themes/greyblue2/checkbox_checked.svg); +} + +QAbstractItemView::indicator:checked:selected { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:checked:pressed { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:checked:disabled { + image: url(julius:themes/greyblue2/checkbox_checked_disabled.svg); +} + +QAbstractItemView::indicator:unchecked { + image: url(julius:themes/greyblue2/checkbox_unchecked.svg); +} + +QAbstractItemView::indicator:unchecked:selected { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:pressed { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QAbstractItemView::indicator:unchecked:disabled { + image: url(julius:themes/greyblue2/checkbox_unchecked_disabled.svg); +} + +/* ---- QHeaderView ---- */ + +/* Used in: Map Info, File Selector (right panel), bobToolz "Vis Viewer" + plugin */ + +/* This is the full Header row */ + +QHeaderView { + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +/* -- Sections (Individual parts) -- */ + +QHeaderView::section { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 64, 64, 64 ); /* Mid BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 0px; + padding: 0px; + + padding-left: 4px; /* space before [Text] */ + padding-right: 16px; /* add space for [Arrow] */ +} + +QHeaderView::section:horizontal { + border-left-color: transparent; +} + +QHeaderView::section:vertical { + border-top-color: transparent; +} + +QHeaderView::section:horizontal:first { + border-left-color: rgb( 114, 114, 114 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:horizontal:last { + border-top-right-radius: 4px; +} + +QHeaderView::section:vertical:first { + border-top-color: rgb( 114, 114, 114 ); /* Main BORDER */ + border-top-left-radius: 4px; +} + +QHeaderView::section:vertical:last { + border-bottom-left-radius: 4px; +} + +QHeaderView::section:hover { + background: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +/* -- Arrow -- */ + +QHeaderView::down-arrow { + image: url(julius:themes/greyblue2/arrow_up.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::up-arrow { + image: url(julius:themes/greyblue2/arrow_down.svg); + + subcontrol-origin: border; /* margin, border, padding, content */ + subcontrol-position: right center; /* top, bottom, left, right, center */ + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ + + left: -4px; /* move it to left */ +} + +QHeaderView::down-arrow:hover { + image: url(julius:themes/greyblue2/arrow_up_selected.svg); +} + +QHeaderView::up-arrow:hover { + image: url(julius:themes/greyblue2/arrow_down_selected.svg); +} + +/* ---- QListView ---- */ + +/* Used in: File Selector (left panel), BrushExport plugin */ + +QListView { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ +} + +QListView:hover { + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +/* -- Items -- */ + +QListView::item { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: 1px solid transparent; + border-radius: 4px; + padding: 0px; + + height: 0.90em; /* shrink items so they take up less space */ +} + +QListView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + border-color: rgb( 114, 114, 114 ); /* Main BORDER */ +} + +QListView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QListView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QListView::item:selected:!active { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgba( 71, 114, 179, 35% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 35% ); /* Light BLUE + Alpha */ +} + +QListView::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QTableView ---- */ + +/* Used in: bobToolz "Vis Viewer" plugin */ + +QTableView { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: transparent; + selection-background-color: transparent; + + gridline-color: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +QTableView:hover { + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +/* -- Corner Button -- */ + +QTableView QTableCornerButton::section { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-radius: 0x; + padding: 0px; +} + +/* -- Items -- */ + +QTableView::item { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: transparent; + margin: 2px; /* space around [Items] */ + border: 1px solid transparent; + border-radius: 4px; + padding: 0px; +} + +QTableView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + border-color: rgb( 114, 114, 114 ); /* Main BORDER */ +} + +QTableView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QTableView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QTableView::item:selected:!active { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgba( 71, 114, 179, 35% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 35% ); /* Light BLUE + Alpha */ +} + +QTableView::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QTreeView ---- */ + +/* Used in: Preferences, EI (1st & 3rd panels), TexBro + ModelBro + LayersBro, + Map Info, Ent. List (Shift+L), File Selector (right panel) */ + +QTreeView { + qproperty-expandsOnDoubleClick: 1; /* enable double click in Items */ + qproperty-animated: 1; /* enable opening animation */ +} + +QTreeView { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + outline: none; + padding: 2px; /* space around [Content+ScrollBar] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ + + show-decoration-selected: 0; /* selection covers [Text] only */ +} + +QTreeView:hover { + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +/* -- Items -- */ + +QTreeView::item { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: 1px solid transparent; + border-radius: 4px; + padding: 0px; + + height: 0.90em; /* shrink items so they take up less space */ +} + +QTreeView::item:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + border-color: rgb( 114, 114, 114 ); /* Main BORDER */ +} + +QTreeView::item:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QTreeView::item:selected:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QTreeView::item:selected:!active { + /* color: rgb( 220, 220, 220 ); */ /* Main TEXT */ + /* background: rgba( 71, 114, 179, 35% ); */ /* Main BLUE + Alpha */ + /* border-color: rgba( 96, 155, 243, 35% ); */ /* Light BLUE + Alpha */ +} + +QTreeView::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* -- Branches -- */ + +/* border-image: 0 is equivalent to 0 0 0 0 (image slices), stretch is default */ + +QTreeView::branch:!has-children:has-siblings:!adjoins-item { + border-image: url(julius:themes/greyblue2/branch.svg) 0; +} + +QTreeView::branch:!has-children:has-siblings:adjoins-item { + border-image: url(julius:themes/greyblue2/branch_more.svg) 0; +} + +QTreeView::branch:!has-children:!has-siblings:adjoins-item { + border-image: url(julius:themes/greyblue2/branch_end.svg) 0; +} + +/* -- Branches (Arrows) -- */ + +/* has siblings = tiene hermanos */ +/* has children = tiene hijos */ +/* adjoins item = hay elemento adyacente */ + +QTreeView::branch:open:has-children:has-siblings { + border-image: url(julius:themes/greyblue2/tree_open.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings { + border-image: url(julius:themes/greyblue2/tree_open_end.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings { + border-image: url(julius:themes/greyblue2/tree_closed.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings { + border-image: url(julius:themes/greyblue2/tree_closed_end.svg) 0; +} + +/* Arrows hover */ + +QTreeView::branch:open:has-children:has-siblings:hover { + border-image: url(julius:themes/greyblue2/tree_open_hover.svg) 0; +} + +QTreeView::branch:open:has-children:!has-siblings:hover { + border-image: url(julius:themes/greyblue2/tree_open_end_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:has-siblings:hover { + border-image: url(julius:themes/greyblue2/tree_closed_hover.svg) 0; +} + +QTreeView::branch:closed:has-children:!has-siblings:hover { + border-image: url(julius:themes/greyblue2/tree_closed_end_hover.svg) 0; +} + +/* ---- QScrollBar (Input) ---------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +/* Main ScrollBar: QOpenGLWidget (TexBro & ModelBro) */ + +QScrollBar { + background: rgb( 64, 64, 64 ); /* same as QOpenGLWidget */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 2px; +} + +QScrollBar:vertical { + width: 12px; +} + +QScrollBar:horizontal { + height: 12px; +} + +/* Secondary ScrollBar: QAbstractScrollArea (QListView, QTreeView, etc.) */ + +QAbstractScrollArea QScrollBar { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + padding: 0px; +} + +QAbstractScrollArea QScrollBar:vertical { + width: 8px; +} + +QAbstractScrollArea QScrollBar:horizontal { + height: 8px; +} + +/* -- Buttons (invisible) -- */ + +QScrollBar::sub-line, QScrollBar::add-line { + background: none; + margin: 0px; + border: none; + padding: 0px; + + subcontrol-origin: margin; +} + +QScrollBar::sub-line:vertical { + subcontrol-position: top; + height: 0px; +} + +QScrollBar::add-line:vertical { + subcontrol-position: bottom; + height: 0px; +} + +QScrollBar::sub-line:horizontal { + subcontrol-position: left; + width: 0px; +} + +QScrollBar::add-line:horizontal { + subcontrol-position: right; + width: 0px; +} + +/* -- Page Control (region between Handle & Buttons) -- */ + +QScrollBar::sub-page, QScrollBar::add-page { + background: transparent; /* I prefer it invisible */ + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QScrollBar::sub-page:vertical { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + + margin-bottom: -4px; +} + +QScrollBar::add-page:vertical { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + + margin-top: -4px; +} + +QScrollBar::sub-page:horizontal { + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + + margin-right: -4px; +} + +QScrollBar::add-page:horizontal { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + + margin-left: -4px; +} + +/* -- Handle -- */ + +QScrollBar::handle { + background: rgb( 84, 84, 84 ); /* Light BKGR */ + margin: 0px; + border: 1px solid rgb( 84, 84, 84 ); /* Light BKGR */ + border-radius: 4px; + padding: 0px; +} + +QScrollBar::handle:vertical { + min-height: 32px; +} + +QScrollBar::handle:horizontal { + min-width: 32px; +} + +QScrollBar::handle:hover { + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QScrollBar::handle:pressed { + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QScrollBar::handle:disabled { + background: transparent; + border-color: transparent; +} + +/* Recolor the Handle for QAbstractScrollArea */ + +QAbstractScrollArea QScrollBar::handle { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:hover { + /* placeholder */ +} + +QAbstractScrollArea QScrollBar::handle:pressed { + /* placeholder */ +} + +/* ---- QSlider (Input) ------------------------------------------------------- +| | +| Inheritance: QWidget => QAbstractSlider => QScrollBar | +| => QSlider | +| | + ---------------------------------------------------------------------------- */ + +QSlider { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; +} + +QSlider:horizontal { + height: 20px; +} + +QSlider:vertical { + width: 20px; +} + +/* -- Groove (I set it invisible) -- */ + +/* By default is same size as the QSlider. + It also sets Page Control size. */ + +QSlider::groove { + background: none; + margin: 0px; + border: 1px solid transparent; + border-radius: 2px; + padding: 0px; +} + +QSlider::groove:horizontal { + height: 4px; +} + +QSlider::groove:vertical { + width: 4px; +} + +/* -- Page Control (regions before and after the Handle) -- */ + +QSlider::sub-page:horizontal { + background: rgb( 71, 114, 179 ); /* Main BLUE */ + margin-left: 8px; + border: 1px solid rgb( 96, 155, 243 ); /* Light BLUE */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:horizontal { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin-right: 8px; + border: 1px solid rgba( 114, 114, 114, 75% ); /* Main BORDER + Alpha */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:vertical { + background: rgb( 71, 114, 179 ); /* Main BLUE */ + margin-bottom: 8px; + border: 1px solid rgb( 96, 155, 243 ); /* Light BLUE */ + border-radius: 2px; + padding: 0px; +} + +QSlider::add-page:vertical { + background: rgb( 48, 48, 48 ); /* Main BKGR */ + margin-top: 8px; + border: 1px solid rgba( 114, 114, 114, 75% ); /* Main BORDER + Alpha */ + border-radius: 2px; + padding: 0px; +} + +QSlider::sub-page:disabled { + background: rgba( 71, 114, 179, 50% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 50% ); /* Light BLUE + Alpha */ +} + +QSlider::add-page:disabled { + background: rgba( 48, 48, 48, 50% ); /* Main BKGR + Alpha */ + border-color: rgba( 114, 114, 114, 35% ); /* Main BORDER + Alpha */ +} + +/* -- Handle -- */ + +/* Handle is placed by default on the contents rect of the Groove. + Use negative margins to set higher size than Groove. */ + +QSlider::handle:horizontal { + margin: -10px 0px; + width: 20px; +} + +QSlider::handle:vertical { + margin: 0px -10px; + height: 20px; +} + +QSlider::handle { + image: url(julius:themes/greyblue2/slider_handle.svg); +} + +QSlider::handle:hover, QSlider::handle:pressed { + image: url(julius:themes/greyblue2/slider_handle_hover.svg); +} + +QSlider::handle:disabled { + image: url(julius:themes/greyblue2/slider_handle_disabled.svg); +} + +/* ---- QCheckBox + QRadioButton (Buttons) ------------------------------------ +| | +| Inheritance: QWidget => QAbstractButton => QCheckBox | +| => QRadioButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QCheckBox ---- */ + +QCheckBox { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QCheckBox:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QCheckBox:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QCheckBox::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ +} + +QCheckBox::indicator:checked { + image: url(julius:themes/greyblue2/checkbox_checked.svg); +} + +QCheckBox::indicator:checked:hover { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:checked:pressed { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:checked:disabled { + image: url(julius:themes/greyblue2/checkbox_checked_disabled.svg); +} + +QCheckBox::indicator:unchecked { + image: url(julius:themes/greyblue2/checkbox_unchecked.svg); +} + +QCheckBox::indicator:unchecked:hover { + image: url(julius:themes/greyblue2/checkbox_unchecked_selected.svg); +} + +QCheckBox::indicator:unchecked:pressed { + image: url(julius:themes/greyblue2/checkbox_checked_selected.svg); +} + +QCheckBox::indicator:unchecked:disabled { + image: url(julius:themes/greyblue2/checkbox_unchecked_disabled.svg); +} + +/* ---- QRadioButton ---- */ + +QRadioButton { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: transparent; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + outline: none; + + spacing: 4px; /* space between [Icon] & [Text] */ +} + +QRadioButton:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ +} + +QRadioButton:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* -- The Icon -- */ + +QRadioButton::indicator { + background: none; + margin: 0px; + border: none; + border-radius: 0px; + padding: 0px; + + width: 20px; /* width: 0.85em; */ + height: 20px; /* height: 0.85em; */ +} + +QRadioButton::indicator:checked { + image: url(julius:themes/greyblue2/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:hover { + image: url(julius:themes/greyblue2/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:checked:pressed { + image: url(julius:themes/greyblue2/radiobutton_checked.svg); +} + +QRadioButton::indicator:checked:disabled { + image: url(julius:themes/greyblue2/radiobutton_checked_disabled.svg); +} + +QRadioButton::indicator:unchecked { + image: url(julius:themes/greyblue2/radiobutton_unchecked.svg); +} + +QRadioButton::indicator:unchecked:hover { + image: url(julius:themes/greyblue2/radiobutton_unchecked_selected.svg); +} + +QRadioButton::indicator:unchecked:pressed { + image: url(julius:themes/greyblue2/radiobutton_checked_selected.svg); +} + +QRadioButton::indicator:unchecked:disabled { + image: url(julius:themes/greyblue2/radiobutton_unchecked_disabled.svg); +} + +/* ---- QPushButton + QToolButton (Buttons) ----------------------------------- +| | +| Inheritance: QWidget => QAbstractButton => QPushButton | +| => QToolButton | +| | + ---------------------------------------------------------------------------- */ + +/* ---- QAbstractButton ---- */ + +/* +QAbstractButton { + qproperty-iconSize: 24px 24px; +} +*/ + +/* ---- QPushButton ---- */ + +QPushButton { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 58, 58, 58 ), stop:1 rgb( 38, 38, 38 )); + + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Dark BORDER */ + border-radius: 4px; + padding: 4px; /* space around [Icon/Text] */ + + outline: none; + min-width: 3em; +} + +QPushButton:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + + /* Mid BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 74, 74, 74 ), stop:1 rgb( 54, 54, 54 )); + + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QPushButton:pressed { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 58, 58, 58 ), stop:1 rgb( 38, 38, 38 )); + + border-color: rgb( 0, 0, 0 ); /* Dark BORDER */ +} + +QPushButton:focus { + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QPushButton:focus:hover { + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QPushButton:focus:pressed { + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QPushButton:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgba( 58, 58, 58, 50% ), stop:1 rgba( 38, 38, 38, 50% )); + + border-color: rgba( 0, 0, 0, 50% ); /* Disabled Dark BORDER */ +} + +/* ---- QToolButton ---- */ + +QToolButton { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 58, 58, 58 ), stop:1 rgb( 38, 38, 38 )); + + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Dark BORDER */ + border-radius: 4px; + + padding: 2px; /* space around [Icon] */ +} + +QToolButton:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + + /* Mid BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 74, 74, 74 ), stop:1 rgb( 54, 54, 54 )); + + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QToolButton:on { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + + /* Main to Dark BLUE */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 71, 114, 179 ), stop:1 rgb( 60, 96, 151 )); + + border-color: rgb( 0, 0, 0 ); /* Dark BORDER */ +} + +QToolButton:on:hover { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + + /* Light to Main BLUE */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 96, 155, 243 ), stop:1 rgb( 71, 114, 179 )); + + border-color: rgb( 0, 0, 0 ); /* Dark BORDER */ +} + +QToolButton:pressed, QToolButton:on:pressed { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgb( 58, 58, 58 ), stop:1 rgb( 38, 38, 38 )); + + border-color: rgb( 0, 0, 0 ); /* Dark BORDER */ +} + +QToolButton:focus:!on { + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QToolButton:focus:!on:hover { + border-color: rgb( 139, 186, 255 ); /* Lighter BLUE */ +} + +QToolButton:focus:!on:pressed { + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QToolButton:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + + /* Main BKGR (+10) to (-10) */ + background: qlineargradient(x1:0, y1:0, x2:0, y2:1, + stop:0 rgba( 58, 58, 58, 50% ), stop:1 rgba( 38, 38, 38, 50% )); + + border-color: rgba( 0, 0, 0, 50% ); /* Disabled Dark BORDER */ +} + +/* ---- QSpinBox + QDoubleSpinBox (Input) ------------------------------------- +| | +| Inheritance: QWidget => QAbstractSpinBox => QSpinBox | +| => QDoubleSpinBox | +| | + ---------------------------------------------------------------------------- */ + +QAbstractSpinBox { + qproperty-alignment: AlignCenter; +} + +QSpinBox, QDoubleSpinBox { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 38, 38, 38 ); /* Input BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ + + min-height: 1.20em; /* sets a fixed height */ + max-height: 1.20em; +} + +QSpinBox { + min-width: 1.5em; /* avoid too small SpinBox */ +} + +QSpinBox:hover, QDoubleSpinBox:hover { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 48, 48, 48 ); /* Input BKGR (hover) */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QSpinBox:focus, QDoubleSpinBox:focus { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 29, 29, 29 ); /* Input BKGR (focus) */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QSpinBox:!active, QDoubleSpinBox:!active { + selection-color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + selection-background-color: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +QSpinBox:disabled, QDoubleSpinBox:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgba( 38, 38, 38, 50% ); /* Input BKGR + Alpha */ + border-color: rgba( 114, 114, 114, 50% ); /* Disabled BORDER */ +} + +/* -- Buttons -- */ + +QSpinBox::up-button, QDoubleSpinBox::up-button { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-radius: 0px; + padding: 0px; + + border-top-right-radius: 4px; + border-left-color: rgb( 84, 84, 84 ); /* Light BKGR */ + + subcontrol-origin: padding; /* margin, border, PADDING, content */ + subcontrol-position: top right; /* TOP, bottom, left, RIGHT, center */ + + width: 1.0em; + height: 0.5em; +} + +QSpinBox::down-button, QDoubleSpinBox::down-button { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-radius: 0px; + padding: 0px; + + border-bottom-right-radius: 4px; + border-left-color: rgb( 84, 84, 84 ); /* Light BKGR */ + + subcontrol-origin: padding; /* margin, border, PADDING, content */ + subcontrol-position: bottom right; /* top, BOTTOM, left, RIGHT, center */ + + width: 1.0em; + height: 0.5em; +} + +QSpinBox::up-button:disabled, QDoubleSpinBox::up-button:disabled { + border-left-color: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +QSpinBox::down-button:disabled, QDoubleSpinBox::down-button:disabled { + border-left-color: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +/* -- Arrows -- */ + +QSpinBox::up-arrow, QDoubleSpinBox::up-arrow { + image: url(julius:themes/greyblue2/chevron_up.svg); + + width: 0.95em; + height: 0.95em; + + top: 1px; /* move it down */ +} + +QSpinBox::down-arrow, QDoubleSpinBox::down-arrow { + image: url(julius:themes/greyblue2/chevron_down.svg); + + width: 0.95em; + height: 0.95em; + + top: -1px; /* move it up */ +} + +QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover { + image: url(julius:themes/greyblue2/chevron_up_hover.svg); +} + +QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover { + image: url(julius:themes/greyblue2/chevron_down_hover.svg); +} + +QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed { + image: url(julius:themes/greyblue2/chevron_up.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed { + image: url(julius:themes/greyblue2/chevron_down.svg); + + width: 0.80em; + height: 0.80em; +} + +QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled { + image: url(julius:themes/greyblue2/chevron_up_disabled.svg); +} + +QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled { + image: url(julius:themes/greyblue2/chevron_down_disabled.svg); +} + +QSpinBox::up-arrow:off, QDoubleSpinBox::up-arrow:off { + image: url(julius:themes/greyblue2/chevron_up_disabled.svg); +} + +QSpinBox::down-arrow:off, QDoubleSpinBox::down-arrow:off { + image: url(julius:themes/greyblue2/chevron_down_disabled.svg); +} + +/* ---- QLineEdit (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QLineEdit | +| | + ---------------------------------------------------------------------------- */ + +QLineEdit { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 38, 38, 38 ); /* Input BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ + + min-width: 2.80em; + + min-height: 1.20em; /* sets a fixed height */ + max-height: 1.20em; +} + +QLineEdit:hover { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 48, 48, 48 ); /* Input BKGR (hover) */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QLineEdit:focus { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 29, 29, 29 ); /* Input BKGR (focus) */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QLineEdit:!active { + selection-color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + selection-background-color: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +QLineEdit:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgba( 38, 38, 38, 50% ); /* Input BKGR + Alpha */ + border-color: rgba( 114, 114, 114, 50% ); /* Disabled BORDER */ + +} + +/* ---- QComboBox (Input) ----------------------------------------------------- +| | +| Inheritance: QWidget => QComboBox | +| | +| Inheritance of the pop-up window: | +| | +| QWidget => QFrame => QAbstractScrollArea => QAbstractItemView | +| | + ---------------------------------------------------------------------------- */ + +QComboBox { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: rgb( 38, 38, 38 ); /* Input BKGR */ + margin: 0px; + border: 1px solid rgb( 114, 114, 114 ); /* Main BORDER */ + border-radius: 4px; + padding: 0px 4px; /* space around [Text] */ + + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 71, 114, 179 ); /* Main BLUE */ + + min-height: 1.20em; /* sets a fixed height */ + max-height: 1.20em; +} + +QComboBox:hover { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 48, 48, 48 ); /* Input BKGR (hover) */ + border-color: rgb( 154, 154, 154 ); /* Main BORDER (hover) */ +} + +QComboBox:focus { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 29, 29, 29 ); /* Input BKGR (focus) */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QComboBox:on:editable { /* ON when pop-up is open */ + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 60, 96, 151 ); /* Dark BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QComboBox:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ + background: rgba( 38, 38, 38, 50% ); /* Input BKGR + Alpha */ + border-color: rgba( 114, 114, 114, 50% ); /* Disabled BORDER */ +} + +/* -- Button -- */ + +QComboBox::drop-down { + background: transparent; + margin: 0px; + border: 1px solid transparent; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + padding: 0px; + + border-left-color: rgb( 84, 84, 84 ); /* Light BKGR */ + + subcontrol-origin: padding; /* margin, border, PADDING, content */ + subcontrol-position: center right; /* TOP, bottom, left, RIGHT, center */ + + width: 1.0em; +} + +QComboBox::drop-down:on { + border-left-color: rgb( 71, 114, 179 ); /* Main BLUE */ +} + +QComboBox::drop-down:disabled { + border-left-color: rgb( 64, 64, 64 ); /* Mid BKGR */ +} + +/* -- Arrow -- */ + +QComboBox::down-arrow { + image: url(julius:themes/greyblue2/chevron_down.svg); + + width: 0.95em; + height: 0.95em; +} + +QComboBox::down-arrow:hover { + image: url(julius:themes/greyblue2/chevron_down_hover.svg); +} + +QComboBox::down-arrow:disabled { + image: url(julius:themes/greyblue2/chevron_down_disabled.svg); +} + +/* -- Pop-up Frame -- */ + +QComboBox QAbstractItemView { + color: rgb( 220, 220, 220 ); /* Main TEXT */ + background: rgb( 24, 24, 24 ); /* Dark BKGR */ + margin: 0px; + border: 1px solid rgb( 0, 0, 0 ); /* Dark BORDER */ + border-radius: 0px; + outline: none; + padding: 2px; /* space around [Content] */ + + /* Selected Item in the list of editable ComboBox */ + selection-color: rgb( 255, 255, 255 ); /* Selected TEXT */ + selection-background-color: rgb( 84, 84, 84 ); /* Light BKGR */ +} + +/* Avoid visible QListView:hover border */ + +QComboBox QAbstractItemView:hover { + border-color: rgb( 0, 0, 0 ); /* Dark BORDER */ +} + +/* -- Checkmark -- */ + +/* A checkmark is shown when using "QComboBox::item". This removes it and + the space it leaves. */ + +QComboBox::indicator { + image: none; /* remove the checkmark */ + + width: 0px; + height: 0px; +} + +QComboBox QAbstractItemView { + icon-size: 0px 0px; /* remove the space */ +} + +/* -- Items -- */ + +QComboBox::item { + color: rgb( 200, 200, 200 ); /* Secondary TEXT */ + background: transparent; + margin: 1px; /* space around [Items] */ + border: 1px solid transparent; + border-radius: 4px; + padding: 0px; + + max-height: 1.0em; /* it takes full window height if not set */ +} + +QComboBox::item:selected { /* hover */ + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 84, 84, 84 ); /* Light BKGR */ + border-color: rgb( 114, 114, 114 ); /* Main BORDER */ +} + +QComboBox::item:checked { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgba( 71, 114, 179, 75% ); /* Main BLUE + Alpha */ + border-color: rgba( 96, 155, 243, 75% ); /* Light BLUE + Alpha */ +} + +QComboBox::item:checked:selected { + color: rgb( 255, 255, 255 ); /* Selected TEXT */ + background: rgb( 71, 114, 179 ); /* Main BLUE */ + border-color: rgb( 96, 155, 243 ); /* Light BLUE */ +} + +QComboBox::item:disabled { + color: rgba( 220, 220, 220, 50% ); /* Disabled TEXT */ +} + +/* ---- QSizeGrip ( ) --------------------------------------------------------- +| | +| Inheritance: QWidget => QSizeGrip | +| | + ---------------------------------------------------------------------------- */ + +/* Used in: Select Font window */ + +QSizeGrip { + background: transparent; + image: url(julius:themes/greyblue2/resize_handle.svg); + + width: 16px; /* width: 0.70em; */ + height: 16px; /* height: 0.70em; */ +} + +/* EOF ------------------------------- EOF ------------------------------ EOF */ diff --git a/setup/data/tools/themes/greyblue2/arrow_down.svg b/setup/data/tools/themes/greyblue2/arrow_down.svg new file mode 100644 index 00000000..8b9e1098 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_down.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_down_selected.svg b/setup/data/tools/themes/greyblue2/arrow_down_selected.svg new file mode 100644 index 00000000..7b6ddac8 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_down_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_left.svg b/setup/data/tools/themes/greyblue2/arrow_left.svg new file mode 100644 index 00000000..cef8dd47 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_left.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_left_selected.svg b/setup/data/tools/themes/greyblue2/arrow_left_selected.svg new file mode 100644 index 00000000..9e107327 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_left_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_right.svg b/setup/data/tools/themes/greyblue2/arrow_right.svg new file mode 100644 index 00000000..e7c97c0b --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_right.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_right_selected.svg b/setup/data/tools/themes/greyblue2/arrow_right_selected.svg new file mode 100644 index 00000000..0da6ea58 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_right_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_up.svg b/setup/data/tools/themes/greyblue2/arrow_up.svg new file mode 100644 index 00000000..e7e902d3 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_up.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/arrow_up_selected.svg b/setup/data/tools/themes/greyblue2/arrow_up_selected.svg new file mode 100644 index 00000000..9d17bf58 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/arrow_up_selected.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/branch.svg b/setup/data/tools/themes/greyblue2/branch.svg new file mode 100644 index 00000000..c3b5fd50 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/branch.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/branch_end.svg b/setup/data/tools/themes/greyblue2/branch_end.svg new file mode 100644 index 00000000..90e89924 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/branch_end.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/branch_more.svg b/setup/data/tools/themes/greyblue2/branch_more.svg new file mode 100644 index 00000000..b7d002b8 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/branch_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_checked.svg b/setup/data/tools/themes/greyblue2/checkbox_checked.svg new file mode 100644 index 00000000..91cdfde1 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_checked_disabled.svg b/setup/data/tools/themes/greyblue2/checkbox_checked_disabled.svg new file mode 100644 index 00000000..c0f9c70e --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_checked_selected.svg b/setup/data/tools/themes/greyblue2/checkbox_checked_selected.svg new file mode 100644 index 00000000..fd2c4ad3 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_unchecked.svg b/setup/data/tools/themes/greyblue2/checkbox_unchecked.svg new file mode 100644 index 00000000..7fb8c4d7 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_unchecked_disabled.svg b/setup/data/tools/themes/greyblue2/checkbox_unchecked_disabled.svg new file mode 100644 index 00000000..190c797b --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/checkbox_unchecked_selected.svg b/setup/data/tools/themes/greyblue2/checkbox_unchecked_selected.svg new file mode 100644 index 00000000..86def24e --- /dev/null +++ b/setup/data/tools/themes/greyblue2/checkbox_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_down.svg b/setup/data/tools/themes/greyblue2/chevron_down.svg new file mode 100644 index 00000000..c3d0833f --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_down.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_down_disabled.svg b/setup/data/tools/themes/greyblue2/chevron_down_disabled.svg new file mode 100644 index 00000000..a155fd07 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_down_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_down_hover.svg b/setup/data/tools/themes/greyblue2/chevron_down_hover.svg new file mode 100644 index 00000000..d3694374 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_down_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_up.svg b/setup/data/tools/themes/greyblue2/chevron_up.svg new file mode 100644 index 00000000..896c869d --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_up.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_up_disabled.svg b/setup/data/tools/themes/greyblue2/chevron_up_disabled.svg new file mode 100644 index 00000000..6c8cc987 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_up_disabled.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/chevron_up_hover.svg b/setup/data/tools/themes/greyblue2/chevron_up_hover.svg new file mode 100644 index 00000000..ceca54ab --- /dev/null +++ b/setup/data/tools/themes/greyblue2/chevron_up_hover.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/menu_more.svg b/setup/data/tools/themes/greyblue2/menu_more.svg new file mode 100644 index 00000000..0c955cd6 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/menu_more.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_checked.svg b/setup/data/tools/themes/greyblue2/radiobutton_checked.svg new file mode 100644 index 00000000..73535df8 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_checked.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_checked_disabled.svg b/setup/data/tools/themes/greyblue2/radiobutton_checked_disabled.svg new file mode 100644 index 00000000..2229608a --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_checked_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_checked_selected.svg b/setup/data/tools/themes/greyblue2/radiobutton_checked_selected.svg new file mode 100644 index 00000000..6c169ba4 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_checked_selected.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_unchecked.svg b/setup/data/tools/themes/greyblue2/radiobutton_unchecked.svg new file mode 100644 index 00000000..5e0ddf11 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_unchecked.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_unchecked_disabled.svg b/setup/data/tools/themes/greyblue2/radiobutton_unchecked_disabled.svg new file mode 100644 index 00000000..4e854411 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_unchecked_disabled.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/radiobutton_unchecked_selected.svg b/setup/data/tools/themes/greyblue2/radiobutton_unchecked_selected.svg new file mode 100644 index 00000000..72f8e1f9 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/radiobutton_unchecked_selected.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/resize_handle.svg b/setup/data/tools/themes/greyblue2/resize_handle.svg new file mode 100644 index 00000000..713ee9f3 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/resize_handle.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/slider_handle.svg b/setup/data/tools/themes/greyblue2/slider_handle.svg new file mode 100644 index 00000000..73535df8 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/slider_handle.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/slider_handle_disabled.svg b/setup/data/tools/themes/greyblue2/slider_handle_disabled.svg new file mode 100644 index 00000000..1a73a58e --- /dev/null +++ b/setup/data/tools/themes/greyblue2/slider_handle_disabled.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/slider_handle_hover.svg b/setup/data/tools/themes/greyblue2/slider_handle_hover.svg new file mode 100644 index 00000000..6c169ba4 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/slider_handle_hover.svg @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/splitter_handle_horiz.svg b/setup/data/tools/themes/greyblue2/splitter_handle_horiz.svg new file mode 100644 index 00000000..6b440d20 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/splitter_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/splitter_handle_vert.svg b/setup/data/tools/themes/greyblue2/splitter_handle_vert.svg new file mode 100644 index 00000000..e691b844 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/splitter_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/toolbar_handle_horiz.svg b/setup/data/tools/themes/greyblue2/toolbar_handle_horiz.svg new file mode 100644 index 00000000..0c955cd6 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/toolbar_handle_horiz.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/toolbar_handle_vert.svg b/setup/data/tools/themes/greyblue2/toolbar_handle_vert.svg new file mode 100644 index 00000000..23b06971 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/toolbar_handle_vert.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_closed.svg b/setup/data/tools/themes/greyblue2/tree_closed.svg new file mode 100644 index 00000000..82ec6d2b --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_closed.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_closed_end.svg b/setup/data/tools/themes/greyblue2/tree_closed_end.svg new file mode 100644 index 00000000..a8b0e060 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_closed_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_closed_end_hover.svg b/setup/data/tools/themes/greyblue2/tree_closed_end_hover.svg new file mode 100644 index 00000000..6df52013 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_closed_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_closed_hover.svg b/setup/data/tools/themes/greyblue2/tree_closed_hover.svg new file mode 100644 index 00000000..8f067831 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_closed_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_open.svg b/setup/data/tools/themes/greyblue2/tree_open.svg new file mode 100644 index 00000000..870faa13 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_open.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_open_end.svg b/setup/data/tools/themes/greyblue2/tree_open_end.svg new file mode 100644 index 00000000..dfb521f2 --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_open_end.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_open_end_hover.svg b/setup/data/tools/themes/greyblue2/tree_open_end_hover.svg new file mode 100644 index 00000000..35b5348e --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_open_end_hover.svg @@ -0,0 +1,20 @@ + + + + + + + diff --git a/setup/data/tools/themes/greyblue2/tree_open_hover.svg b/setup/data/tools/themes/greyblue2/tree_open_hover.svg new file mode 100644 index 00000000..1ab24d3f --- /dev/null +++ b/setup/data/tools/themes/greyblue2/tree_open_hover.svg @@ -0,0 +1,20 @@ + + + + + + +