From 03d7a90d248ba13d766d664963703833ce4c6e9e Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 25 Sep 2025 16:22:43 +0200 Subject: [PATCH] login typo, loop in feedback --- .../feedback-button/feedback-button.css | 172 ------------------ .../feedback-button/feedback-button.html | 52 +++--- .../feedback-button/feedback-button.scss | 22 ++- .../feedback-button/feedback-button.ts | 6 +- .../inputs/multi-selector/multi-selector.html | 29 +-- .../inputs/multi-selector/multi-selector.scss | 13 +- .../sae-lib/src/styles/_variables.scss | 2 + sae-csc/src/app/pages/login/login.html | 4 +- sae-csc/src/app/pages/login/login.scss | 48 +++-- sae-csc/src/app/pages/main/main.html | 15 +- .../bottom-navigation/bottom-navigation.scss | 2 + .../translate-texts/translate-texts.html | 6 +- .../translate-texts/translate-texts.scss | 6 +- .../shared/translate-texts/translate-texts.ts | 22 ++- .../src/styles/app/styles/pages/_main.scss | 2 +- 15 files changed, 143 insertions(+), 258 deletions(-) delete mode 100644 my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.css diff --git a/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.css b/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.css deleted file mode 100644 index dd36fe1..0000000 --- a/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.css +++ /dev/null @@ -1,172 +0,0 @@ -.feedback-button { - - &:hover { - background: #d9e8f6; - } - - i { - font-size: 16px; - } -} - -.feedback-modal-overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.5); - display: flex; - justify-content: center; - align-items: center; - z-index: 1000; -} - -.feedback-modal { - background: white; - border-radius: 8px; - width: 90%; - max-width: 500px; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); - display: flex; - flex-direction: column; - max-height: 90vh; - overflow: hidden; -} - -.modal-header { - display: flex; - justify-content: space-between; - align-items: center; - padding: 16px 20px; - border-bottom: 1px solid #eee; - - h3 { - margin: 0; - font-size: 18px; - font-weight: 600; - color: #083b7d; - } - - .close-button { - background: none; - border: none; - cursor: pointer; - font-size: 20px; - color: #666; - padding: 4px; - - &:hover { - color: #333; - } - } -} - -.modal-body { - padding: 20px; - overflow-y: auto; - - .modal-description { - margin-bottom: 16px; - color: #555; - } - - textarea { - width: 100%; - padding: 12px; - border: 1px solid #ddd; - border-radius: 4px; - resize: vertical; - font-family: inherit; - font-size: 14px; - - &:focus { - outline: none; - border-color: #083b7d; - } - - &:disabled { - background-color: #f5f5f5; - cursor: not-allowed; - } - } - - .success-message, .error-message { - margin-top: 16px; - padding: 10px; - border-radius: 4px; - display: flex; - align-items: center; - gap: 8px; - - i { - font-size: 18px; - } - } - - .success-message { - background-color: #e6f7e6; - color: #2e7d32; - } - - .error-message { - background-color: #fdecea; - color: #d32f2f; - } -} - -.modal-footer { - padding: 16px 20px; - border-top: 1px solid #eee; - display: flex; - justify-content: flex-end; - gap: 12px; - - button { - padding: 8px 16px; - border-radius: 4px; - font-weight: 500; - cursor: pointer; - - &:disabled { - opacity: 0.6; - cursor: not-allowed; - } - } - - .cancel-button { - background: none; - border: 1px solid #ddd; - color: #555; - - &:hover:not(:disabled) { - background-color: #f5f5f5; - } - } - - .submit-button { - background-color: #083b7d; - color: white; - border: none; - display: flex; - align-items: center; - gap: 8px; - - &:hover:not(:disabled) { - background-color: #062c5e; - } - } -} - -.spinning { - animation: spin 1s linear infinite; -} - -@keyframes spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.html b/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.html index 920aa95..0e08552 100644 --- a/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.html +++ b/my-workspace/projects/sae-lib/buttons/feedback-button/feedback-button.html @@ -10,16 +10,16 @@