[gnome-control-center/wip/feborges/user-accounts-ui-improvements: 14/15] user-account: Add border around user image button
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/feborges/user-accounts-ui-improvements: 14/15] user-account: Add border around user image button
- Date: Mon, 27 Jan 2020 14:55:47 +0000 (UTC)
commit fe99e93e022aab0d01220f21c125e8485eecdaa4
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Jan 14 12:27:51 2020 +0100
user-account: Add border around user image button
According to the mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/users/users.png
Fixes #771
panels/user-accounts/cc-user-panel.ui | 6 ++++++
panels/user-accounts/data/user-accounts-dialog.css | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index d2579d835..8a3eef415 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -129,12 +129,18 @@
<object class="GtkStack" id="user_icon_stack">
<property name="visible">True</property>
<property name="halign">GTK_ALIGN_END</property>
+ <style>
+ <class name="user-icon-button"/>
+ </style>
<child>
<object class="CcUserImage" id="user_icon_image">
<property name="visible">True</property>
<property name="icon_name">avatar-default</property>
<property name="pixel_size">96</property>
<property name="halign">GTK_ALIGN_END</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 f895f34b3..15ddaf984 100644
--- a/panels/user-accounts/data/user-accounts-dialog.css
+++ b/panels/user-accounts/data/user-accounts-dialog.css
@@ -18,6 +18,8 @@ levelbar .strength-high {
.user-icon-button {
background: transparent;
box-shadow: none;
- border: none;
+ border: 1px solid @borders;
+ border-radius: 50%;
+ padding: 3px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]