cherry-pick #5: theme QSS refinements (eb80c07f57)

Resolved conflicts: kept HEAD versions of QSS (has later refinements),
InitGui.py (has newer origin architecture), and silo submodule.
This commit is contained in:
forbes
2026-02-13 14:06:36 -06:00
parent b37667d56d
commit af9837abf1
3 changed files with 427 additions and 14 deletions

View File

@@ -247,8 +247,9 @@ QDockWidget {
QDockWidget::title {
background-color: #181825;
color: #cdd6f4;
padding: 6px;
padding: 8px 6px;
border-bottom: 1px solid #313244;
min-height: 18px;
}
QDockWidget::close-button,
@@ -465,13 +466,35 @@ QSpinBox::down-button:pressed, QDoubleSpinBox::down-button:pressed {
}
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
width: 8px;
height: 8px;
width: 0px;
height: 0px;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 6px solid #cdd6f4;
}
QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover {
border-bottom-color: #f5e0dc;
}
QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled {
border-bottom-color: #6c7086;
}
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
width: 8px;
height: 8px;
width: 0px;
height: 0px;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 6px solid #cdd6f4;
}
QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover {
border-top-color: #f5e0dc;
}
QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled {
border-top-color: #6c7086;
}
/* =============================================================================
@@ -516,8 +539,15 @@ QComboBox::drop-down:hover {
}
QComboBox::down-arrow {
width: 10px;
height: 10px;
width: 0px;
height: 0px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #cdd6f4;
}
QComboBox::down-arrow:disabled {
border-top-color: #6c7086;
}
QComboBox QAbstractItemView {
@@ -757,6 +787,16 @@ QTreeView::branch:selected {
background-color: #45475a;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
image: url(qss:images_dark-light/branch_closed.svg);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
image: url(qss:images_dark-light/branch_open.svg);
}
/* =============================================================================
List View
============================================================================= */
@@ -830,6 +870,7 @@ QHeaderView::section {
border-right: 1px solid #45475a;
border-bottom: 1px solid #45475a;
padding: 6px 8px;
min-height: 20px;
}
QHeaderView::section:hover {
@@ -842,13 +883,19 @@ QHeaderView::section:checked {
}
QHeaderView::down-arrow {
width: 10px;
height: 10px;
width: 0px;
height: 0px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #cdd6f4;
}
QHeaderView::up-arrow {
width: 10px;
height: 10px;
width: 0px;
height: 0px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 6px solid #cdd6f4;
}
/* =============================================================================
@@ -1103,7 +1150,8 @@ QSint--ActionGroup QToolButton {
color: #cdd6f4;
border: none;
border-radius: 4px;
padding: 6px;
padding: 8px 6px;
min-height: 18px;
}
QSint--ActionGroup QToolButton:hover {
@@ -1151,6 +1199,16 @@ SpreadsheetGui--SheetTableView QHeaderView::section {
padding: 4px;
}
/* Spreadsheet cell editor - reduce padding for better text visibility */
SpreadsheetGui--SheetTableView QLineEdit {
background-color: #313244;
color: #cdd6f4;
border: 1px solid #cba6f7;
border-radius: 0px;
padding: 1px 2px;
margin: 0px;
}
/* Python Console */
Gui--PythonConsole {
background-color: #11111b;