From 6945a197490e7aa0113bca1f9a13019a27b5d8eb Mon Sep 17 00:00:00 2001
From: Joker <joker2387089590@gmail.com>
Date: 周三, 18 6月 2025 23:10:25 +0800
Subject: [PATCH] change submodule url

---
 examples/mainwindow/dark-style.qss |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index ef77219..33ac251 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -1,11 +1,13 @@
 /* Window bar */
 
 QWK--WindowBar[bar-active=true] {
-    background-color: #3C3C3C;
+    /*background-color: #3C3C3C;*/
+    background-color: transparent;
 }
 
 QWK--WindowBar[bar-active=false] {
-    background-color: #505050;
+    /*background-color: #505050;*/
+    background-color: transparent;
 }
 
 
@@ -30,14 +32,24 @@
     background-color: transparent;
 }
 
+QWK--WindowBar>QAbstractButton#pin-button {
+    qproperty-iconNormal: url(":/window-bar/pin.svg");
+    qproperty-iconChecked: url(":/window-bar/pin-fill.svg");
+    qproperty-iconSize: 15px 15px;
+}
+
+QWK--WindowBar>QAbstractButton#pin-button:hover,
+QWK--WindowBar>QAbstractButton#pin-button:pressed {
+    background-color: rgba(255, 255, 255, 15%);
+}
+
 QWK--WindowBar>QAbstractButton#min-button {
     qproperty-iconNormal: url(":/window-bar/minimize.svg");
-    qproperty-iconSize: 12px 12px;
 }
 
 QWK--WindowBar>QAbstractButton#min-button:hover,
 QWK--WindowBar>QAbstractButton#min-button:pressed {
-    background-color: rgba(0, 0, 0, 15%);
+    background-color: rgba(255, 255, 255, 15%);
 }
 
 QWK--WindowBar>QAbstractButton#max-button {
@@ -47,7 +59,7 @@
 
 QWK--WindowBar>QAbstractButton#max-button:hover,
 QWK--WindowBar>QAbstractButton#max-button:pressed {
-    background-color: rgba(0, 0, 0, 15%);
+    background-color: rgba(255, 255, 255, 15%);
 }
 
 QWK--WindowBar>QAbstractButton#close-button {
@@ -142,12 +154,12 @@
 
 /* Window */
 
-MainWindow[custom-style=true] {
-    background-color: transparent;
+MainWindow {
+    background-color: #1E1E1E;
 }
 
-MainWindow[custom-style=false] {
-    background-color: #1E1E1E;
+MainWindow[custom-style=true] {
+    background-color: transparent;
 }
 
 QWidget#clock-widget {

--
Gitblit v1.9.1