From 47807db8cb93044ee110b3b55d730c547307992e Mon Sep 17 00:00:00 2001 From: pa Date: Sun, 8 Mar 2026 21:54:29 +0900 Subject: [PATCH] refactor css --- src/App.vue | 12 +- src/app.css | 33 ------ src/components/InstanceActionBar.vue | 9 -- src/components/Location.vue | 8 +- src/components/LocationWorld.vue | 6 - src/components/__tests__/Location.test.js | 2 +- .../AvatarDialog/SetAvatarStylesDialog.vue | 108 +++++++++--------- .../AvatarDialog/SetAvatarTagsDialog.vue | 8 +- .../dialogs/GroupDialog/GroupDialog.vue | 20 +--- .../components/InstanceActivityDetail.vue | 10 +- src/views/FriendList/FriendList.vue | 8 -- src/views/Layout/MainLayout.vue | 2 +- src/views/Moderation/Moderation.vue | 9 +- src/views/Notifications/Notification.vue | 14 --- src/views/Tools/Gallery.vue | 38 ++---- .../dialogs/ExportDiscordNamesDialog.vue | 2 - .../Tools/dialogs/RegistryBackupDialog.vue | 6 - src/vr/Vr.vue | 76 +++++++++++- 18 files changed, 150 insertions(+), 221 deletions(-) diff --git a/src/App.vue b/src/App.vue index e4f50f80..b63883ca 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,10 @@ -
+
@@ -61,10 +64,3 @@ store.game.checkVRChatDebugLogging(); }); - - diff --git a/src/app.css b/src/app.css index 87df58fa..71c7d4d1 100644 --- a/src/app.css +++ b/src/app.css @@ -6,14 +6,6 @@ html { animation: rotating 2s linear infinite; } -.x-app { - display: flex; - width: 100vw; - height: 100vh; - overflow: hidden; - cursor: default; -} - .x-container { position: relative; padding: 10px; @@ -35,31 +27,6 @@ html.dark .x-container { background: var(--sidebar); } -.x-app > .x-container { - padding-top: 15px; -} - -/*FIXME: this is a nasty temporary hack*/ -.force-pointer-on-hover a, -.force-pointer-on-hover button, -.force-pointer-on-hover [role='button'], -.force-pointer-on-hover label, -.force-pointer-on-hover summary, -.force-pointer-on-hover .x-link, -.force-pointer-on-hover input[type='submit'] { - cursor: pointer !important; -} - [data-sonner-toast] [data-content] [data-description] { white-space: pre-line; } - -.main-layout-wrapper { - display: flex; - flex-direction: column; - flex: 1; - height: 100%; - min-height: 0; - min-width: 0; - overflow: hidden; -} diff --git a/src/components/InstanceActionBar.vue b/src/components/InstanceActionBar.vue index 455410e8..9080f728 100644 --- a/src/components/InstanceActionBar.vue +++ b/src/components/InstanceActionBar.vue @@ -380,12 +380,3 @@ immediate: true }); - - diff --git a/src/components/Location.vue b/src/components/Location.vue index 999615d2..6c9363ae 100644 --- a/src/components/Location.vue +++ b/src/components/Location.vue @@ -1,6 +1,6 @@