228 lines
4.4 KiB
Plaintext
228 lines
4.4 KiB
Plaintext
/* ===== Fluent Light Mode Theme ===== */
|
|
/* Basierend auf Microsoft Fluent Design System */
|
|
|
|
/* === Color Palette === */
|
|
/* Background: #f3f3f3, #ffffff, #fafafa */
|
|
/* Accent: #0078d4 (Fluent Blue) */
|
|
/* Text: #000000, #1f1f1f */
|
|
/* Borders: #e1e1e1, #d1d1d1 */
|
|
|
|
/* === QWidget Base === */
|
|
QWidget {
|
|
background-color: #f3f3f3;
|
|
color: #1f1f1f;
|
|
font-family: "Segoe UI", "Roboto", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
QLabel#_headerLabel
|
|
{
|
|
font-size: 18pt;
|
|
/*font-weight: bold;*/
|
|
}
|
|
|
|
QWidget:disabled {
|
|
color: #a0a0a0;
|
|
}
|
|
|
|
/* === QToolButton === */
|
|
QToolButton {
|
|
background-color: transparent;
|
|
color: #1f1f1f;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
padding: 6px 12px;
|
|
margin: 2px;
|
|
}
|
|
|
|
QToolButton:hover {
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
QToolButton:pressed {
|
|
background-color: rgba(0, 0, 0, 0.06);
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
QToolButton:checked {
|
|
background-color: rgba(0, 120, 212, 0.1);
|
|
border: 1px solid #0078d4;
|
|
color: #0078d4;
|
|
}
|
|
|
|
QToolButton:checked:hover {
|
|
background-color: rgba(0, 120, 212, 0.15);
|
|
}
|
|
|
|
QToolButton:disabled {
|
|
color: #a0a0a0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* ToolButton mit Icon */
|
|
QToolButton[popupMode="1"] { /* MenuButtonPopup */
|
|
padding-right: 20px;
|
|
}
|
|
|
|
QToolButton::menu-button {
|
|
border: none;
|
|
border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
width: 16px;
|
|
border-top-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
|
|
QToolButton::menu-button:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
QToolButton::menu-arrow {
|
|
image: url(:/icons/chevron-down-black.svg);
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
/* === QTableView === */
|
|
QTableView {
|
|
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;
|
|
}
|
|
|
|
QTableView::item {
|
|
padding: 8px;
|
|
border: none;
|
|
}
|
|
|
|
QTableView::item:hover {
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
QTableView::item:selected {
|
|
background-color: #0078d4;
|
|
color: #ffffff;
|
|
}
|
|
|
|
QTableView::item:selected:hover {
|
|
background-color: #005a9e;
|
|
}
|
|
|
|
QTableView::item:selected:!active {
|
|
background-color: rgba(0, 120, 212, 0.3);
|
|
color: #1f1f1f;
|
|
}
|
|
|
|
|
|
/* === QScrollBar Vertical === */
|
|
QScrollBar:vertical {
|
|
background: transparent;
|
|
width: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
min-height: 30px;
|
|
border-radius: 6px;
|
|
margin: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
QScrollBar::handle:vertical:pressed {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
QScrollBar::add-line:vertical,
|
|
QScrollBar::sub-line:vertical {
|
|
height: 0px;
|
|
}
|
|
|
|
QScrollBar::add-page:vertical,
|
|
QScrollBar::sub-page:vertical {
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
QLineEdit:focus {
|
|
border: 1px solid #0078d4;
|
|
border-bottom: 2px solid #0078d4;
|
|
}
|
|
|
|
QLineEdit:disabled {
|
|
background-color: #fafafa;
|
|
color: #a0a0a0;
|
|
border: 1px solid #e1e1e1;
|
|
} |