Skip to content

Commit

Permalink
Make it work
Browse files Browse the repository at this point in the history
In a future PR we should look at how we want to show this, it seems we
have multple hacks to make things work which can be streamlined.
  • Loading branch information
vmcj committed Feb 17, 2024
1 parent 7c56a93 commit 469525b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 9 additions & 3 deletions webapp/public/style_domjudge.css
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,12 @@ blockquote {
}

@media only screen and (min-width: 600px) {
.scoreheader,
.scoreheader th {
background-color: white;
z-index: 200;
}

.summaryline td {
position: sticky;
bottom: 0;
Expand All @@ -662,15 +668,15 @@ blockquote {
/*border: none;*/
background: var(--background-color);
}

/*.scoreheader, .scoreheader th {
border: 1px solid red;
box-shadow: 0 -1px 0 0 black,
0 1px 0 0 black;
}*/

tbody.scoreboard-sortorder-body {
/*position: relative;*/
position: relative;
z-index: 100;
}
}
3 changes: 3 additions & 0 deletions webapp/templates/partials/scoreboard_table.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@
.cl{{ colorClass }} {
background-color: {{ color }};
/*background-clip: padding-box;*/
/*background-clip: content-box;*/
background-clip: text;
}
{% set cMin = color|hexColorToRGBA(0) %}
Expand Down

0 comments on commit 469525b

Please sign in to comment.