Merge branch 'css_mobile' into 'master'
Updated CSS to work on phones See merge request corona-risikoabschaetzungs-app/covidassist!2
This commit is contained in:
commit
ab8526cd4a
6 changed files with 101 additions and 36 deletions
24
src/App.vue
24
src/App.vue
|
@ -9,9 +9,13 @@
|
|||
</template>
|
||||
|
||||
<style>
|
||||
/* Import Open Sans from Google Fonts */
|
||||
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
|
||||
|
||||
h1 {
|
||||
font-size: 1.2em;
|
||||
line-height: 1em;
|
||||
color: #23286B;
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -27,17 +31,25 @@
|
|||
color: #2779E1;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
button {
|
||||
background: #23286B;
|
||||
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
|
||||
border-radius: 20px;
|
||||
color: #FFFFFF;
|
||||
|
||||
box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
|
||||
border-radius: 15px;
|
||||
padding: 0.4em 1.4em;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
border: none;
|
||||
|
||||
font-family: Open Sans,sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 1em;
|
||||
padding: 0.7em 1em;
|
||||
|
||||
color: #FFFFFF;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
button.alert {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 46 KiB |
|
@ -1,3 +1,17 @@
|
|||
<style scoped>
|
||||
.question {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
button {
|
||||
display: block;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 5%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="question">
|
||||
<p>{{ question }}</p>
|
||||
|
|
|
@ -19,7 +19,7 @@ const routes = [
|
|||
component: Warning
|
||||
},
|
||||
{
|
||||
path: '/questionmaire',
|
||||
path: '/questionnaire',
|
||||
name: 'Fragebogen',
|
||||
component: Questionnaire
|
||||
},
|
||||
|
|
|
@ -1,12 +1,47 @@
|
|||
<style scoped>
|
||||
.home {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
#welcome-image {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
p {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
#information {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
padding: 5%;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 1.2em;
|
||||
color: #23286B;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="home">
|
||||
<img alt="Vue logo" src="../assets/welcome.png">
|
||||
<!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
|
||||
<h1>COVIDassist</h1>
|
||||
<p>Die COVID-19 Verhaltensdiagnose, die Ihre Daten respektiert.</p>
|
||||
<router-link to="/warning"><button>Selbsttest starten</button></router-link>
|
||||
<a href="/">Informationen zu COVID-19</a>
|
||||
<small><a href="/">Imprint</a></small>
|
||||
<img id="welcome-image" alt="Welcome" src="../assets/welcome.png">
|
||||
<div>
|
||||
<p id="title"><b>COVID</b>assist</p>
|
||||
<p>Die COVID-19 Verhaltensdiagnose, die keine Daten speichert.</p>
|
||||
<router-link style="text-decoration:none" to="/warning"><button>Infektionsrisiko ermitteln</button></router-link>
|
||||
</div>
|
||||
|
||||
<a id="information" href="https://www.rki.de/SharedDocs/FAQ/NCOV2019/FAQ_Liste.html"><b>Informationen zu COVID-19</b></a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -21,12 +56,3 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.home {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 0.5em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,16 +1,29 @@
|
|||
<template>
|
||||
<div class="about">
|
||||
<h1>Warnhinweis</h1>
|
||||
<p>Dieser Test geht auf Ihr Verhalten ein und gibt Ihnen Tipps, wie Sie eine Infektion vermeiden können. Wenn Sie vermuten, dass Sie bereits infiziert sind, rufen Sie den ärztlichen Bereitschaftsdienst an:</p>
|
||||
<p class="number">116117</p>
|
||||
<router-link to="/questionmaire"><button>Fortfahren</button></router-link>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.warning {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
<style>
|
||||
.number {
|
||||
font-family: sans-serif;
|
||||
color: #E94A47;
|
||||
font-size: 1.6em;
|
||||
h1, p {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="warning">
|
||||
<div>
|
||||
<h1>Hinweis</h1>
|
||||
<p>
|
||||
Dieser Test geht auf Ihr Verhalten ein und gibt Ihnen Tipps,
|
||||
wie Sie eine Infektion vermeiden können. Wenn Sie vermuten,
|
||||
dass Sie bereits infiziert sind, rufen Sie den ärztlichen
|
||||
Bereitschaftsdienst unter 116117 an.
|
||||
</p>
|
||||
</div>
|
||||
<router-link style="text-decoration:none" to="/questionnaire"><button>Ich möchte weiter zum Test</button></router-link>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue