diff --git a/js/src/App.vue b/js/src/App.vue index 4e772c08f..ec0c54f59 100644 --- a/js/src/App.vue +++ b/js/src/App.vue @@ -116,6 +116,8 @@ export default class App extends Vue { $mdi-font-path: "~@mdi/font/fonts"; @import "~@mdi/font/scss/materialdesignicons"; +@import "common"; + .fade-enter-active, .fade-leave-active { transition: opacity 0.5s; diff --git a/js/src/common.scss b/js/src/common.scss new file mode 100644 index 000000000..172e5d1cc --- /dev/null +++ b/js/src/common.scss @@ -0,0 +1,28 @@ +a { + text-decoration: underline; + text-decoration-color: #fea72b; + text-decoration-thickness: 2px; + + &.navbar-item, + &.dropdown-item, + &.card, + &.button, + &[href="#comments"], + &.router-link-active, + &.comment-link, + &.pagination-link { + text-decoration: none; + } +} + +input.input { + border-color: $input-border-color !important; +} + +.section { + padding: 1rem 2rem 4rem; +} + +figure img.is-rounded { + border: 1px solid #cdcaea; +} diff --git a/js/src/components/Account/ActorCard.vue b/js/src/components/Account/ActorCard.vue index 5c143932a..0cbfe708e 100644 --- a/js/src/components/Account/ActorCard.vue +++ b/js/src/components/Account/ActorCard.vue @@ -50,6 +50,8 @@ export default class ActorCard extends Vue { diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index fad695698..76facffe2 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -645,5 +645,7 @@ "{moderator} has unsuspended profile {profile}": "{moderator} has unsuspended profile {profile}", "{moderator} has deleted user {user}": "{moderator} has deleted user {user}", "Change timezone": "Change timezone", - "Select a language": "Select a language" + "Select a language": "Select a language", + "This event is accessible only through it's link. Be careful where you post this link.": "This event is accessible only through it's link. Be careful where you post this link.", + "This event has been cancelled.": "This event has been cancelled." } diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index 68bdd12d2..ab80b2f38 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -668,5 +668,7 @@ "{moderator} has unsuspended profile {profile}": "{moderator} a annulé la suspension de {profile}", "{moderator} has deleted user {user}": "{moderator} a supprimé l'utilisateur·ice {user}", "Change timezone": "Changer de fuseau horaire", - "Select a language": "Choisissez une langue" + "Select a language": "Choisissez une langue", + "This event is accessible only through it's link. Be careful where you post this link.": "Cet événement est accessible uniquement à travers son lien. Faites attention où vous le diffusez.", + "This event has been cancelled.": "Cet événement a été annulé." } diff --git a/js/src/variables.scss b/js/src/variables.scss index 2c94f7512..16549bf26 100644 --- a/js/src/variables.scss +++ b/js/src/variables.scss @@ -1,17 +1,25 @@ @import "~bulma/sass/utilities/_all"; -$primary: #424056; +$bleuvert: #1e7d97; +$jaune: #ffd599; +$violet: #424056; + +$primary: $bleuvert; $primary-invert: findColorInvert($primary); //$secondary: #ffcc85; -$secondary: #ffd599; +$secondary: $jaune; $secondary-invert: findColorInvert($secondary); +$background-color: $violet; + $success: #0eccaf; $success-invert: findColorInvert($success); $info: #36bcd4; $info-invert: findColorInvert($info); $danger: #ff7061; $danger-invert: findColorInvert($danger); +$link: $primary; +$link-invert: $primary-invert; $colors: map-merge( $colors, @@ -36,17 +44,21 @@ $colors: map-merge( $danger, $danger-invert, ), + "link": ( + $link, + $link-invert, + ), ) ); // Navbar $navbar-background-color: $secondary; -$navbar-item-color: $primary; +$navbar-item-color: $background-color; $navbar-height: 4rem; // Footer $footer-padding: 3rem 1.5rem 1rem; -$footer-background-color: $primary; +$footer-background-color: $background-color; $body-background-color: #efeef4; $fullhd-enabled: false; @@ -82,7 +94,6 @@ $subtitle-sup-size: 15px; margin: 15px auto 30px; } -$accent: #1e7d97; - -$breadcrumb-item-color: $accent; +$input-border-color: #dbdbdb; +$breadcrumb-item-color: $primary; $checkbox-background-color: #fff; diff --git a/js/src/views/About.vue b/js/src/views/About.vue index aa0b19820..8e94a6230 100644 --- a/js/src/views/About.vue +++ b/js/src/views/About.vue @@ -238,17 +238,20 @@ a:not(.button) { color: #111; } -.hero.is-primary .subtitle { - padding: 1rem; - display: block; +.hero.is-primary { + background: $background-color; + .subtitle { + padding: 1rem; + display: block; - span { - color: lighten($primary, 10%); + span { + color: lighten($background-color, 10%); + } } } .hero.register { - background: lighten($primary, 20%); + background: lighten($background-color, 20%); } section { diff --git a/js/src/views/Account/IdentityPickerWrapper.vue b/js/src/views/Account/IdentityPickerWrapper.vue index 9d893b689..266c9ecb7 100644 --- a/js/src/views/Account/IdentityPickerWrapper.vue +++ b/js/src/views/Account/IdentityPickerWrapper.vue @@ -9,7 +9,7 @@
{{ $t("Public event") }} @@ -164,6 +164,7 @@