diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2023-03-06 21:50:23 +0400 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2023-03-06 21:50:23 +0400 |
commit | d55a8d1125e0cc1344cc21929686dfb596ddf1ea (patch) | |
tree | 77bb112020bc2cb8da4fe70c6487aa9826871cd5 | |
parent | 7fe7e04fd90205ae2550e16d1dfec3c91c366151 (diff) | |
download | gnome-logs-wip/exalm/margin.tar.gz |
style: Fix filters button stylewip/exalm/margin
Make it edge to edge like it was in GTK3, remove round corners, remove
double borders in HC. Update for libadwaita margin changes.
-rw-r--r-- | data/gl-eventtoolbar.ui | 1 | ||||
-rw-r--r-- | data/org.gnome.Logs.gresource.xml | 1 | ||||
-rw-r--r-- | data/style-hc.css | 5 | ||||
-rw-r--r-- | data/style.css | 10 |
4 files changed, 12 insertions, 5 deletions
diff --git a/data/gl-eventtoolbar.ui b/data/gl-eventtoolbar.ui index 0247c1e..6f3fdc9 100644 --- a/data/gl-eventtoolbar.ui +++ b/data/gl-eventtoolbar.ui @@ -47,7 +47,6 @@ <object class="GtkMenuButton" id="menu_button"> <property name="direction">none</property> <property name="tooltip-text" translatable="yes">Choose the boot from which to view logs</property> - <property name="valign">center</property> <style> <class name="title-menu-button"/> <class name="flat"/> diff --git a/data/org.gnome.Logs.gresource.xml b/data/org.gnome.Logs.gresource.xml index f95f190..e629c60 100644 --- a/data/org.gnome.Logs.gresource.xml +++ b/data/org.gnome.Logs.gresource.xml @@ -8,6 +8,7 @@ <file preprocess='xml-stripblanks'>gl-searchpopover.ui</file> <file preprocess='xml-stripblanks'>gl-window.ui</file> <file>style.css</file> + <file>style-hc.css</file> </gresource> <gresource prefix='/org/gnome/Logs/gtk'> <file preprocess='xml-stripblanks'>help-overlay.ui</file> diff --git a/data/style-hc.css b/data/style-hc.css new file mode 100644 index 0000000..1d9c936 --- /dev/null +++ b/data/style-hc.css @@ -0,0 +1,5 @@ +.title-menu-button > button:hover, +.title-menu-button > button:active, +.title-menu-button > button:checked { + box-shadow: inset 1px 0 @borders, inset -1px 0 @borders; +} diff --git a/data/style.css b/data/style.css index dfea215..8cc2e0a 100644 --- a/data/style.css +++ b/data/style.css @@ -16,10 +16,12 @@ } .title-menu-button { - margin-bottom: 0px; - margin-top: 0px; - padding-bottom: 0px; - padding-top: 0px; + margin-bottom: -7px; + margin-top: -6px; +} + +.title-menu-button > button { + border-radius: 0; } .compressed-entries-label { |