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, :instance,
name: "My Mobilizon Instance",
description: "Change this to a proper description of your instance",
name: "mobilizon du chapril",
description: "instance du chapril",
hostname: "localhost",
registrations_open: false,
registrations_open: true,
registration_email_allowlist: [],
languages: [],
default_language: "en",
default_language: "fr",
demo: false,
repository: Mix.Project.config()[:source_url],
allow_relay: true,

View File

@ -8,6 +8,26 @@
// 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,
.content a,
.ProseMirror a {
@ -16,12 +36,25 @@ a.out,
text-decoration-thickness: 2px;
}
// input.input {
// border-color: $input-border-color !important;
// }
main {
> section > .columns {
min-height: 50vh;
}
> section {
&.container {
min-height: 80vh;
}
}
> #homepage{
> .container{
min-height: 25vh;
}
}
}
.section {
padding: 1rem 1% 4rem;
}
figure img.is-rounded {

View File

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

View File

@ -108,11 +108,6 @@ $body-background-color: mix( $chapril_blue, #efeef4);
$fullhd-enabled: false;
$hero-body-padding-medium: 6rem 1.5rem;
main > .container {
background: $body-background-color;
min-height: 70vh;
}
$title-color: $chapril_blue;
$title-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial,
serif;
@ -129,17 +124,6 @@ $subtitle-size: 32px;
$subtitle-sub-size: 30px;
$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;
$breadcrumb-item-color: $primary;
$checkbox-background-color: #fff;

View File

@ -1,6 +1,6 @@
<template>
<div class="section container">
<h1 class="title">{{ $t("Explore") }}</h1>
<h1 class="title">{{ $t("Explore") }} IN DEV MODE</h1>
<section v-if="tag">
<i18n path="Events tagged with {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 {
console.info("geohash location", this.location);
if (this.location && this.location.geom) {
const [lon, lat] = this.location.geom.split(";");
return ngeohash.encode(lat, lon, 6);

View File

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

View File

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