[fractal] qr-code: Make it always black-on-white



commit f7f65d3e93f9a1a68ca7f2b39f6b9816ba3a384f
Author: Marco Melorio <marco melorio protonmail com>
Date:   Wed Jun 15 20:17:58 2022 +0200

    qr-code: Make it always black-on-white
    
    Also add .card style. Fixes #1052.

 data/resources/style.css                          | 6 ++++++
 data/resources/ui/identity-verification-widget.ui | 3 +++
 2 files changed, 9 insertions(+)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index 880388d2b..5476f0457 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -193,6 +193,12 @@ login {
   min-width: 250px;
 }
 
+.qrcode {
+  background-color: white;
+  color: black;
+  padding: 12px;
+}
+
 .sso-button {
   padding: 4px;
   -gtk-icon-size: 26px;
diff --git a/data/resources/ui/identity-verification-widget.ui 
b/data/resources/ui/identity-verification-widget.ui
index 12d1702fb..8279ffed0 100644
--- a/data/resources/ui/identity-verification-widget.ui
+++ b/data/resources/ui/identity-verification-widget.ui
@@ -203,6 +203,9 @@
                         <property name="halign">center</property>
                         <property name="margin-top">24</property>
                         <property name="margin-bottom">24</property>
+                        <style>
+                          <class name="card"/>
+                        </style>
                       </object>
                     </child>
                     <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]