From 85dd304682b751124bfc01909837b53da3c77ef5 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Wed, 5 Aug 2020 00:09:02 +0200 Subject: [PATCH] Update projects and some improvements --- assets/styles/_colors.scss | 2 +- assets/styles/global.scss | 7 +- components/MyButton.vue | 9 +- components/MyFooter.vue | 64 ----- components/NavBarTitle.vue | 18 ++ components/NavigationBar.vue | 65 ++---- components/pages/projects/MyProject.vue | 56 ++--- layouts/default.vue | 6 +- layouts/empty.vue | 13 -- nuxt.config.js | 6 +- pages/index.vue | 50 +--- pages/legal-notice.vue | 79 ------- pages/privacy.vue | 298 ------------------------ pages/projects.vue | 113 +++++---- 14 files changed, 147 insertions(+), 639 deletions(-) delete mode 100644 components/MyFooter.vue create mode 100644 components/NavBarTitle.vue delete mode 100644 layouts/empty.vue delete mode 100644 pages/legal-notice.vue delete mode 100644 pages/privacy.vue diff --git a/assets/styles/_colors.scss b/assets/styles/_colors.scss index 0922109..2646d20 100644 --- a/assets/styles/_colors.scss +++ b/assets/styles/_colors.scss @@ -1,6 +1,6 @@ $background: white; $background-c: black; -$pink: #BB2081; +$pink: #bb2081; $pink-c: white; $blue: #14AAD8; $blue-c: white; diff --git a/assets/styles/global.scss b/assets/styles/global.scss index bfb73c8..4807a61 100644 --- a/assets/styles/global.scss +++ b/assets/styles/global.scss @@ -3,7 +3,6 @@ @use "./formatted"; // General - html, body { font-family: "Roboto Slab", sans-serif; font-size: 16px; @@ -18,8 +17,11 @@ html, body { color: colors.$background-c; } -// Transitions +::selection { + background-color: rgba(229, 55, 162, 0.5); +} +// Transitions .page-enter-active, .page-leave-active { transition: 500ms ease opacity; } @@ -33,7 +35,6 @@ html, body { } // Other - .content { @include content.content(); } diff --git a/components/MyButton.vue b/components/MyButton.vue index ddf9f52..2a61d57 100644 --- a/components/MyButton.vue +++ b/components/MyButton.vue @@ -7,7 +7,7 @@ justify-content: flex-start; align-items: center; - padding: 8px 15px; + padding: 8px 12px 8px 20px; border-radius: 4px; height: 30px; @@ -21,10 +21,8 @@ transition: 140ms ease background-color; &:hover, &:focus { - outline: none; - &:not(.my-button--disabled) { - background: transparentize(colors.$background-c, 0.9); + background: transparentize(colors.$background-c, 0.94); } } @@ -96,6 +94,7 @@ text-transform: uppercase; font-weight: bold; font-size: 1.2rem; + pointer-events: none; } .my-button__prefix { @@ -178,7 +177,7 @@ click: true, 400: true }, - value: "rgba(0, 0, 0, 0.5)" + value: "rgba(0, 0, 0, 0.2)" } ], attrs: { diff --git a/components/MyFooter.vue b/components/MyFooter.vue deleted file mode 100644 index 78c6ad8..0000000 --- a/components/MyFooter.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/components/NavBarTitle.vue b/components/NavBarTitle.vue new file mode 100644 index 0000000..8d93d48 --- /dev/null +++ b/components/NavBarTitle.vue @@ -0,0 +1,18 @@ + + + diff --git a/components/NavigationBar.vue b/components/NavigationBar.vue index 958b2c0..84f1692 100644 --- a/components/NavigationBar.vue +++ b/components/NavigationBar.vue @@ -3,12 +3,9 @@