diff --git a/fittrackee_client/src/components/Common/Modal.vue b/fittrackee_client/src/components/Common/Modal.vue index 2d729b00..9fb57f8c 100644 --- a/fittrackee_client/src/components/Common/Modal.vue +++ b/fittrackee_client/src/components/Common/Modal.vue @@ -21,7 +21,12 @@ > {{ $t('buttons.YES') }} - diff --git a/fittrackee_client/src/components/NavBar.vue b/fittrackee_client/src/components/NavBar.vue index 630df78b..9a1855f4 100644 --- a/fittrackee_client/src/components/NavBar.vue +++ b/fittrackee_client/src/components/NavBar.vue @@ -1,5 +1,13 @@ @@ -220,6 +243,16 @@ .nav-separator { display: none; } + .logout-button { + padding: $default-padding * 0.5 $default-padding * 0.75; + margin-left: 2px; + .logout-fa { + display: block; + } + .logout-text { + display: none; + } + } } @media screen and (max-width: $medium-limit) { @@ -280,6 +313,19 @@ .nav-items-group { display: flex; flex-direction: column; + + .logout-button { + padding: $default-padding $default-padding $default-padding + $default-padding * 2.4; + color: var(--app-a-color); + text-align: left; + .logout-fa { + display: none; + } + .logout-text { + display: block; + } + } } .nav-item { diff --git a/fittrackee_client/src/locales/en/user.json b/fittrackee_client/src/locales/en/user.json index 5629b94c..3bd9cd9b 100644 --- a/fittrackee_client/src/locales/en/user.json +++ b/fittrackee_client/src/locales/en/user.json @@ -26,6 +26,7 @@ "LAST_PRIVACY_POLICY_TO_VALIDATE": "The privacy policy has been updated, please {0} it before proceeding.", "LOGIN": "Login", "LOGOUT": "Logout", + "LOGOUT_CONFIRMATION": "Are you sure you want to log out?", "LOG_IN": "log in", "NEW_PASSWORD": "New password", "NO_USERS_FOUND": "No users found.", diff --git a/fittrackee_client/src/locales/fr/user.json b/fittrackee_client/src/locales/fr/user.json index b42b2bc6..5d758d9a 100644 --- a/fittrackee_client/src/locales/fr/user.json +++ b/fittrackee_client/src/locales/fr/user.json @@ -26,6 +26,7 @@ "LAST_PRIVACY_POLICY_TO_VALIDATE": "La politique de confidentialité a été mise à jour. Veuillez l'{0} avant de poursuivre.", "LOGIN": "Se connecter", "LOGOUT": "Se déconnecter", + "LOGOUT_CONFIRMATION": "Etes-vous sûr de vouloir vous déconnecter", "LOG_IN": "connecter", "NEW_PASSWORD": "Nouveau mot de passe", "NO_USERS_FOUND": "Aucun utilisateur trouvé.", diff --git a/fittrackee_client/src/scss/base.scss b/fittrackee_client/src/scss/base.scss index b78f2b5d..37fa731d 100644 --- a/fittrackee_client/src/scss/base.scss +++ b/fittrackee_client/src/scss/base.scss @@ -57,6 +57,22 @@ button { color: var(--app-color); padding: 6px 14px; + &.transparent { + font-family: 'PT Sans', Helvetica, Arial, sans-serif; + font-size: 1em; + border-color: transparent; + box-shadow: none; + + &:hover { + background: transparent; + color: var(--app-color); + } + + &:enabled:active { + box-shadow: none; + } + } + &:hover { background: var(--app-color); color: var(--button-hover-color);