[sysprof/wip/chergert/sysprof-3] libyssprof-ui: add styling for profiler menu button
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libyssprof-ui: add styling for profiler menu button
- Date: Fri, 17 May 2019 16:15:36 +0000 (UTC)
commit eaaaaabcf832c4f2154c97c0af0aedd1a7070bc3
Author: Christian Hergert <chergert redhat com>
Date: Fri May 17 09:15:28 2019 -0700
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.
src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui | 3 +++
src/sysprof/theme/Adwaita-shared.css | 6 ++++++
2 files changed, 9 insertions(+)
---
diff --git a/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
b/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
index 17fdaba..2f3df83 100644
--- a/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
+++ b/src/libsysprof-ui/ui/sysprof-profiler-menu-button.ui
@@ -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>
diff --git a/src/sysprof/theme/Adwaita-shared.css b/src/sysprof/theme/Adwaita-shared.css
index 80c4f01..92c457b 100644
--- a/src/sysprof/theme/Adwaita-shared.css
+++ b/src/sysprof/theme/Adwaita-shared.css
@@ -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);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]