mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
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:
@ -2,6 +2,9 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<template class="SysprofProfilerMenuButton" parent="GtkMenuButton">
|
<template class="SysprofProfilerMenuButton" parent="GtkMenuButton">
|
||||||
<property name="popover">popover</property>
|
<property name="popover">popover</property>
|
||||||
|
<style>
|
||||||
|
<class name="sysprofprofilermenubutton"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage">
|
<object class="GtkImage">
|
||||||
<property name="icon-name">pan-down-symbolic</property>
|
<property name="icon-name">pan-down-symbolic</property>
|
||||||
|
|||||||
@ -10,3 +10,9 @@ window.development-version headerbar {
|
|||||||
window.development-version headerbar box label {
|
window.development-version headerbar box label {
|
||||||
color: @theme_fg_color;
|
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);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user