From b5492c462476b159a2d0089b37b2249e18ad920a Mon Sep 17 00:00:00 2001 From: kaniol-lck <375520360@qq.com> Date: Tue, 15 Feb 2022 15:09:29 +0800 Subject: [PATCH] tweak qss --- src/qss/basic.qss | 7 ++++++- src/qss/dark.qss | 7 ++++++- src/qss/light.qss | 12 +++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/qss/basic.qss b/src/qss/basic.qss index e8cbe0ae..17ab7575 100644 --- a/src/qss/basic.qss +++ b/src/qss/basic.qss @@ -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; diff --git a/src/qss/dark.qss b/src/qss/dark.qss index 57a55a56..88cc6437 100644 --- a/src/qss/dark.qss +++ b/src/qss/dark.qss @@ -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; diff --git a/src/qss/light.qss b/src/qss/light.qss index 4d16f28e..54cb09ec 100644 --- a/src/qss/light.qss +++ b/src/qss/light.qss @@ -2,6 +2,10 @@ QWidget:focus{ outline: none; } +Widget { + background-color: #fff; +} + QScrollArea, QScrollArea .QWidget { background-color: transparent; border-color: transparent; @@ -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; @@ -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; }