libsysprof-gtk: add some timeruler styling

This commit is contained in:
Christian Hergert
2023-06-28 09:20:22 -07:00
parent 23ce03500d
commit 8ff5561f0f
2 changed files with 10 additions and 0 deletions

View File

@ -70,3 +70,10 @@ marktable {
markchart {
font-size: .9em;
}
timeruler {
font-size: 0.833em;
color: alpha(currentColor, .8);
border-bottom: 1px solid @borders;
background: alpha(@borders, .25);
}

View File

@ -20,6 +20,7 @@
#include "config.h"
#include "sysprof-css-private.h"
#include "sysprof-chart.h"
typedef struct
@ -307,6 +308,8 @@ sysprof_chart_init (SysprofChart *self)
priv->motion_x = -1;
priv->motion_y = -1;
_sysprof_css_init ();
motion = gtk_event_controller_motion_new ();
g_signal_connect_object (motion,
"enter",