From a5d13e19dd7f6037e10b649c49805922ae5e0fa6 Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周五, 22 12月 2023 17:04:29 +0800
Subject: [PATCH] Prepare to remove style support again

---
 examples/mainwindow/light-style.qss |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/examples/mainwindow/light-style.qss b/examples/mainwindow/light-style.qss
index b2b7287..c314c7f 100644
--- a/examples/mainwindow/light-style.qss
+++ b/examples/mainwindow/light-style.qss
@@ -103,8 +103,8 @@
 
 QMenu {
     padding: 4px;
-    background: #303030;
-    border: 1.25px solid transparent;
+    background: white;
+    border: 1px solid #E0E0E0;
 }
 
 QMenu::indicator {
@@ -119,23 +119,21 @@
 
 QMenu::item {
     background: transparent;
-    color: #CCCCCC;
+    color: #333333;
     padding: 6px 24px;
 }
 
 QMenu::item:selected {
-    color: white;
-    background-color: #0060C0;
+    background-color: rgba(0, 0, 0, 10%);
 }
 
 QMenu::item:disabled {
-    color: #666666;
-    background-color: transparent;
+    color: #CCCCCC;
 }
 
 QMenu::separator {
     height: 2px;
-    background-color: #5B5B5B;
+    background-color: #CCCCCC;
     margin: 6px 0;
 }
 
@@ -146,6 +144,10 @@
     background-color: #F3F3F3;
 }
 
+MainWindow[custom-style=true] {
+    background-color: transparent;
+}
+
 QWidget#clock-widget {
     font-size: 75px;
     color: #333333;

--
Gitblit v1.9.1