Commit b1276b2c authored by Louis's avatar Louis
Browse files

Improve table CSS

parent fcd54c91
Pipeline #7405 failed with stage
in 5 seconds
......@@ -28,3 +28,20 @@
.tooltip:hover .tooltiptext {
visibility: visible;
}
/*******************************************************************************
* TABLE
******************************************************************************/
table.badges {
border-spacing: 0 1px;
border-collapse: separate;
}
table.badges td {
vertical-align: middle;
}
table.badges thead td {
text-align: center;
}
......@@ -26,7 +26,7 @@
{% if packages %}
{{ linecharts.plot(packages.values()) }}
<table>
<table class="badges">
<thead><tr>
{% for column in config['columns'] -%}
<td>
......@@ -40,7 +40,7 @@
</tr></thead>
<tbody>
{% for package in packages|sort -%}
<tr bgcolor="{{ package |color(0.1, 0.8) }}">
<tr style="background-color: {{ package |color(0.1, 0.8) }};">
{% for column in config['columns'] -%}
<td>
{% if config['packages'][package][column]['column'] in columns %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment