Skip to content

Commit

Permalink
tweak qss
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Feb 15, 2022
1 parent f8eca7c commit b5492c4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/qss/basic.qss
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ QScrollArea, QScrollArea .QWidget {
.Title {
color: black;
font-weight: bold;
font-size: 14pt;
font-size: 13pt;
background: transparent;
}

.CurseforgeFileListWidget .Title, .ModrinthFileListWidget .Title,
.GitHubFileListWidget .Title, .LocalFileListWidget .Title {
font-size: 11pt;
}

.Description {
color: #3f3f3f;
font-size: 10pt;
Expand Down
7 changes: 6 additions & 1 deletion src/qss/dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ QScrollArea, QScrollArea .QWidget {
.Title {
color: black;
font-weight: bold;
font-size: 14pt;
font-size: 13pt;
background: transparent;
}

.CurseforgeFileListWidget .Title, .ModrinthFileListWidget .Title,
.GitHubFileListWidget .Title, .LocalFileListWidget .Title {
font-size: 11pt;
}

.Description {
color: #cfcfcf;
font-size: 10pt;
Expand Down
12 changes: 11 additions & 1 deletion src/qss/light.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ QWidget:focus{
outline: none;
}

Widget {
background-color: #fff;
}

QScrollArea, QScrollArea .QWidget {
background-color: transparent;
border-color: transparent;
Expand Down Expand Up @@ -30,10 +34,15 @@ QScrollArea, QScrollArea .QWidget {
.Title {
color: black;
font-weight: bold;
font-size: 14pt;
font-size: 13pt;
background: transparent;
}

.CurseforgeFileListWidget .Title, .ModrinthFileListWidget .Title,
.GitHubFileListWidget .Title, .LocalFileListWidget .Title {
font-size: 11pt;
}

.Description {
color: #3f3f3f;
font-size: 10pt;
Expand Down Expand Up @@ -149,6 +158,7 @@ QToolButton[autoRaise=false][popupMode="2"]::menu-indicator, QPushButton::menu-i
QTreeView::item {
min-height: 35px;
}

QTreeView.PageSelector::item {
min-height: 40px;
}
Expand Down

0 comments on commit b5492c4

Please sign in to comment.