Changed styles.

This commit is contained in:
2026-01-11 20:01:33 +01:00
parent 25e752e83b
commit 5c919e4d55
9 changed files with 89 additions and 177 deletions

View File

@@ -60,35 +60,48 @@ QToolButton:disabled {
background-color: transparent;
}
/* ToolButton mit Icon */
QToolButton[popupMode="1"] { /* MenuButtonPopup */
padding-right: 20px;
}
QToolButton::menu-button {
/* Basis-Zustand: Alles weg */
QToolButton#_commitButton {
background: transparent;
background-color: transparent;
border: none;
border-left: 1px solid rgba(255, 255, 255, 0.1);
width: 16px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
outline: none; /* Entfernt den Fokus-Rahmen (gepunktete Linie) */
padding: 0px; /* Entfernt Innenabstand */
margin: 0px;
}
QToolButton::menu-button:hover {
background-color: rgba(255, 255, 255, 0.1);
/* 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;
}
QToolButton::menu-arrow {
image: url(:/icons/chevron-down-white.svg);
width: 10px;
height: 10px;
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;
alternate-background-color: #252525;
color: #ffffff;
gridline-color: #3d3d3d;
border: 1px solid #3d3d3d;
border-radius: 4px;
selection-background-color: #0078d4;
@@ -183,7 +196,8 @@ QScrollBar::sub-page:horizontal {
}
/* === QToolTip === */
QToolTip {
QToolTip
{
background-color: #323232;
color: #ffffff;
border: 1px solid #4d4d4d;
@@ -193,7 +207,8 @@ QToolTip {
}
/* === Corner Widget (zwischen Scrollbars) === */
QTableView QTableCornerButton::section {
QTableView QTableCornerButton::section
{
background-color: #323232;
border: none;
border-right: 1px solid #3d3d3d;

View File

@@ -60,27 +60,42 @@ QToolButton:disabled {
background-color: transparent;
}
/* ToolButton mit Icon */
QToolButton[popupMode="1"] { /* MenuButtonPopup */
padding-right: 20px;
}
QToolButton::menu-button {
/* Basis-Zustand: Alles weg */
QToolButton#_commitButton {
background: transparent;
background-color: transparent;
border: none;
border-left: 1px solid rgba(0, 0, 0, 0.1);
width: 16px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
outline: none; /* Entfernt den Fokus-Rahmen (gepunktete Linie) */
padding: 0px; /* Entfernt Innenabstand */
margin: 0px;
}
QToolButton::menu-button:hover {
background-color: rgba(0, 0, 0, 0.05);
/* 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;
}
QToolButton::menu-arrow {
image: url(:/icons/chevron-down-black.svg);
width: 10px;
height: 10px;
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 === */
@@ -96,7 +111,7 @@ QTableView {
}
QTableView::item {
padding: 8px;
/*padding: 8px;*/
border: none;
}
@@ -109,15 +124,21 @@ QTableView::item:selected {
color: #ffffff;
}
QTableView::item:selected:hover {
QTableView::item:selected:hover
{
background-color: #005a9e;
}
QTableView::item:selected:!active {
QTableView::item:selected:!active
{
background-color: rgba(0, 120, 212, 0.3);
color: #1f1f1f;
}
QTableView:focus
{
outline: none;
}
/* === QScrollBar Vertical === */
QScrollBar:vertical {
@@ -216,13 +237,15 @@ 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;
}
}