summaryrefslogtreecommitdiffstats
path: root/examples/stylesheet/config/style.qss
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stylesheet/config/style.qss')
-rw-r--r--examples/stylesheet/config/style.qss25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/stylesheet/config/style.qss b/examples/stylesheet/config/style.qss
new file mode 100644
index 000000000..8d4f75d65
--- /dev/null
+++ b/examples/stylesheet/config/style.qss
@@ -0,0 +1,25 @@
+QWidget
+{
+ color: white;
+ background-color: rgb(65, 65, 65);
+}
+
+QPushButton
+{
+ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(150, 150, 150, 60%), stop:1 rgba(50, 50, 50, 60%));
+ border-color: rgb(60, 60, 60);
+ border-style: solid;
+ border-width: 2px;
+ border-radius: 9px;
+ min-height: 20px;
+ max-height: 20px;
+ min-width: 60px;
+ max-width: 60px;
+ padding-left: 15px;
+ padding-right: 15px;
+}
+
+QPushButton:pressed, QPushButton:checked
+{
+ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(50, 50, 50, 60%), stop:1 rgba(150, 150, 150, 60%));
+}