mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
System-solution for styled tables, that works with every template
This commit is contained in:
parent
3f4c02a327
commit
d2a3a9a8da
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>
|
@ -18,3 +18,6 @@
|
||||
Please turn it on, or be aware that some features on this website will not work correctly.
|
||||
</div>
|
||||
</noscript>
|
||||
{% if constant('MYAAC_ADMIN') is not defined %}
|
||||
{{ include('tables.style.html.twig') }}
|
||||
{% endif %}
|
||||
|
@ -11,11 +11,6 @@ body
|
||||
color: #373737;
|
||||
}
|
||||
|
||||
.myaac-table tbody tr:nth-child(even) {background: #e5e3d7} /* light border */
|
||||
.myaac-table tbody tr:nth-child(odd) {background: #d0cdb4} /* dark border */
|
||||
.myaac-table thead td {background: #afab89; color: #ffffff !important;} /* vdark border */
|
||||
.myaac-table tfoot td {background: #afab89; color: #ffffff !important;} /* vdark border */
|
||||
|
||||
#page
|
||||
{
|
||||
width: 780px;
|
||||
|
@ -11,11 +11,6 @@ img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.myaac-table tbody tr:nth-child(even) {background: #F1E0C6} /* light border */
|
||||
.myaac-table tbody tr:nth-child(odd) {background: #D4C0A1} /* dark border */
|
||||
.myaac-table thead td {background: #505050; color: #ffffff !important;} /* vdark border */
|
||||
.myaac-table tfoot td {background: #505050; color: #ffffff !important;} /* vdark border */
|
||||
|
||||
#ArtworkHelper {
|
||||
text-align: center;
|
||||
background-position: top center;
|
||||
|
Loading…
x
Reference in New Issue
Block a user