aboutsummaryrefslogtreecommitdiff
path: root/cockpit.css
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-08-10 14:27:35 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-08-10 14:29:09 +0200
commitb8e99e574b8ef818a2bf428c8d92fb82e7796170 (patch)
tree19e1d1ae5432b7f67e72e91fd244fe22bd55ab89 /cockpit.css
parent7c585983d91a691401d626b55583f1917c7b1328 (diff)
downloadbycs-sol-b8e99e574b8ef818a2bf428c8d92fb82e7796170.tar.gz
bycs-sol-b8e99e574b8ef818a2bf428c8d92fb82e7796170.zip
cockpit: improve graduation history
* Allow change deletion if the current user issued the change * Only the assigned coach is allowed to change the level
Diffstat (limited to 'cockpit.css')
-rw-r--r--cockpit.css29
1 files changed, 29 insertions, 0 deletions
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;
+}