Files
BionxControl/resources/bc_light.qss

261 lines
4.7 KiB
Plaintext
Raw Normal View History

2026-01-07 22:20:39 +01:00
/* ===== Fluent Light Mode Theme ===== */
/* Basierend auf Microsoft Fluent Design System */
2026-01-06 19:52:55 +01:00
2026-01-07 22:20:39 +01:00
/* === Color Palette === */
/* Background: #f3f3f3, #ffffff, #fafafa */
/* Accent: #0078d4 (Fluent Blue) */
/* Text: #000000, #1f1f1f */
/* Borders: #e1e1e1, #d1d1d1 */
2026-04-03 22:28:07 +02:00
2026-01-07 22:20:39 +01:00
/* === QWidget Base === */
QWidget {
background-color: #f3f3f3;
color: #1f1f1f;
font-family: "Segoe UI", "Roboto", sans-serif;
font-size: 14px;
2026-01-06 19:52:55 +01:00
}
QLabel#_headerLabel
{
2026-01-06 22:39:41 +01:00
font-size: 18pt;
/*font-weight: bold;*/
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QWidget:disabled {
color: #a0a0a0;
}
2026-01-06 19:52:55 +01:00
/* === QToolButton === */
2026-01-07 22:20:39 +01:00
QToolButton {
2026-01-06 19:52:55 +01:00
background-color: transparent;
2026-01-07 22:20:39 +01:00
color: #1f1f1f;
border: 1px solid transparent;
2026-01-06 19:52:55 +01:00
border-radius: 4px;
2026-01-07 22:20:39 +01:00
padding: 6px 12px;
margin: 2px;
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QToolButton:hover {
background-color: rgba(0, 0, 0, 0.03);
border: 1px solid rgba(0, 0, 0, 0.05);
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QToolButton:pressed {
background-color: rgba(0, 0, 0, 0.06);
border: 1px solid rgba(0, 0, 0, 0.08);
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QToolButton:checked {
background-color: rgba(0, 120, 212, 0.1);
border: 1px solid #0078d4;
color: #0078d4;
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QToolButton:checked:hover {
background-color: rgba(0, 120, 212, 0.15);
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QToolButton:disabled {
color: #a0a0a0;
background-color: transparent;
}
2026-01-06 19:52:55 +01:00
2026-01-11 20:01:33 +01:00
/* Basis-Zustand: Alles weg */
QToolButton#_commitButton {
background: transparent;
background-color: transparent;
border: none;
outline: none; /* Entfernt den Fokus-Rahmen (gepunktete Linie) */
padding: 0px; /* Entfernt Innenabstand */
margin: 0px;
}
/* WICHTIG: Auch die interaktiven Zustände überschreiben,
sonst flackert der Standard-Style beim Klicken wieder auf */
QToolButton#_commitButton:hover
{
background-color: rgba(0, 0, 0, 0.03);
border: none;
2026-01-07 22:20:39 +01:00
}
2026-01-06 19:52:55 +01:00
2026-01-11 20:01:33 +01:00
QToolButton#_commitButton:pressed
{
background-color: rgba(0, 0, 0, 0.06);
2026-01-07 22:20:39 +01:00
border: none;
}
2026-01-06 19:52:55 +01:00
2026-01-11 20:01:33 +01:00
QToolButton#_commitButton:checked
{
background-color: transparent;
border: none;
2026-01-06 19:52:55 +01:00
}
2026-01-11 20:01:33 +01:00
QToolButton#_commitButton:focus {
border: none;
outline: none;
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
/* === QTableView === */
QTableView
{
2026-01-07 22:20:39 +01:00
background-color: #ffffff;
alternate-background-color: #fafafa;
color: #1f1f1f;
gridline-color: #e1e1e1;
border: 1px solid #d1d1d1;
border-radius: 4px;
selection-background-color: #0078d4;
selection-color: #ffffff;
}
2026-01-06 19:52:55 +01:00
QTableView::item
{
2026-01-07 22:20:39 +01:00
border: none;
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QTableView::item:hover {
background-color: rgba(0, 0, 0, 0.03);
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QTableView::item:selected {
background-color: #0078d4;
color: #ffffff;
2026-01-06 19:52:55 +01:00
}
2026-01-11 20:01:33 +01:00
QTableView::item:selected:hover
{
2026-01-07 22:20:39 +01:00
background-color: #005a9e;
2026-01-06 19:52:55 +01:00
}
2026-01-11 20:01:33 +01:00
QTableView::item:selected:!active
{
2026-01-07 22:20:39 +01:00
background-color: rgba(0, 120, 212, 0.3);
color: #1f1f1f;
2026-01-06 19:52:55 +01:00
}
2026-01-11 20:01:33 +01:00
QTableView:focus
{
outline: none;
}
2026-01-07 22:20:39 +01:00
/* === QScrollBar Vertical === */
2026-01-06 19:52:55 +01:00
QScrollBar:vertical {
2026-01-07 22:20:39 +01:00
background: transparent;
2026-01-06 19:52:55 +01:00
width: 12px;
margin: 0;
}
QScrollBar::handle:vertical {
2026-01-07 22:20:39 +01:00
background: rgba(0, 0, 0, 0.25);
min-height: 30px;
2026-01-06 19:52:55 +01:00
border-radius: 6px;
margin: 2px;
}
QScrollBar::handle:vertical:hover {
2026-01-07 22:20:39 +01:00
background: rgba(0, 0, 0, 0.4);
2026-01-06 19:52:55 +01:00
}
QScrollBar::handle:vertical:pressed {
2026-01-07 22:20:39 +01:00
background: rgba(0, 0, 0, 0.5);
2026-01-06 19:52:55 +01:00
}
QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical {
height: 0px;
}
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical {
2026-01-07 22:20:39 +01:00
background: transparent;
}
/* === QScrollBar Horizontal === */
QScrollBar:horizontal {
background: transparent;
height: 12px;
margin: 0;
}
QScrollBar::handle:horizontal {
background: rgba(0, 0, 0, 0.25);
min-width: 30px;
border-radius: 6px;
margin: 2px;
}
QScrollBar::handle:horizontal:hover {
background: rgba(0, 0, 0, 0.4);
}
QScrollBar::handle:horizontal:pressed {
background: rgba(0, 0, 0, 0.5);
}
QScrollBar::add-line:horizontal,
QScrollBar::sub-line:horizontal {
width: 0px;
2026-01-06 19:52:55 +01:00
}
2026-01-07 22:20:39 +01:00
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal {
background: transparent;
}
/* === QToolTip === */
QToolTip {
background-color: #ffffff;
color: #1f1f1f;
border: 1px solid #d1d1d1;
border-radius: 4px;
padding: 6px 8px;
font-size: 13px;
}
/* === Corner Widget (zwischen Scrollbars) === */
QTableView QTableCornerButton::section {
background-color: #fafafa;
border: none;
border-right: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1;
}
/* QLineEdit */
QLineEdit {
background-color: #ffffff;
color: #1f1f1f;
border: 1px solid #d1d1d1;
border-radius: 4px;
padding: 6px 8px;
selection-background-color: #0078d4;
selection-color: #ffffff;
}
QLineEdit:hover {
border: 1px solid #a0a0a0;
}
2026-01-11 20:01:33 +01:00
/*
2026-01-07 22:20:39 +01:00
QLineEdit:focus {
border: 1px solid #0078d4;
border-bottom: 2px solid #0078d4;
}
2026-01-11 20:01:33 +01:00
*/
2026-01-06 19:52:55 +01:00
2026-01-07 22:20:39 +01:00
QLineEdit:disabled {
background-color: #fafafa;
color: #a0a0a0;
border: 1px solid #e1e1e1;
2026-01-11 20:01:33 +01:00
}
2026-04-03 22:28:07 +02:00
2026-04-04 14:29:18 +02:00
/*
2026-04-03 22:28:07 +02:00
QSlider {
background: hotpink;
}
2026-04-04 14:29:18 +02:00
*/