Minor visual tweaks

This commit is contained in:
Bleak Grey 2023-01-08 14:24:40 +04:00
parent 079d7687ab
commit 9687ebb9eb
6 changed files with 13 additions and 5 deletions

View File

@ -8,6 +8,9 @@
.font-bold {
font-weight: bold;
}
.no-shadow {
box-shadow: none;
}
.attachment, .attachment button, flowboxchild {
padding:0px;
@ -96,7 +99,7 @@
background: @theme_base_color;
}
.large .header-image {
border-radius:6px 6px 0 0;
border-radius: 12px 12px 0 0;
}
/* Status action icons */
@ -135,6 +138,8 @@
.ttl-profile-stat-button, .small .ttl-profile-stat-button:first-child, .small .ttl-profile-stat-button:last-child {
border-radius: 0px;
padding: 8px 12px;
min-height: 32px;
}
.ttl-profile-stat-button:first-child {

View File

@ -15,6 +15,7 @@
<child>
<object class="GtkListBoxRow">
<property name="activatable">false</property>
<child>
<object class="GtkGrid">

View File

@ -79,7 +79,7 @@
<child>
<object class="GtkBox" id="indicators">
<property name="halign">end</property>
<property name="valign">start</property>
<property name="valign">center</property>
<property name="margin_start">6</property>
<property name="spacing">6</property>
<child>

View File

@ -11,6 +11,8 @@
</child>
<style>
<class name="boxed-list"/>
<class name="frame"/>
<class name="no-shadow"/>
</style>
</object>
</child>

View File

@ -87,7 +87,7 @@ public class Tooth.Views.Profile : Views.Timeline {
protected void build_profile_stats(ListBox info) {
var row = new Gtk.ListBoxRow ();
var box = new Box (Orientation.HORIZONTAL, 6) {
var box = new Box (Orientation.HORIZONTAL, 0) {
homogeneous = true
};

View File

@ -87,8 +87,8 @@ public class Tooth.Widgets.VoteBox: Box {
}
}
row.title = "%.1f%%".printf(percentage);
row.subtitle = p.title;
row.subtitle = "%.1f%%".printf(percentage);
row.title = p.title;
pollBox.append(row);
}
else{