From 3b3d7f9350b0aa1d3b491d1556eb6b1a0571935b Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 2 Jul 2023 10:24:41 +0800 Subject: [PATCH] logo center --- .env.development | 2 +- index.html | 4 ++-- public/loader.css | 8 ++++---- public/manifest.json | 2 +- src/@layouts/styles/_default-layout.scss | 6 ++++++ 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.env.development b/.env.development index b27eade5..64c2bdd4 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=http://localhost:3001/api/v1/ +VITE_API_BASE_URL=http://10.10.10.10:3001/api/v1/ diff --git a/index.html b/index.html index 5d9c92df..7ab225f2 100644 --- a/index.html +++ b/index.html @@ -71,7 +71,7 @@ - + @@ -120,4 +120,4 @@ - \ No newline at end of file + diff --git a/public/loader.css b/public/loader.css index e48eefbb..ceafb859 100644 --- a/public/loader.css +++ b/public/loader.css @@ -25,11 +25,11 @@ html { position: absolute; box-sizing: border-box; border: 3px solid transparent; - block-size: 55px; border-radius: 50%; + block-size: 55px; inline-size: 55px; inset-block-start: 50%; - inset-inline-start: calc(50% - 35px); + inset-inline-start: calc(50% - 2rem); } .loading .effect-1, @@ -38,9 +38,9 @@ html { position: absolute; box-sizing: border-box; border: 3px solid transparent; + border-radius: 50%; block-size: 100%; border-inline-start: 3px solid var(--initial-loader-color, #eee); - border-radius: 50%; inline-size: 100%; } @@ -80,4 +80,4 @@ html { opacity: 1; transform: rotate(1turn); } -} +} \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index 0b8043ad..671bdb0f 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -28,7 +28,7 @@ "purpose": "maskable" } ], - "theme_color": "#7D34FD", + "theme_color": "#1E1A2E", "background_color": "#1E1A2E", "display": "standalone", "shortcuts": [ diff --git a/src/@layouts/styles/_default-layout.scss b/src/@layouts/styles/_default-layout.scss index e07cee53..0cccd8bc 100644 --- a/src/@layouts/styles/_default-layout.scss +++ b/src/@layouts/styles/_default-layout.scss @@ -8,6 +8,12 @@ html { min-height: calc(100% + env(safe-area-inset-top)); } +body { + background-color: var(--v-theme-background); + overscroll-behavior-y: contain; + --webkit-overflow-scrolling: touch; +} + body, #app, .v-application {