diff options
author | Maximiliano Sandoval R <msandova@gnome.org> | 2022-01-06 11:26:33 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2022-03-28 17:11:49 +0100 |
commit | 83ed0d724e705dd634dea1a8e2655e230bf52ae0 (patch) | |
tree | 7bdedd8aaef44adb1252e5129675af756d7dba51 | |
parent | 8064c73ebc89dba8c4bdd5199aef42ed58889e3c (diff) | |
download | gnome-logs-83ed0d724e705dd634dea1a8e2655e230bf52ae0.tar.gz |
Use navigation-sidebar style for flap
-rw-r--r-- | data/gl-categorylist.ui | 33 | ||||
-rw-r--r-- | data/gl-eventviewlist.ui | 6 | ||||
-rw-r--r-- | data/gl-style.css | 9 |
3 files changed, 4 insertions, 44 deletions
diff --git a/data/gl-categorylist.ui b/data/gl-categorylist.ui index 0aac8bd..b1cd3d2 100644 --- a/data/gl-categorylist.ui +++ b/data/gl-categorylist.ui @@ -6,9 +6,6 @@ <property name="selection-mode">browse</property> <child> <object class="GtkListBoxRow" id="important"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="important_label"> <property name="halign">start</property> @@ -20,9 +17,6 @@ <child> <object class="GtkListBoxRow" id="alerts"> <property name="visible">False</property> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="alerts_label"> <property name="halign">start</property> @@ -34,9 +28,6 @@ <child> <object class="GtkListBoxRow" id="starred"> <property name="visible">False</property> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="starred_label"> <property name="halign">start</property> @@ -47,9 +38,6 @@ </child> <child> <object class="GtkListBoxRow" id="all"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="all_label"> <property name="halign">start</property> @@ -60,9 +48,6 @@ </child> <child> <object class="GtkListBoxRow" id="applications"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="applications_label"> <property name="halign">start</property> @@ -73,9 +58,6 @@ </child> <child> <object class="GtkListBoxRow" id="system"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="system_label"> <property name="halign">start</property> @@ -86,9 +68,6 @@ </child> <child> <object class="GtkListBoxRow" id="security"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="security_label"> <property name="halign">start</property> @@ -99,9 +78,6 @@ </child> <child> <object class="GtkListBoxRow" id="hardware"> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="hardware_label"> <property name="halign">start</property> @@ -113,9 +89,6 @@ <child> <object class="GtkListBoxRow" id="updates"> <property name="visible">False</property> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="updates_label"> <property name="halign">start</property> @@ -127,9 +100,6 @@ <child> <object class="GtkListBoxRow" id="usage"> <property name="visible">False</property> - <style> - <class name="category"/> - </style> <child> <object class="GtkLabel" id="usage_label"> <property name="halign">start</property> @@ -138,6 +108,9 @@ </child> </object> </child> + <style> + <class name="navigation-sidebar"/> + </style> </object> </child> </template> diff --git a/data/gl-eventviewlist.ui b/data/gl-eventviewlist.ui index 639ad34..6f0ef51 100644 --- a/data/gl-eventviewlist.ui +++ b/data/gl-eventviewlist.ui @@ -5,11 +5,7 @@ <child> <object class="AdwFlap"> <child type="flap"> - <object class="GlCategoryList" id="categories"> - <style> - <class name="categories"/> - </style> - </object> + <object class="GlCategoryList" id="categories"/> </child> <child type="separator"> <object class="GtkSeparator" id="content_separator"> diff --git a/data/gl-style.css b/data/gl-style.css index 8dac743..dfea215 100644 --- a/data/gl-style.css +++ b/data/gl-style.css @@ -1,13 +1,4 @@ /* Theme overrides. */ -.categories { - background-color: shade(@theme_bg_color, 0.99); -} - -.category { - padding: 15px; - padding-right: 30px; -} - .detail-comm, .detail-audit_session, .detail-kernel_device, .detail-message, .detail-priority, .detail-time, .detail-subject, .detail-definedby, .detail-support, .detail-documentation { padding: 3px; } |