From cb402f4a2c1d97e4e7ef8d22f1facb7ec28011db Mon Sep 17 00:00:00 2001 From: Paul Rangger Date: Wed, 2 Oct 2024 18:45:32 +0200 Subject: [PATCH 1/3] Animated Sidebar --- .../course-conversations.component.html | 2 +- .../course-exams/course-exams.component.html | 2 +- .../course-exercises.component.html | 2 +- .../course-lectures.component.html | 2 +- .../overview/course-overview.component.html | 2 +- .../course-tutorial-groups.component.html | 2 +- .../app/shared/sidebar/sidebar.component.html | 140 +++++++++--------- .../app/shared/sidebar/sidebar.component.scss | 4 - src/main/webapp/content/scss/global.scss | 41 ++++- .../content/scss/themes/_dark-variables.scss | 3 + .../scss/themes/_default-variables.scss | 3 + 11 files changed, 123 insertions(+), 80 deletions(-) diff --git a/src/main/webapp/app/overview/course-conversations/course-conversations.component.html b/src/main/webapp/app/overview/course-conversations/course-conversations.component.html index 9979347728ec..90b2559fa81a 100644 --- a/src/main/webapp/app/overview/course-conversations/course-conversations.component.html +++ b/src/main/webapp/app/overview/course-conversations/course-conversations.component.html @@ -22,7 +22,7 @@ } @if (isCodeOfConductAccepted && isServiceSetUp && course) {
-
+
+
@if (course) {
diff --git a/src/main/webapp/app/overview/course-exercises/course-exercises.component.html b/src/main/webapp/app/overview/course-exercises/course-exercises.component.html index 6be118bf7475..830d3863c55e 100644 --- a/src/main/webapp/app/overview/course-exercises/course-exercises.component.html +++ b/src/main/webapp/app/overview/course-exercises/course-exercises.component.html @@ -1,4 +1,4 @@ -
+
@if (course) {
diff --git a/src/main/webapp/app/overview/course-lectures/course-lectures.component.html b/src/main/webapp/app/overview/course-lectures/course-lectures.component.html index ee245be3e109..29c7787fcc4a 100644 --- a/src/main/webapp/app/overview/course-lectures/course-lectures.component.html +++ b/src/main/webapp/app/overview/course-lectures/course-lectures.component.html @@ -1,4 +1,4 @@ -
+
@if (course) {
diff --git a/src/main/webapp/app/overview/course-overview.component.html b/src/main/webapp/app/overview/course-overview.component.html index ee6f77d51b5a..81962ccba524 100644 --- a/src/main/webapp/app/overview/course-overview.component.html +++ b/src/main/webapp/app/overview/course-overview.component.html @@ -63,7 +63,7 @@
diff --git a/src/main/webapp/app/overview/course-tutorial-groups/course-tutorial-groups.component.html b/src/main/webapp/app/overview/course-tutorial-groups/course-tutorial-groups.component.html index c2acc5bebdc0..c6f3864b47b7 100644 --- a/src/main/webapp/app/overview/course-tutorial-groups/course-tutorial-groups.component.html +++ b/src/main/webapp/app/overview/course-tutorial-groups/course-tutorial-groups.component.html @@ -1,4 +1,4 @@ -
+
@if (course) {
diff --git a/src/main/webapp/app/shared/sidebar/sidebar.component.html b/src/main/webapp/app/shared/sidebar/sidebar.component.html index ea513b48174e..a70e2a9e604f 100644 --- a/src/main/webapp/app/shared/sidebar/sidebar.component.html +++ b/src/main/webapp/app/shared/sidebar/sidebar.component.html @@ -1,74 +1,76 @@ -