mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
System-solution for styled tables, that works with every template
This commit is contained in:
6
system/templates/tables.style.html.twig
Normal file
6
system/templates/tables.style.html.twig
Normal file
@@ -0,0 +1,6 @@
|
||||
<style>
|
||||
.myaac-table tbody tr:nth-child(even) {background: {{ config.lightborder }}}
|
||||
.myaac-table tbody tr:nth-child(odd) {background: {{ config.darkborder }}}
|
||||
.myaac-table thead td {background: {{ config.vdarkborder }}; color: #ffffff !important;}
|
||||
.myaac-table tfoot td {background: {{ config.vdarkborder }}; color: #ffffff !important;}
|
||||
</style>
|
Reference in New Issue
Block a user