From 86efb04eb816715bcdb30afa56746fd97c858ad1 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 4 Mar 2022 18:12:15 +0100 Subject: [PATCH] Moved App.vue entry component styles to main.scss --- src/App.vue | 67 +--------------------------------------------- src/scss/main.scss | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 66 deletions(-) diff --git a/src/App.vue b/src/App.vue index e005bb0..6a3cd77 100644 --- a/src/App.vue +++ b/src/App.vue @@ -70,71 +70,6 @@ export default { diff --git a/src/scss/main.scss b/src/scss/main.scss index bd32346..0a2fb40 100644 --- a/src/scss/main.scss +++ b/src/scss/main.scss @@ -1,3 +1,5 @@ +@import "./src/scss/variables"; + .noselect { -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ @@ -7,6 +9,62 @@ user-select: none; /* Non-prefixed version, currently */ } +* { + box-sizing: border-box; +} +html { + height: 100%; +} +body { + margin: 0; + padding: 0; + font-family: "Roboto", sans-serif; + line-height: 1.6; + background: $background-color; + color: $text-color; + transition: background-color 0.5s ease, color 0.5s ease; + + * { + transition: background-color 0.5s ease, color 0.5s ease, + border-color 0.5s ease, fill 0.2s ease; + } + + &.hidden { + overflow: hidden; + } +} +a:any-link { + color: inherit; +} +input, +textarea, +button { + font-family: "Roboto", sans-serif; +} +figure { + padding: 0; + margin: 0; +} +img { + display: block; + height: auto; +} + +.no-scroll { + overflow: hidden; +} + +@mixin noscrollbar { + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* Internet Explorer 10+ */ + + &::-webkit-scrollbar { + /* WebKit */ + width: 0; + height: 0; + } +} + .button--group { display: flex;