Style hello page, style mobile
This commit is contained in:
parent
34ad66bab7
commit
a9e7325b86
|
|
@ -18,6 +18,7 @@
|
||||||
<p class="about__text">mySkillbox ist ein Angebot des hep Verlags in
|
<p class="about__text">mySkillbox ist ein Angebot des hep Verlags in
|
||||||
Zusammenarbeit mit dem Eidgenössischen Hochschulinstitut für Berufsbildung.</p>
|
Zusammenarbeit mit dem Eidgenössischen Hochschulinstitut für Berufsbildung.</p>
|
||||||
</div>
|
</div>
|
||||||
|
<logo class="logo" />
|
||||||
<div class="login-actions">
|
<div class="login-actions">
|
||||||
<h2
|
<h2
|
||||||
class="login-actions__title"
|
class="login-actions__title"
|
||||||
|
|
@ -42,6 +43,19 @@
|
||||||
href="/api/oauth/login/"
|
href="/api/oauth/login/"
|
||||||
data-cy="oauth-login">Anleitung anschauen</a>
|
data-cy="oauth-login">Anleitung anschauen</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="links">
|
||||||
|
<ul class="links__list">
|
||||||
|
<li class="links__list-item">
|
||||||
|
<a href="">Lizenz kaufen</a>
|
||||||
|
</li>
|
||||||
|
<li class="links__list-item">
|
||||||
|
<a href="">Support</a>
|
||||||
|
</li>
|
||||||
|
<li class="links__list-item">
|
||||||
|
<a href="">Datenschutz</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -51,13 +65,15 @@
|
||||||
import pageTitleMixin from '@/mixins/page-title';
|
import pageTitleMixin from '@/mixins/page-title';
|
||||||
import HepLogo from '@/components/icons/HepLogo';
|
import HepLogo from '@/components/icons/HepLogo';
|
||||||
import EhbLogo from '@/components/icons/EhbLogo';
|
import EhbLogo from '@/components/icons/EhbLogo';
|
||||||
|
import Logo from '@/components/icons/Logo';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [pageTitleMixin],
|
mixins: [pageTitleMixin],
|
||||||
components: {
|
components: {
|
||||||
LoadingButton,
|
LoadingButton,
|
||||||
HepLogo,
|
HepLogo,
|
||||||
EhbLogo
|
EhbLogo,
|
||||||
|
Logo
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -75,7 +91,25 @@
|
||||||
@import "@/styles/_variables.scss";
|
@import "@/styles/_variables.scss";
|
||||||
@import "@/styles/_mixins.scss";
|
@import "@/styles/_mixins.scss";
|
||||||
|
|
||||||
|
$hello-block-margin: 2*$medium-spacing;
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
display: block;
|
||||||
|
width: 300px;
|
||||||
|
margin: $small-spacing auto 0;
|
||||||
|
|
||||||
|
@include desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.about {
|
.about {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
@include desktop {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
&__text {
|
&__text {
|
||||||
margin-top: $medium-spacing;
|
margin-top: $medium-spacing;
|
||||||
@include regular-text;
|
@include regular-text;
|
||||||
|
|
@ -107,7 +141,7 @@
|
||||||
.login-actions {
|
.login-actions {
|
||||||
@include widget-shadow;
|
@include widget-shadow;
|
||||||
|
|
||||||
margin-top: $large-spacing;
|
margin-top: $hello-block-margin;
|
||||||
padding: $medium-spacing;
|
padding: $medium-spacing;
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
|
|
@ -125,10 +159,40 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.information {
|
.information {
|
||||||
margin-top: $large-spacing;
|
margin-top: $hello-block-margin;
|
||||||
> p, a {
|
> p, a {
|
||||||
@include regular-text;
|
@include regular-text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
margin-top: $hello-block-margin;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
&__list-item {
|
||||||
|
|
||||||
|
color: $color-silver-dark;
|
||||||
|
|
||||||
|
> a {
|
||||||
|
@include regular-text;
|
||||||
|
}
|
||||||
|
|
||||||
|
flex-direction: column;
|
||||||
|
margin-top: $medium-spacing;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include desktop {
|
||||||
|
display: inline-block;
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue