Commit 0de4a532 authored by Julian Sparber's avatar Julian Sparber

contact-sheet: use flat style for buttons

parent 1318f6ac
......@@ -60,3 +60,12 @@ row.contact-data-row {
border-radius: 50%;
padding: 0 0;
}
.flatten:not(:hover) {
background-color: transparent;
background-image: none;
border-color: transparent;
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
text-shadow: none; -gtk-icon-shadow: none;
border: 1px solid rgba(205, 199, 194, 0.5);
}
......@@ -40,6 +40,7 @@ public class Contacts.ContactSheet : ContactForm {
private Button create_button (string icon) {
var button = new Button.from_icon_name (icon, IconSize.BUTTON);
button.set_halign (Align.END);
button.get_style_context ().add_class ("flatten");
return button;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment