Add help text styling
This commit is contained in:
parent
da1fb4a372
commit
4fb8220f7d
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<div class="document-form">
|
||||
|
||||
<info-icon class="document-form__help-icon"></info-icon>
|
||||
<p class="document-form__help-description">
|
||||
Sie können Dokumente auf <a class="document-form__platform-link" href="https://onedrive.live.com/"
|
||||
<info-icon class="document-form__help-icon help-text__icon"></info-icon>
|
||||
<p class="document-form__help-description help-text__description">
|
||||
Sie können Dokumente auf <a class="document-form__platform-link help-text__link" href="https://onedrive.live.com/"
|
||||
target="_blank">OneDrive</a> hochladen und anschliessen einen Link hier einfügen.
|
||||
</p>
|
||||
|
||||
|
|
@ -36,22 +36,14 @@
|
|||
align-items: center;
|
||||
|
||||
&__help-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
fill: $color-brand;
|
||||
}
|
||||
|
||||
&__help-description {
|
||||
font-family: $sans-serif-font-family;
|
||||
font-size: toRem(17px);
|
||||
font-weight: 500;
|
||||
|
||||
}
|
||||
|
||||
&__platform-link {
|
||||
font-family: $sans-serif-font-family;
|
||||
text-decoration: underline;
|
||||
font-weight: 500;
|
||||
font-size: toRem(17px);
|
||||
|
||||
}
|
||||
|
||||
&__document-link {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<div class="video-form">
|
||||
|
||||
<info-icon class="video-form__help-icon"></info-icon>
|
||||
<p class="video-form__help-description">
|
||||
Sie können Videos auf <a class="video-form__platform-link" href="https://youtube.com/" target="_blank">Youtube</a>
|
||||
oder <a class="video-form__platform-link" href="https://vimeo.com/" target="_blank">Vimeo</a>
|
||||
<info-icon class="video-form__help-icon help-text__icon"></info-icon>
|
||||
<p class="video-form__help-description help-text__description">
|
||||
Sie können Videos auf <a class="video-form__platform-link help-text__link" href="https://youtube.com/" target="_blank">Youtube</a>
|
||||
oder <a class="video-form__platform-link help-text__link" href="https://vimeo.com/" target="_blank">Vimeo</a>
|
||||
hochladen und anschliessen einen Link hier einfügen.
|
||||
</p>
|
||||
|
||||
|
|
@ -36,15 +36,11 @@
|
|||
align-items: center;
|
||||
|
||||
&__help-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
fill: $color-brand;
|
||||
|
||||
}
|
||||
|
||||
&__help-description {
|
||||
font-family: $sans-serif-font-family;
|
||||
font-size: toRem(17px);
|
||||
font-weight: 500;
|
||||
|
||||
}
|
||||
|
||||
&__platform-link {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
.help-text {
|
||||
&__icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
fill: $color-brand;
|
||||
}
|
||||
&__description {
|
||||
font-family: $sans-serif-font-family;
|
||||
font-size: toRem(17px);
|
||||
font-weight: 500;
|
||||
}
|
||||
&__link {
|
||||
font-family: $sans-serif-font-family;
|
||||
text-decoration: underline;
|
||||
font-weight: 500;
|
||||
font-size: toRem(17px);
|
||||
}
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
@import "variables";
|
||||
@import "buttons";
|
||||
@import "forms";
|
||||
@import "help-text";
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue