Skip to content

Commit

Permalink
qss
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jul 12, 2024
1 parent 7fdd609 commit 7e65952
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions src/qss/dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ QWidget {
color: white;
}

/* Disabled */
QWidget:disabled,
QGroupBox:disabled {
background-color: #525252;
}

/* DockWidget & Title */
.QWidget,
QDialog,
Expand All @@ -29,9 +35,8 @@ Browser .ModList {
Browser .QWidget,
Browser .QWidget .QScrollArea,
QDockWidget .QWidget,
QDockWidget .QTextBrowser,
QDockWidget .WebTextBrowser,
QDockWidget .QScrollArea,
QDockWidget .QToolButton,
QDockWidget .QLabel {
background-color: transparent;
}
Expand Down Expand Up @@ -140,11 +145,6 @@ QTreeView.PageSelector::item::hover {
color: white;
}

/* Disabled */
QWidget[enabled=false] {
background-color: #525252;
}

/* Other Controls */
QToolBar {
border: 1px solid #d3d3d3;
Expand Down Expand Up @@ -200,6 +200,7 @@ QToolButton[autoRaise=true] {
}

QMenu,
QMenu:disabled,
QComboBox QAbstractItemView {
font-size: 10pt;
background-color: #424242;
Expand Down
15 changes: 8 additions & 7 deletions src/qss/light.qss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ QWidget {
color: black;
}

/* Disabled */
QWidget:disabled,
QGroupBox:disabled {
background-color: #cfcfcf;
}

/* DockWidget & Title */
.QWidget,
QDialog,
Expand All @@ -29,9 +35,8 @@ Browser .ModList {
Browser .QWidget,
Browser .QWidget .QScrollArea,
QDockWidget .QWidget,
QDockWidget .QTextBrowser,
QDockWidget .WebTextBrowser,
QDockWidget .QScrollArea,
QDockWidget .QToolButton,
QDockWidget .QLabel {
background-color: transparent;
}
Expand Down Expand Up @@ -140,11 +145,6 @@ QTreeView.PageSelector::item::hover {
color: black;
}

/* Disabled */
QWidget[enabled=false] {
background-color: #cfcfcf;
}

/* Other Controls */
QToolBar {
border: 1px solid #d3d3d3;
Expand Down Expand Up @@ -200,6 +200,7 @@ QToolButton[autoRaise=true] {
}

QMenu,
QMenu:disabled,
QComboBox QAbstractItemView {
font-size: 10pt;
background-color: #fafafa;
Expand Down

0 comments on commit 7e65952

Please sign in to comment.