From 9cedd91309a88f8255caa19253a248356d6d9ac4 Mon Sep 17 00:00:00 2001 From: mchouliara Date: Tue, 1 Oct 2024 14:30:29 +0300 Subject: [PATCH] REMOVE material-dashboard and bootstrap from angular json, add boostrap overwrite files to styles.scss, relevant fixes --- frontend/angular.json | 3 - ...n-template-editor-field-set.component.scss | 1 - .../app/ui/dashboard/dashboard.component.scss | 4 - ...cription-base-fields-editor.component.scss | 2 +- .../src/app/ui/navbar/navbar.component.html | 6 +- .../src/app/ui/navbar/navbar.component.scss | 11 +- .../plan-editor.component.scss | 2 +- .../src/app/ui/sidebar/sidebar.component.scss | 282 +++++++++--------- frontend/src/assets/scss/core/_type.scss | 101 ++++--- .../src/assets/scss/core/variables/_type.scss | 85 +----- frontend/src/styles.scss | 88 +++--- 11 files changed, 266 insertions(+), 319 deletions(-) diff --git a/frontend/angular.json b/frontend/angular.json index a2fde21c5..1c9383062 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -25,8 +25,6 @@ { "glob": "**/*", "input": "node_modules/tinymce", "output": "/tinymce/" } ], "styles": [ - "node_modules/bootstrap/dist/css/bootstrap.min.css", - "src/assets/scss/material-dashboard.scss", "src/styles.scss", "node_modules/cookieconsent/build/cookieconsent.min.css" ], @@ -113,7 +111,6 @@ "tsConfig": "src/tsconfig.spec.json", "scripts": [], "styles": [ - "src/assets/scss/material-dashboard.scss", "src/styles.scss", "node_modules/tinymce/tinymce.min.js" ], diff --git a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss index fd42b1e7d..cf04a2904 100644 --- a/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss +++ b/frontend/src/app/ui/admin/description-template/editor/components/field-set/description-template-editor-field-set.component.scss @@ -1,5 +1,4 @@ @use 'sass:math'; -@import "assets/scss/core/_variables.scss"; .full-width{ width: 100%; diff --git a/frontend/src/app/ui/dashboard/dashboard.component.scss b/frontend/src/app/ui/dashboard/dashboard.component.scss index e54aaf194..80439ced0 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/frontend/src/app/ui/dashboard/dashboard.component.scss @@ -31,8 +31,6 @@ .card-content { text-align: left; - font-weight: 300; - font-size: 1rem; letter-spacing: 0px; color: var(--dark-gray); padding-left: 40px; @@ -56,7 +54,6 @@ .personal-usage { text-align: left; - font-weight: 300; font-size: 1.25rem; letter-spacing: 0px; color: #000000; @@ -348,7 +345,6 @@ mat-tab-group.my-mat-tab .mat-mdc-tab-header .mat-mdc-tab-label-container .mat-m .new-releases-content { text-align: left; font-weight: 300; - font-size: 1rem; letter-spacing: 0px; color: var(--dark-gray); padding-left: 40px; diff --git a/frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss b/frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss index 54f5ef76d..fd50bc6ff 100644 --- a/frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss +++ b/frontend/src/app/ui/description/editor/description-base-fields-editor/description-base-fields-editor.component.scss @@ -6,7 +6,7 @@ letter-spacing: 0px; color: var(--dark-gray); opacity: 1; - margin: 3rem 0rem 3rem 0rem; + margin: 2rem 0rem 1.5rem 0rem; } .heading { diff --git a/frontend/src/app/ui/navbar/navbar.component.html b/frontend/src/app/ui/navbar/navbar.component.html index eee5e187f..38e68ffc6 100644 --- a/frontend/src/app/ui/navbar/navbar.component.html +++ b/frontend/src/app/ui/navbar/navbar.component.html @@ -1,6 +1,6 @@ -