diff options
| author | Paul-Christian Volkmer | 2024-01-11 08:50:51 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-01-11 08:50:51 +0100 |
| commit | de6faecb029a45611818f5c378b648b3e16a6dfc (patch) | |
| tree | 411f80798c6ba47c5ce30f73e87888a9e2762663 /src | |
| parent | 3be8bc53ff325ac1841b86122dc069d68954cb7b (diff) | |
refactor: rename css style
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/resources/static/style.css | 15 | ||||
| -rw-r--r-- | src/main/resources/templates/index.html | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index c438c28..b2ba085 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -177,6 +177,13 @@ form.samplecode-input input:focus-visible { background: lightgreen; } +.border { + padding: 1.5em; + border: 1px solid var(--table-border); + border-radius: .5em; + background: white; +} + table, .chart { border: 1px solid var(--table-border); padding: 1.5em; @@ -192,13 +199,7 @@ table { font-family: sans-serif; } -.paged-table { - border: 1px solid var(--table-border); - border-radius: .5em; - background: white; -} - -.paged-table > table { +.border > table { border: none; background: transparent; } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index c2ade61..b34804b 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -11,7 +11,7 @@ <h1>Letzte Anfragen</h1> - <div class="paged-table"> + <div class="border"> <div class="page-control"> <a id="first-page-link" th:href="@{/(page=${0})}" title="Zum Anfang: Taste W" th:if="${not requests.isFirst()}">⇤</a><a th:if="${requests.isFirst()}">⇤</a> <a id="prev-page-link" th:href="@{/(page=${requests.getNumber() - 1})}" title="Seite zurück: Taste A" th:if="${not requests.isFirst()}">←</a><a th:if="${requests.isFirst()}">←</a> |
