libyssprof-ui: add styling for profiler menu button

This improves things the styling a bit to match the other suggested-action
colors in the Record button.
This commit is contained in:
Christian Hergert
2019-05-17 09:15:28 -07:00
parent dd724fe77a
commit aad5397a45
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,9 @@
<interface>
<template class="SysprofProfilerMenuButton" parent="GtkMenuButton">
<property name="popover">popover</property>
<style>
<class name="sysprofprofilermenubutton"/>
</style>
<child>
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>

View File

@ -10,3 +10,9 @@ window.development-version headerbar {
window.development-version headerbar box label {
color: @theme_fg_color;
}
button.sysprofprofilermenubutton.popup.suggested-action:checked {
background: shade(@theme_selected_bg_color,0.9);
border: 1px solid shade(@theme_selected_bg_color, 0.8);
color: alpha(@theme_selected_fg_color,0.9);
}