From b35961aceaeabcb85f0febf422c4ef261771c084 Mon Sep 17 00:00:00 2001 From: Tim Ktitarev Date: Sun, 22 Mar 2020 13:06:42 +0100 Subject: [PATCH 1/2] Created a button-wrapper div to center buttons --- src/App.vue | 10 ++++++--- src/components/Question.vue | 16 ++++++++------ src/views/HelpPage.vue | 42 +++++++++++++++++++++++-------------- src/views/Home.vue | 6 +++++- src/views/Warning.vue | 6 +++++- 5 files changed, 53 insertions(+), 27 deletions(-) diff --git a/src/App.vue b/src/App.vue index 4576eeb..3ea3f01 100644 --- a/src/App.vue +++ b/src/App.vue @@ -61,10 +61,8 @@ 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; + padding: 0.4em 1.4em; font-family: Open Sans,sans-serif; font-style: normal; @@ -76,6 +74,12 @@ background-color: #E94A47; } + /* div element used to center a button or multiple buttons */ + .button-wrapper { + text-align: center; + margin: auto; + } + body { background-color: #FCF7F8; color: #0B2545; diff --git a/src/components/Question.vue b/src/components/Question.vue index ed5d988..5ca5fcd 100644 --- a/src/components/Question.vue +++ b/src/components/Question.vue @@ -4,9 +4,7 @@ } button { - display: block; width: 80%; - margin: 0 auto; margin-bottom: 5%; } @@ -24,11 +22,17 @@
- +
+ +
+
+
+ + +
- diff --git a/src/views/HelpPage.vue b/src/views/HelpPage.vue index c842949..e352687 100644 --- a/src/views/HelpPage.vue +++ b/src/views/HelpPage.vue @@ -1,23 +1,33 @@ + + - - diff --git a/src/views/Home.vue b/src/views/Home.vue index f7a2056..d423bc2 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -38,7 +38,11 @@

COVIDassist

Die COVID-19 Verhaltensdiagnose, die keine Daten speichert.

- +
+ + + +
Informationen zu COVID-19 diff --git a/src/views/Warning.vue b/src/views/Warning.vue index bdc9c4a..84d867c 100644 --- a/src/views/Warning.vue +++ b/src/views/Warning.vue @@ -24,6 +24,10 @@ Bereitschaftsdienst unter 116117 an.

- +
+ + + +
From f00165962e9a4efba6b8688e03231a31285ca2c0 Mon Sep 17 00:00:00 2001 From: Tim Ktitarev Date: Sun, 22 Mar 2020 13:17:09 +0100 Subject: [PATCH 2/2] Fixed circles in the status bar Removed rectangle feedback box when tapping something on a mobile device --- src/App.vue | 6 ++++++ src/views/Questionnaire.vue | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3ea3f01..6ca0cc6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -32,6 +32,12 @@ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } + /* disables the rectangle feedback box when tapping something on a mobile device */ + * { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -moz-tap-highlight-color: rgba(0, 0, 0, 0); + } + h1 { font-size: 1.2em; line-height: 1em; diff --git a/src/views/Questionnaire.vue b/src/views/Questionnaire.vue index 03e4628..29b76b6 100644 --- a/src/views/Questionnaire.vue +++ b/src/views/Questionnaire.vue @@ -36,15 +36,10 @@ justify-content: center; } .point { - font-family: sans-serif; - padding: 0.1em 0 0 0; margin: 0.2em; width: 0.5em; height: 0.5em; border-radius: 50%; - font-size: 0.9em; - color: #000000; - text-align: center; background: transparent; border: 2px solid #23286b; user-select: none;