summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-01-16 21:57:30 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2018-01-16 21:57:30 +0100
commitc2df6816d04c2493bbe94f2a571c57926ea215a4 (patch)
treeb1c4e95e181b7609c03cb0b3258e47cad54b7a2f /data
parentdb8c55a8e4c76e89afa90243b048f820b7ea38e6 (diff)
downloadgnome-contacts-c2df6816d04c2493bbe94f2a571c57926ea215a4.tar.gz
Simplify Avatar styling
Diffstat (limited to 'data')
-rw-r--r--data/ui/style.css23
1 files changed, 4 insertions, 19 deletions
diff --git a/data/ui/style.css b/data/ui/style.css
index 6a75863..07fc3a5 100644
--- a/data/ui/style.css
+++ b/data/ui/style.css
@@ -55,29 +55,14 @@ row.contact-data-row {
border-top-left-radius: 0;
}
-.contacts-avatar-frame.frame {
- border-width: 1px 1px 1px 1px;
- border-style: solid;
- border-color: @borders;
- border-image: none;
- border-radius: 0;
- padding: 0;
-}
-
-.main-avatar-frame.frame {
- border-width: 1px;
- border-style: solid;
- border-color: @borders;
- border-radius: 6px;
-}
-
-.main-avatar-frame border {
- border-radius: 5px;
+/* Draw a border around the avatar */
+.contacts-avatar border {
+ border-radius: 5px;
}
/* Give the avatar in the ContactSheet some margin,
* so it doesn't jump when switching to the editor. */
-.contacts-contact-sheet .main-avatar-frame {
+.contacts-contact-sheet .contacts-avatar {
margin: 4px 8px;
}