Changed styles.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user