Changed painter, add visual studio project.
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
/* Borders: #3d3d3d, #4d4d4d */
|
||||
|
||||
/* === QWidget Base === */
|
||||
QWidget {
|
||||
QWidget
|
||||
{
|
||||
background-color: #202020;
|
||||
color: #ffffff;
|
||||
font-family: "Segoe UI", "Roboto", sans-serif;
|
||||
@@ -21,12 +22,14 @@ QLabel#_headerLabel
|
||||
/*font-weight: bold;*/
|
||||
}
|
||||
|
||||
QWidget:disabled {
|
||||
QWidget:disabled
|
||||
{
|
||||
color: #6d6d6d;
|
||||
}
|
||||
|
||||
/* === QToolButton === */
|
||||
QToolButton {
|
||||
QToolButton
|
||||
{
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
border: 1px solid transparent;
|
||||
@@ -35,34 +38,40 @@ QToolButton {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
QToolButton:hover {
|
||||
QToolButton:hover
|
||||
{
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
QToolButton:pressed {
|
||||
QToolButton:pressed
|
||||
{
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
QToolButton:checked {
|
||||
QToolButton:checked
|
||||
{
|
||||
background-color: rgba(0, 120, 212, 0.15);
|
||||
border: 1px solid #0078d4;
|
||||
color: #0078d4;
|
||||
}
|
||||
|
||||
QToolButton:checked:hover {
|
||||
QToolButton:checked:hover
|
||||
{
|
||||
background-color: rgba(0, 120, 212, 0.25);
|
||||
}
|
||||
|
||||
QToolButton:disabled {
|
||||
QToolButton:disabled
|
||||
{
|
||||
color: #6d6d6d;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/* Basis-Zustand: Alles weg */
|
||||
QToolButton#_commitButton {
|
||||
QToolButton#_commitButton
|
||||
{
|
||||
background: transparent;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
@@ -71,8 +80,6 @@ QToolButton#_commitButton {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* WICHTIG: Auch die interaktiven Zustände überschreiben,
|
||||
sonst flackert der Standard-Style beim Klicken wieder auf */
|
||||
|
||||
QToolButton#_commitButton:hover
|
||||
{
|
||||
@@ -99,7 +106,8 @@ QToolButton#_commitButton:focus
|
||||
}
|
||||
|
||||
/* === QTableView === */
|
||||
QTableView {
|
||||
QTableView
|
||||
{
|
||||
background-color: #2b2b2b;
|
||||
color: #ffffff;
|
||||
border: 1px solid #3d3d3d;
|
||||
@@ -108,31 +116,27 @@ QTableView {
|
||||
selection-color: #ffffff;
|
||||
}
|
||||
|
||||
QTableView::item {
|
||||
padding: 8px;
|
||||
QTableView::item
|
||||
{
|
||||
padding: 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QTableView::item:hover {
|
||||
QTableView::item:hover
|
||||
{
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
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.5);
|
||||
QTableView::item:selected
|
||||
{
|
||||
background-color: green;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
/* === QScrollBar Vertical === */
|
||||
QScrollBar:vertical {
|
||||
QScrollBar:vertical
|
||||
{
|
||||
background: transparent;
|
||||
width: 12px;
|
||||
margin: 0;
|
||||
@@ -213,4 +217,4 @@ QTableView QTableCornerButton::section
|
||||
border: none;
|
||||
border-right: 1px solid #3d3d3d;
|
||||
border-bottom: 1px solid #3d3d3d;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user