Browse Source

fix view

main
Christoph Marzell 5 days ago
parent
commit
34c7e079b0
  1. 13
      app/views/entries/index.html.erb

13
app/views/entries/index.html.erb

@ -31,20 +31,23 @@
filter: brightness(0.98); filter: brightness(0.98);
} }
/* Ruhige, einheitliche Typfarben in der Einträge-Tabelle */
/* Typfarben mit Zebra-Striping innerhalb des jeweiligen Typs */
#entriesTable tbody tr.type-propaedeutikum { #entriesTable tbody tr.type-propaedeutikum {
--bs-table-bg: rgba(13, 110, 253, 0.055); --bs-table-bg: rgba(13, 110, 253, 0.055);
--bs-table-hover-bg: rgba(13, 110, 253, 0.11);
--bs-table-striped-bg: rgba(13, 110, 253, 0.105);
--bs-table-hover-bg: rgba(13, 110, 253, 0.145);
} }
#entriesTable tbody tr.type-fachspezifikum { #entriesTable tbody tr.type-fachspezifikum {
--bs-table-bg: rgba(25, 135, 84, 0.055); --bs-table-bg: rgba(25, 135, 84, 0.055);
--bs-table-hover-bg: rgba(25, 135, 84, 0.11);
--bs-table-striped-bg: rgba(25, 135, 84, 0.105);
--bs-table-hover-bg: rgba(25, 135, 84, 0.145);
} }
#entriesTable tbody tr.type-mediation { #entriesTable tbody tr.type-mediation {
--bs-table-bg: rgba(253, 126, 20, 0.065); --bs-table-bg: rgba(253, 126, 20, 0.065);
--bs-table-hover-bg: rgba(253, 126, 20, 0.12);
--bs-table-striped-bg: rgba(253, 126, 20, 0.12);
--bs-table-hover-bg: rgba(253, 126, 20, 0.16);
} }
#entriesTable tbody tr.type-propaedeutikum > td:first-child { #entriesTable tbody tr.type-propaedeutikum > td:first-child {
@ -488,7 +491,7 @@
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-hover table-bordered" id="entriesTable">
<table class="table table-striped table-hover table-bordered" id="entriesTable">
<thead> <thead>
<tr> <tr>
<th data-sort-index="0" data-sort="date" class="sortable" data-column-key="datum">Datum</th> <th data-sort-index="0" data-sort="date" class="sortable" data-column-key="datum">Datum</th>

Loading…
Cancel
Save