95 lines
2.3 KiB
Diff
95 lines
2.3 KiB
Diff
From 0c7571051e9bf0a051bb44f40cffe85bc44c1791 Mon Sep 17 00:00:00 2001
|
|
From: cui-gaoleng <562344211@qq.com>
|
|
Date: Sat, 9 Nov 2024 11:38:16 +0800
|
|
Subject: [PATCH] =?UTF-8?q?qss=E6=96=87=E4=BB=B6=E6=8F=90=E4=BA=A4?=
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
---
|
|
src/branding/default/stylesheet.qss | 67 +++++++++++++++++++++++++++--
|
|
1 file changed, 64 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/branding/default/stylesheet.qss b/src/branding/default/stylesheet.qss
|
|
index 5c36738..85498f6 100644
|
|
--- a/src/branding/default/stylesheet.qss
|
|
+++ b/src/branding/default/stylesheet.qss
|
|
@@ -34,10 +34,71 @@ The examples are not exhaustive.
|
|
* the class name. Some widgets have specialized sub-selectors.
|
|
*/
|
|
|
|
-/*
|
|
-QPushButton { background-color: green; }
|
|
-*/
|
|
|
|
+QPushButton {
|
|
+ background-color: rgb(10, 10, 204);
|
|
+ font-size: 12px;
|
|
+ color: rgb(17, 17, 17);
|
|
+ height: 18px;
|
|
+}
|
|
+QPushButton:focus {
|
|
+ background-color: rgb(10, 10, 204);
|
|
+ color: rgb(17, 17, 17);
|
|
+ font-size: 12px;
|
|
+}
|
|
+QPushButton:checked {
|
|
+ background-color: rgb(233, 233, 243);
|
|
+ color: rgb(17, 17, 17);
|
|
+ font-size: 12px;
|
|
+
|
|
+}
|
|
+QPushButton:disabled {
|
|
+ background-color: rgb(151, 150, 253);
|
|
+ color: rgb(201, 195, 195);
|
|
+ font-size: 12px;
|
|
+}
|
|
+QToolButton {
|
|
+ background-color: rgb(10, 10, 204);
|
|
+ font-size: 12px;
|
|
+ color: rgb(255, 255, 255);
|
|
+ height: 18px;
|
|
+}
|
|
+QToolButton:focus {
|
|
+ background-color: rgb(10, 10, 204);
|
|
+ color: rgb(250, 249, 249);
|
|
+ font-size: 12px;
|
|
+}
|
|
+QToolButton:checked {
|
|
+ background-color: rgb(233, 233, 243);
|
|
+ color: rgb(17, 17, 17);
|
|
+ font-size: 12px;
|
|
+
|
|
+}
|
|
+QToolButton:disabled {
|
|
+ background-color: rgb(151, 150, 253);
|
|
+ color: rgb(245, 233, 233);
|
|
+ font-size: 12px;
|
|
+}
|
|
+#mainApp{
|
|
+ background-color: #FFFFFF;
|
|
+}
|
|
+
|
|
+QComboBox{ background-color: rgb(254, 254, 255); color: black; } QComboBox
|
|
+QAbstractItemView{ background-color: rgb(254, 254, 255); }
|
|
+
|
|
+QDialog{
|
|
+ background-color: #fdfdfd;
|
|
+ border-radius: 5px;
|
|
+ border: 1px solid #aaa;
|
|
+}
|
|
+
|
|
+QToolTip {
|
|
+ background-color: rgba(17,17,17,200);
|
|
+ color: #f1f0f0;
|
|
+ border: 1px solid #766d6d;
|
|
+ border-radius: 5px;
|
|
+ box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
|
|
+}
|
|
/*** Main application window.
|
|
*
|
|
* The main application window has the sidebar, which in turn
|
|
--
|
|
2.43.0
|
|
|