diff --git a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.html b/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.html index 1a3a842ec0f2..302a70a13fcc 100644 --- a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.html +++ b/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.html @@ -2,7 +2,7 @@

-
+
diff --git a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.scss b/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.scss deleted file mode 100644 index b8f01dc61a7f..000000000000 --- a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.scss +++ /dev/null @@ -1,8 +0,0 @@ -.rotate-icon { - display: inline-block; - transition: transform 0.3s ease; -} - -.rotate-icon.rotated { - transform: rotate(90deg); -} diff --git a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts b/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts index 48f4da19bf5d..405416f98630 100644 --- a/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts +++ b/src/main/webapp/app/admin/standardized-competencies/import/admin-import-standardized-competencies.component.ts @@ -26,7 +26,6 @@ interface ImportCount { @Component({ selector: 'jhi-admin-import-standardized-competencies', templateUrl: './admin-import-standardized-competencies.component.html', - styleUrls: ['admin-import-standardized-competencies.component.scss'], }) export class AdminImportStandardizedCompetenciesComponent { protected isLoading = false; diff --git a/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.html b/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.html index 2feb21276049..3d23fba11ac7 100644 --- a/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.html +++ b/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.html @@ -1,7 +1,7 @@
-
+
{{ titleControl.value ?? '' }}
diff --git a/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.scss b/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.scss index 555bf7acd9e1..7ac228ab2f07 100644 --- a/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.scss +++ b/src/main/webapp/app/course/competencies/generate-competencies/competency-recommendation-detail.component.scss @@ -1,16 +1,3 @@ -.chevron-position { - display: inline-block; - vertical-align: middle; -} - -.rotate-icon { - transition: transform 0.3s ease; -} - -.rotate-icon.rotated { - transform: rotate(90deg); -} - .card { background-color: var(--overview-light-background-color); margin-bottom: 0.5rem; diff --git a/src/main/webapp/app/exam/participate/summary/collapsible-card.component.scss b/src/main/webapp/app/exam/participate/summary/collapsible-card.component.scss deleted file mode 100644 index 8439109a11dc..000000000000 --- a/src/main/webapp/app/exam/participate/summary/collapsible-card.component.scss +++ /dev/null @@ -1,7 +0,0 @@ -.rotate-icon { - transition: transform 0.3s ease; -} - -.rotate-icon.rotated { - transform: rotate(90deg); -} diff --git a/src/main/webapp/app/exam/participate/summary/collapsible-card.component.ts b/src/main/webapp/app/exam/participate/summary/collapsible-card.component.ts index d63ca18cc8c4..8fd6833375fe 100644 --- a/src/main/webapp/app/exam/participate/summary/collapsible-card.component.ts +++ b/src/main/webapp/app/exam/participate/summary/collapsible-card.component.ts @@ -4,12 +4,7 @@ import { faAngleRight } from '@fortawesome/free-solid-svg-icons'; @Component({ selector: 'jhi-collapsible-card', templateUrl: './collapsible-card.component.html', - styleUrls: [ - '../../../course/manage/course-exercise-card.component.scss', - '../../../exercises/quiz/shared/quiz.scss', - 'exam-result-summary.component.scss', - 'collapsible-card.component.scss', - ], + styleUrls: ['../../../course/manage/course-exercise-card.component.scss', '../../../exercises/quiz/shared/quiz.scss', 'exam-result-summary.component.scss'], }) export class CollapsibleCardComponent { @Input() isCardContentCollapsed: boolean; diff --git a/src/main/webapp/app/overview/course-overview.scss b/src/main/webapp/app/overview/course-overview.scss index a290dab112be..63265035f513 100644 --- a/src/main/webapp/app/overview/course-overview.scss +++ b/src/main/webapp/app/overview/course-overview.scss @@ -93,19 +93,6 @@ Course Info Bar } } -.chevron-position { - display: inline-block; - vertical-align: middle; -} - -.rotate-icon { - transition: transform 0.3s ease; -} - -.rotated { - transform: rotate(90deg); -} - .icon-container { display: inline-block; vertical-align: middle; diff --git a/src/main/webapp/app/overview/discussion-section/discussion-section.component.scss b/src/main/webapp/app/overview/discussion-section/discussion-section.component.scss index 9d4383e791e2..8e950f5556dd 100644 --- a/src/main/webapp/app/overview/discussion-section/discussion-section.component.scss +++ b/src/main/webapp/app/overview/discussion-section/discussion-section.component.scss @@ -35,6 +35,7 @@ $discussion-section-card-min-width: 360px; align-items: center; background-color: var(--artemis-dark); cursor: pointer; + border-radius: 1em 1em 0 0; .card-title { display: flex; diff --git a/src/main/webapp/app/overview/header-course.component.scss b/src/main/webapp/app/overview/header-course.component.scss index 6c07157029a4..479f65a3a08e 100644 --- a/src/main/webapp/app/overview/header-course.component.scss +++ b/src/main/webapp/app/overview/header-course.component.scss @@ -22,10 +22,6 @@ } } -.rotate-icon { - transition: transform 0.3s ease; -} - .rotate180 { transform: rotate(180deg); } diff --git a/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.html b/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.html index afa48446a51c..7ed8cde40aaf 100644 --- a/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.html +++ b/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.html @@ -9,7 +9,7 @@ {{ 'artemisApp.courseOverview.sidebar.' + groupKey | artemisTranslate | titlecase }} ({{ (groupedData[groupKey].entityData | searchFilter: ['title', 'type'] : searchValue)?.length }})
-
+
diff --git a/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.scss b/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.scss index db231ca0372c..78788a1fb334 100644 --- a/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.scss +++ b/src/main/webapp/app/shared/sidebar/sidebar-accordion/sidebar-accordion.component.scss @@ -1,12 +1,3 @@ -.rotate-icon { - display: inline-block; - transition: transform 0.3s ease; -} - -.rotate-icon.rotated { - transform: rotate(90deg); -} - .bg-module { background-color: var(--module-bg); } diff --git a/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.html b/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.html index 230445b7ced1..deaf0569b2ce 100644 --- a/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.html +++ b/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.html @@ -2,7 +2,7 @@
-
+
{{ knowledgeArea.title }}
diff --git a/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.scss b/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.scss index f5f8af30d46c..f7a3113b9a7c 100644 --- a/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.scss +++ b/src/main/webapp/app/shared/standardized-competencies/knowledge-area-tree.component.scss @@ -1,16 +1,3 @@ -.chevron-position { - display: inline-block; - vertical-align: middle; -} - -.rotate-icon { - transition: transform 0.3s ease; -} - -.rotate-icon.rotated { - transform: rotate(90deg); -} - .tree-indent { padding-left: 3rem; } diff --git a/src/main/webapp/content/scss/global.scss b/src/main/webapp/content/scss/global.scss index 1882805d2d93..13becb51e7b9 100644 --- a/src/main/webapp/content/scss/global.scss +++ b/src/main/webapp/content/scss/global.scss @@ -315,6 +315,21 @@ a:hover { cursor: pointer; } +/* Styles for rotating chevron icons */ + +.rotate-icon { + transition: transform 0.3s ease; +} + +.rotated { + transform: rotate(90deg); +} + +.chevron-position { + display: inline-block; + vertical-align: middle; +} + /* ========================================================================== entity tables helpers ========================================================================== */