[gnome-control-center/wip/feborges/round-and-generate-user-images: 52/53] user-account: Remove border from user image button



commit 208b2ea54528cc2df846537dbf0e4ca024ced0e2
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Feb 4 15:30:53 2019 +0000

    user-account: Remove border from user image button
    
    See https://gitlab.gnome.org/GNOME/Initiatives/issues/6

 panels/user-accounts/cc-user-panel.ui              | 3 +++
 panels/user-accounts/data/user-accounts-dialog.css | 6 ++++++
 2 files changed, 9 insertions(+)
---
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index c59c8c84b..1daf4968a 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -329,6 +329,9 @@
                             <property name="can_focus">True</property>
                             <property name="receives_default">True</property>
                             <property name="relief">GTK_RELIEF_NORMAL</property>
+                            <style>
+                              <class name="user-icon-button"/>
+                            </style>
                             <child internal-child="accessible">
                               <object class="AtkObject">
                                 <property name="accessible-name" translatable="yes">User Icon</property>
diff --git a/panels/user-accounts/data/user-accounts-dialog.css 
b/panels/user-accounts/data/user-accounts-dialog.css
index 54141a708..f895f34b3 100644
--- a/panels/user-accounts/data/user-accounts-dialog.css
+++ b/panels/user-accounts/data/user-accounts-dialog.css
@@ -15,3 +15,9 @@ levelbar .strength-high {
   border-color: #73d216;
 }
 
+.user-icon-button {
+  background: transparent;
+  box-shadow: none;
+  border: none;
+}
+


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