231 lines
3.9 KiB
Plaintext
231 lines
3.9 KiB
Plaintext
/* ===== Fluent Dark Mode Theme ===== */
|
|
/* Basierend auf Microsoft Fluent Design System */
|
|
|
|
/* === Color Palette === */
|
|
/* Background: #202020, #2b2b2b, #323232 */
|
|
/* Accent: #0078d4 (Fluent Blue) */
|
|
/* Text: #ffffff, #e4e4e4 */
|
|
/* Borders: #3d3d3d, #4d4d4d */
|
|
|
|
/* === QWidget Base === */
|
|
QWidget
|
|
{
|
|
background-color: #202020;
|
|
color: #ffffff;
|
|
font-family: "Segoe UI", "Roboto", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
QLabel#_headerLabel
|
|
{
|
|
font-size: 18pt;
|
|
/*font-weight: bold;*/
|
|
}
|
|
|
|
QWidget:disabled
|
|
{
|
|
color: #6d6d6d;
|
|
}
|
|
|
|
/* === QToolButton === */
|
|
QToolButton
|
|
{
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
padding: 6px 12px;
|
|
margin: 2px;
|
|
}
|
|
|
|
QToolButton:hover
|
|
{
|
|
background-color: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
QToolButton:pressed
|
|
{
|
|
background-color: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
QToolButton:checked
|
|
{
|
|
background-color: rgba(0, 120, 212, 0.15);
|
|
border: 1px solid #0078d4;
|
|
color: #0078d4;
|
|
}
|
|
|
|
QToolButton:checked:hover
|
|
{
|
|
background-color: rgba(0, 120, 212, 0.25);
|
|
}
|
|
|
|
QToolButton:disabled
|
|
{
|
|
color: #6d6d6d;
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|
|
|
|
|
|
QToolButton#_commitButton:hover
|
|
{
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
border: none;
|
|
}
|
|
|
|
QToolButton#_commitButton:pressed
|
|
{
|
|
background-color: rgba(0, 0, 0, 0.06);
|
|
border: none;
|
|
}
|
|
|
|
QToolButton#_commitButton:checked
|
|
{
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
QToolButton#_commitButton:focus
|
|
{
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
/* === QTableView === */
|
|
QTableView
|
|
{
|
|
background-color: #2b2b2b;
|
|
color: #ffffff;
|
|
border: 1px solid #3d3d3d;
|
|
border-radius: 4px;
|
|
selection-background-color: #0078d4;
|
|
selection-color: #ffffff;
|
|
outline: 0;
|
|
}
|
|
|
|
QTableView::item
|
|
{
|
|
padding: 0px;
|
|
border: none;
|
|
outline: 0;
|
|
}
|
|
|
|
/*
|
|
QTableView::item:focus
|
|
{
|
|
outline: 0;
|
|
background-color: blue;
|
|
}
|
|
*/
|
|
|
|
QTableView::item:hover
|
|
{
|
|
background-color: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
QTableView::item:selected
|
|
{
|
|
border: none;
|
|
}
|
|
|
|
|
|
/* === Corner Widget (zwischen Scrollbars) === */
|
|
QTableView QTableCornerButton::section
|
|
{
|
|
background-color: #323232;
|
|
border: none;
|
|
border-right: 1px solid #3d3d3d;
|
|
border-bottom: 1px solid #3d3d3d;
|
|
}
|
|
|
|
|
|
/* === QScrollBar Vertical === */
|
|
QScrollBar:vertical
|
|
{
|
|
background: transparent;
|
|
width: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
min-height: 30px;
|
|
border-radius: 6px;
|
|
margin: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover {
|
|
background: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
QScrollBar::handle:vertical:pressed {
|
|
background: rgba(255, 255, 255, 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(255, 255, 255, 0.2);
|
|
min-width: 30px;
|
|
border-radius: 6px;
|
|
margin: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal:hover {
|
|
background: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
QScrollBar::handle:horizontal:pressed {
|
|
background: rgba(255, 255, 255, 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: #323232;
|
|
color: #ffffff;
|
|
border: 1px solid #4d4d4d;
|
|
border-radius: 4px;
|
|
padding: 6px 8px;
|
|
font-size: 13px;
|
|
}
|