changeset 341:977037f5ac81

(bulma) CSS: use line-through decoration on title when viewing single list item
author Goffi <goffi@goffi.org>
date Fri, 01 Oct 2021 17:34:12 +0200
parents 0e388a8288ae
children 0d6826a73c0f
files sat_templates/templates/bulma/input/xmlui.html sat_templates/templates/bulma/static/list.css
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/input/xmlui.html	Fri Oct 01 17:32:35 2021 +0200
+++ b/sat_templates/templates/bulma/input/xmlui.html	Fri Oct 01 17:34:12 2021 +0200
@@ -109,7 +109,7 @@
 
 {% macro generate_list(xmlui_items, fields, formatters, item_class_fields, field_class_map, on_click) %}
 {# generate a list of rendered XMLUI from requested widgets names
-    very similar to generate_table but generate a list instead of a tabme
+    very similar to generate_table but generate a list instead of a table
     @param xmlui_items(iterable[unicode]): list of xmlui to show
     @param fields(tuple[unicode,unicode]): fields to show (name, label)
     @param formatters(dict): dictionary of templates to format values:
--- a/sat_templates/templates/bulma/static/list.css	Fri Oct 01 17:32:35 2021 +0200
+++ b/sat_templates/templates/bulma/static/list.css	Fri Oct 01 17:34:12 2021 +0200
@@ -3,7 +3,7 @@
     color: hsl(0, 0%, 48%);
 }
 
-.list-item.status_closed .xmlui_field__title {
+.status_closed>.title, .list-item.status_closed .xmlui_field__title {
     text-decoration: line-through #000 0.2em;
     color: hsl(0, 0%, 48%);
 }