light background on subscription pages steps

This commit is contained in:
tykayn 2020-12-03 15:23:41 +01:00 committed by Baptiste Lemoine
parent 47ce4803f5
commit f80bf34605
8 changed files with 51 additions and 28 deletions

1
.ncignore Normal file
View File

@ -0,0 +1 @@
deps

View File

@ -13,13 +13,13 @@ config :mobilizon,
config :mobilizon, Mobilizon.Storage.Repo, types: Mobilizon.Storage.PostgresTypes config :mobilizon, Mobilizon.Storage.Repo, types: Mobilizon.Storage.PostgresTypes
config :mobilizon, :instance, config :mobilizon, :instance,
name: "My Mobilizon Instance", name: "mobilizon du chapril",
description: "Change this to a proper description of your instance", description: "instance du chapril",
hostname: "localhost", hostname: "localhost",
registrations_open: false, registrations_open: true,
registration_email_allowlist: [], registration_email_allowlist: [],
languages: [], languages: [],
default_language: "en", default_language: "fr",
demo: false, demo: false,
repository: Mix.Project.config()[:source_url], repository: Mix.Project.config()[:source_url],
allow_relay: true, allow_relay: true,

View File

@ -8,6 +8,26 @@
// color: $violet-2; // color: $violet-2;
// } // }
.title {
margin: 30px auto 45px;
}
.subtitle {
background: $secondary;
display: inline;
padding: 3px 8px;
margin: 15px auto 30px;
}
main > .container {
background: $body-background-color;
min-height: 70vh;
}
.step-content{
height: auto;
}
a.out, a.out,
.content a, .content a,
.ProseMirror a { .ProseMirror a {
@ -16,12 +36,25 @@ a.out,
text-decoration-thickness: 2px; text-decoration-thickness: 2px;
} }
// input.input { main {
// border-color: $input-border-color !important; > section > .columns {
// } min-height: 50vh;
}
> section {
&.container {
min-height: 80vh;
}
}
> #homepage{
> .container{
min-height: 25vh;
}
}
}
.section { .section {
padding: 1rem 1% 4rem; padding: 1rem 1% 4rem;
} }
figure img.is-rounded { figure img.is-rounded {

View File

@ -40,8 +40,8 @@
) )
}} }}
</p> </p>
<div class="has-text-centered"> <div class="has-text-centered has-text-primary has-background-success">
<code>{{ `${currentActor.preferredUsername}@${domain}` }}</code> <pre>{{ `${currentActor.preferredUsername}@${domain}` }}</pre>
</div> </div>
</div> </div>
</div> </div>

View File

@ -108,11 +108,6 @@ $body-background-color: mix( $chapril_blue, #efeef4);
$fullhd-enabled: false; $fullhd-enabled: false;
$hero-body-padding-medium: 6rem 1.5rem; $hero-body-padding-medium: 6rem 1.5rem;
main > .container {
background: $body-background-color;
min-height: 70vh;
}
$title-color: $chapril_blue; $title-color: $chapril_blue;
$title-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, $title-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial,
serif; serif;
@ -129,17 +124,6 @@ $subtitle-size: 32px;
$subtitle-sub-size: 30px; $subtitle-sub-size: 30px;
$subtitle-sup-size: 15px; $subtitle-sup-size: 15px;
.title {
margin: 30px auto 45px;
}
.subtitle {
background: $secondary;
display: inline;
padding: 3px 8px;
margin: 15px auto 30px;
}
//$input-border-color: #dbdbdb; //$input-border-color: #dbdbdb;
$breadcrumb-item-color: $primary; $breadcrumb-item-color: $primary;
$checkbox-background-color: #fff; $checkbox-background-color: #fff;

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="section container"> <div class="section container">
<h1 class="title">{{ $t("Explore") }}</h1> <h1 class="title">{{ $t("Explore") }} IN DEV MODE</h1>
<section v-if="tag"> <section v-if="tag">
<i18n path="Events tagged with {tag}"> <i18n path="Events tagged with {tag}">
<b-tag slot="tag" type="is-light">{{ $t("#{tag}", { tag }) }}</b-tag> <b-tag slot="tag" type="is-light">{{ $t("#{tag}", { tag }) }}</b-tag>
@ -348,6 +348,8 @@ export default class Search extends Vue {
} }
get geohash(): string | undefined { get geohash(): string | undefined {
console.info("geohash location", this.location);
if (this.location && this.location.geom) { if (this.location && this.location.geom) {
const [lon, lat] = this.location.geom.split(";"); const [lon, lat] = this.location.geom.split(";");
return ngeohash.encode(lat, lon, 6); return ngeohash.encode(lat, lon, 6);

View File

@ -76,11 +76,13 @@ export default class ResendConfirmation extends Vue {
e.preventDefault(); e.preventDefault();
this.error = false; this.error = false;
console.log("this.credentials.email", this.credentials.email);
console.log("this.email", this.email);
try { try {
await this.$apollo.mutate({ await this.$apollo.mutate({
mutation: RESEND_CONFIRMATION_EMAIL, mutation: RESEND_CONFIRMATION_EMAIL,
variables: { variables: {
email: this.credentials.email, email: this.credentials.email || this.email,
}, },
}); });
} catch (err) { } catch (err) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="section container"> <div class="section container bg-white">
<h1 class="title">{{ $t("Let's define a few settings") }}</h1> <h1 class="title">{{ $t("Let's define a few settings") }}</h1>
<b-steps v-model="realActualStepIndex" :has-navigation="false"> <b-steps v-model="realActualStepIndex" :has-navigation="false">
<b-step-item step="1" :label="$t('Settings')"> <b-step-item step="1" :label="$t('Settings')">
@ -87,6 +87,7 @@ export default class SettingsOnboard extends Vue {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.section.container { .section.container {
background: white;
.has-text-centered.section.buttons { .has-text-centered.section.buttons {
justify-content: center; justify-content: center;
} }