From b8e99e574b8ef818a2bf428c8d92fb82e7796170 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 10 Aug 2026 14:27:35 +0200 Subject: cockpit: improve graduation history * Allow change deletion if the current user issued the change * Only the assigned coach is allowed to change the level --- cockpit.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'cockpit.css') diff --git a/cockpit.css b/cockpit.css index 6b6295a..c9b529e 100644 --- a/cockpit.css +++ b/cockpit.css @@ -234,3 +234,32 @@ margin-top: 1rem; margin-bottom: 1rem; } + +#graduation-level-change, +#graduation-history { + border: black solid 0.2pt; + border-radius: 10px; + padding-left: 1rem; + padding-bottom: 1rem; + margin-top: 1rem; + margin-bottom: 1rem; +} + +.graduation-delete-state { + margin-left: 1rem; + position: relative; +} + +.graduation-delete-inprogress { + --size: 0.5px; + width: calc(48 * var(--size)); + height: calc(48 * var(--size)); + border: calc(5 * var(--size)) solid black; + border-bottom-color: transparent; + border-radius: 50%; + display: inline; + position: absolute; + right: -1rem; + box-sizing: border-box; + animation: rotation 1s linear infinite; +} -- cgit v1.2.3