progress-cell: Simplify styles

This commit is contained in:
Alice Mikhaylenko
2024-06-24 01:41:30 +04:00
parent d02a962f62
commit 618c4ac575
2 changed files with 4 additions and 13 deletions

View File

@ -1,26 +1,15 @@
progresscell progress {
background: @accent_bg_color;
border-radius: 3px;
border: 1px solid shade(@accent_bg_color, .75);
border-right: none;
}
progresscell {
min-height: 18px;
}
progresscell progress:backdrop {
background: @borders;
border-color: shade(@borders, .9);
}
progresscell label:backdrop.in-progress {
color: inherit;
min-height: 18px;
border-radius: 3px;
}
progresscell trough {
background: alpha(@borders, .5);
border: 1px solid @borders;
border-radius: 3px;
}
progresscell label {

View File

@ -242,6 +242,8 @@ sysprof_progress_cell_init (SysprofProgressCell *self)
gtk_widget_set_parent (GTK_WIDGET (self->progress), GTK_WIDGET (self));
gtk_widget_set_parent (GTK_WIDGET (self->alt_label), GTK_WIDGET (self));
gtk_widget_set_overflow (GTK_WIDGET (self), GTK_OVERFLOW_HIDDEN);
gtk_accessible_update_property (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_PROPERTY_VALUE_MAX, 1.0,
GTK_ACCESSIBLE_PROPERTY_VALUE_MIN, 0.0,