# HG changeset patch # User Goffi # Date 1633102452 -7200 # Node ID 977037f5ac814c268a429cbc5cf6c4b46b02ec61 # Parent 0e388a8288ae631b63930c4f284e302a65d8bf23 (bulma) CSS: use line-through decoration on title when viewing single list item diff -r 0e388a8288ae -r 977037f5ac81 sat_templates/templates/bulma/input/xmlui.html --- 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: diff -r 0e388a8288ae -r 977037f5ac81 sat_templates/templates/bulma/static/list.css --- 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%); }