From 5765207e51dfadafb9a79ddfb63078f33b8d8578 Mon Sep 17 00:00:00 2001 From: sthag Date: Sat, 21 Feb 2026 14:09:10 +0100 Subject: [PATCH] feat: Change table classes --- source/screens/demo/basics.liquid | 10 ++++---- source/screens/demo/components.liquid | 10 ++++---- source/screens/demo/layouts.liquid | 33 +++++++++++++++------------ source/style/hippie-style | 2 +- 4 files changed, 29 insertions(+), 26 deletions(-) diff --git a/source/screens/demo/basics.liquid b/source/screens/demo/basics.liquid index 8093d67..6d190ec 100644 --- a/source/screens/demo/basics.liquid +++ b/source/screens/demo/basics.liquid @@ -631,7 +631,7 @@ tags:
table>tr>td*2^tr>td[colspan=2]
- +
@@ -641,12 +641,12 @@ tags:
Mit ohne
- table.table_blank>tr>td*2^tr>td[colspan=2] + table.blank>tr>td*2^tr>td[colspan=2]

Die nächste Tabelle verwendet alle zur Auszeichnung verfügbaren Elemente und hat eine starre Zellverteilung:

- +
@@ -684,7 +684,7 @@ tags:
Beschreibung bzw. Zusammenhang der Tabelle
- table.width_full.table_fix>caption+thead>tr>th[scope="col"]*3^^tbody>(tr>td*3)*3^^tfoot>tr>th[scope="row"]+td*2 + table.width_full.fix>caption+thead>tr>th[scope="col"]*3^^tbody>(tr>td*3)*3^^tfoot>tr>th[scope="row"]+td*2

Viele weitere Formate sind möglich.

@@ -738,7 +738,7 @@ tags:

- +
diff --git a/source/screens/demo/components.liquid b/source/screens/demo/components.liquid index e4faaaf..4f4dd2b 100644 --- a/source/screens/demo/components.liquid +++ b/source/screens/demo/components.liquid @@ -189,8 +189,8 @@ tags:
// table // caption // colgroup // col // tbody // thead // tfoot // tr // td // th

<table>

Varianten

-
table.width_full.table_fix>(thead>tr>th.cell_pre[scope="col"]+th[scope="col"]*3)+tbody>tr>td.cell_pre+td*3
- +
table.width_full.fix>(thead>tr>th.cell_pre[scope="col"]+th[scope="col"]*3)+tbody>tr>td.cell_pre+td*3
+
@@ -220,8 +220,8 @@ tags:
-
table.width_full.table_stripe.table_fix.table_free>tr>td*3
- +
table.width_full.stripe.fix.free>tr>td*3
+
@@ -243,7 +243,7 @@ tags:
Tabelle Streifen
-
table.width_full.table_fix>(thead>tr>th[scope="col"]*3)+(tbody>tr>td*2+td.txt_right)+tfoot>tr>th[colspan="2"]+td.txt_right
+
table.width_full.fix>(thead>tr>th[scope="col"]*3)+(tbody>tr>td*2+td.txt_right)+tfoot>tr>th[colspan="2"]+td.txt_right
diff --git a/source/screens/demo/layouts.liquid b/source/screens/demo/layouts.liquid index d7dc539..500e902 100644 --- a/source/screens/demo/layouts.liquid +++ b/source/screens/demo/layouts.liquid @@ -7,7 +7,7 @@ tags: {% block title %}Gestaltungen{% endblock %} -{% block main %} +{% block main %}

Sammlung formatierter Elemente

@@ -100,7 +100,9 @@ tags:
header.header_page>h1+p+nav.nav_separate_right>ul>(li>a.a_button{nav $})*4^+nav.nav_right>ul>(li>a.a_button{nav $})*4

Aufmacher

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec consectetur diam. Sed nisl odio, volutpat nec nisi sit amet, commodo faucibus est. Donec lacinia vestibulum sapien. Morbi porttitor nibh quis imperdiet scelerisque. Praesent rutrum quam eu sodales luctus.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec consectetur diam. Sed nisl odio, + volutpat nec nisi sit amet, commodo faucibus est. Donec lacinia vestibulum sapien. Morbi porttitor nibh + quis imperdiet scelerisque. Praesent rutrum quam eu sodales luctus.

-
footer.pos_abs.pin_bottom>nav.nav_column>ul>(li>a.a_button_text)*4
+
footer.pos_abs.pin_bottom>nav.nav_column>ul>(li>a.a_button_text)*4

Tabellen

-
table.table_link>thead>tr>th{&nbsp;}+th{ab / zy}+th{neu / alt}^^(tbody>tr>td.cell_icon[rowspan="2"]>img[width=16  height=16]^+td.cell_link>a[target=_blank]{name}+a[target=_blank]{url}^+td.cell_date[rowspan="2"]{yyy-mm-dd}^tr>td.cell_text>div.shorten{beschreibung})*2
-
Die Verteilung der Zellen ist hier von ihrem Inhalt abhängig.
+
table.link>thead>tr>th{&nbsp;}+th{ab / zy}+th{neu / alt}^^(tbody>tr>td.icon[rowspan="2"]>img[width=16 height=16]^+td.link>span{name}+a[target=_blank]{url}^+td[rowspan="2"]{yyy-mm-dd}^tr>td.text>div.shorten{beschreibung})*2
+ @@ -257,30 +260,30 @@ tags: - - + - + - - - + - + - diff --git a/source/style/hippie-style b/source/style/hippie-style index 91d136f..69535d8 160000 --- a/source/style/hippie-style +++ b/source/style/hippie-style @@ -1 +1 @@ -Subproject commit 91d136f1c310c6276ecb2f4318f468f842099816 +Subproject commit 69535d87ac38cbe210ed40f6c2b9952b67b8ce5f