Fixed light & dark modes.
This commit is contained in:
@@ -1,20 +1,3 @@
|
||||
/* appqss */
|
||||
|
||||
/* Alle QWidgets bekommen diesen Font */
|
||||
QWidget
|
||||
{
|
||||
font-family: "Calibri", "Carlito", "Open Sans", sans-serif;
|
||||
font-size: 10pt;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
QLabel#_headerLabel
|
||||
{
|
||||
font-size: 14pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* ===== Fluent Dark Mode Theme ===== */
|
||||
/* Basierend auf Microsoft Fluent Design System */
|
||||
|
||||
@@ -32,6 +15,12 @@ QWidget {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
QLabel#_headerLabel
|
||||
{
|
||||
font-size: 18pt;
|
||||
/*font-weight: bold;*/
|
||||
}
|
||||
|
||||
QWidget:disabled {
|
||||
color: #6d6d6d;
|
||||
}
|
||||
@@ -128,55 +117,6 @@ QTableView::item:selected:!active {
|
||||
background-color: rgba(0, 120, 212, 0.5);
|
||||
}
|
||||
|
||||
/* === QHeaderView === */
|
||||
QHeaderView {
|
||||
background-color: #323232;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QHeaderView::section {
|
||||
background-color: #323232;
|
||||
color: #e4e4e4;
|
||||
padding: 8px 12px;
|
||||
border: none;
|
||||
border-right: 1px solid #3d3d3d;
|
||||
border-bottom: 1px solid #3d3d3d;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
QHeaderView::section:horizontal {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:vertical {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
QHeaderView::section:hover {
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
QHeaderView::section:pressed {
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
QHeaderView::section:checked {
|
||||
background-color: rgba(0, 120, 212, 0.15);
|
||||
color: #0078d4;
|
||||
}
|
||||
|
||||
/* Sort indicator */
|
||||
QHeaderView::up-arrow {
|
||||
image: url(:/icons/arrow-up-white.svg);
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
QHeaderView::down-arrow {
|
||||
image: url(:/icons/arrow-down-white.svg);
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
/* === QScrollBar Vertical === */
|
||||
QScrollBar:vertical {
|
||||
@@ -242,35 +182,6 @@ QScrollBar::sub-page:horizontal {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* === QMenu (für ToolButton Dropdown) === */
|
||||
QMenu {
|
||||
background-color: #2b2b2b;
|
||||
border: 1px solid #3d3d3d;
|
||||
border-radius: 4px;
|
||||
padding: 4px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 6px 24px 6px 12px;
|
||||
border-radius: 4px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
QMenu::item:selected {
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
QMenu::item:pressed {
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
QMenu::separator {
|
||||
height: 1px;
|
||||
background: #3d3d3d;
|
||||
margin: 4px 8px;
|
||||
}
|
||||
|
||||
/* === QToolTip === */
|
||||
QToolTip {
|
||||
background-color: #323232;
|
||||
|
||||
Reference in New Issue
Block a user