diff --git a/src-core/src/commands/splash.rs b/src-core/src/commands/splash.rs index 9096b41d..adfbb112 100644 --- a/src-core/src/commands/splash.rs +++ b/src-core/src/commands/splash.rs @@ -20,6 +20,8 @@ pub async fn close_splashscreen(window: tauri::Window) { .unwrap() .start_in_tray { - window.get_window("main").unwrap().show().unwrap(); + let window = window.get_window("main").unwrap(); + window.show().unwrap(); + window.set_focus().unwrap(); } } diff --git a/src-ui/app/views/dashboard-view/views/audio-volume-automations-view/audio-volume-automations-view.component.html b/src-ui/app/views/dashboard-view/views/audio-volume-automations-view/audio-volume-automations-view.component.html index c85a1a03..68b1deec 100644 --- a/src-ui/app/views/dashboard-view/views/audio-volume-automations-view/audio-volume-automations-view.component.html +++ b/src-ui/app/views/dashboard-view/views/audio-volume-automations-view/audio-volume-automations-view.component.html @@ -1,33 +1,35 @@
audio-volume-automations.title
-

audio-volume-automations.description

-
-

audio-volume-automations.onSleepEnable.title

-

audio-volume-automations.onSleepEnable.description

- -
-
-

audio-volume-automations.onSleepDisable.title

-

audio-volume-automations.onSleepDisable.description

- -
-
-

audio-volume-automations.onSleepPreparation.title

-

audio-volume-automations.onSleepPreparation.description

- +
+

audio-volume-automations.description

+
+

audio-volume-automations.onSleepEnable.title

+

audio-volume-automations.onSleepEnable.description

+ +
+
+

audio-volume-automations.onSleepDisable.title

+

audio-volume-automations.onSleepDisable.description

+ +
+
+

audio-volume-automations.onSleepPreparation.title

+

audio-volume-automations.onSleepPreparation.description

+ +
diff --git a/src-ui/app/views/dashboard-view/views/auto-invite-request-accept-view/auto-invite-request-accept-view.component.html b/src-ui/app/views/dashboard-view/views/auto-invite-request-accept-view/auto-invite-request-accept-view.component.html index b31cf614..54535d8a 100644 --- a/src-ui/app/views/dashboard-view/views/auto-invite-request-accept-view/auto-invite-request-accept-view.component.html +++ b/src-ui/app/views/dashboard-view/views/auto-invite-request-accept-view/auto-invite-request-accept-view.component.html @@ -1,89 +1,90 @@
auto-invite-request-accept.title
-

auto-invite-request-accept.description

-
-
-
- warning -
-
- {{ 'shared.misc.vrcLoginRequired' | translate }} - -
-
-
-
-
- warning -
-
- {{ 'auto-invite-request-accept.userOnBusyStatus' | translate }}
-
-
-
-
- warning -
-
- {{ 'auto-invite-request-accept.userOnJoinMeStatus' | translate }}
-
-
-
-
- auto-invite-request-accept.options.enable.title - auto-invite-request-accept.options.enable.description +
+

auto-invite-request-accept.description

+
+
+
+ warning
-
- +
+ {{ 'shared.misc.vrcLoginRequired' | translate }} +
- -
-
- auto-invite-request-accept.options.listMode.title - auto-invite-request-accept.options.listMode.description +
+
+
+ warning
-
- +
+ {{ 'auto-invite-request-accept.userOnBusyStatus' | translate }}
+
+
+
+
+ warning
+
+ {{ 'auto-invite-request-accept.userOnJoinMeStatus' | translate }}
-
-

auto-invite-request-accept.conditions.title

-

auto-invite-request-accept.conditions.description

-
-
-
- auto-invite-request-accept.options.onlyIfSleepModeEnabled.title - +
+
+
+ auto-invite-request-accept.options.enable.title + auto-invite-request-accept.options.enable.description +
+
+ +
-
- + +
+
+ auto-invite-request-accept.options.listMode.title + auto-invite-request-accept.options.listMode.description +
+
+ +
+

auto-invite-request-accept.conditions.title

+

auto-invite-request-accept.conditions.description

+
+
+
+ auto-invite-request-accept.options.onlyIfSleepModeEnabled.title + +
+
+ +
+
-
-
+
+
- auto-invite-request-accept.options.onlyBelowPlayerCount.description -
-
- - +
-
-

auto-invite-request-accept.otherAutomations.title

-

auto-invite-request-accept.otherAutomations.description

-
-
-
+

auto-invite-request-accept.otherAutomations.title

+

auto-invite-request-accept.otherAutomations.description

+
+
+
auto-invite-request-accept.options.changeListPreset.onSleepEnable.titleauto-invite-request-accept.options.changeListPreset.onSleepEnable.title - auto-invite-request-accept.options.changeListPreset.onSleepEnable.description + > +
+
+ +
-
- -
-
-
-
+
+
auto-invite-request-accept.options.changeListPreset.onSleepDisable.titleauto-invite-request-accept.options.changeListPreset.onSleepDisable.title - auto-invite-request-accept.options.changeListPreset.onSleepDisable.description -
-
- + > +
+
+ +
-
-
-
+
+
auto-invite-request-accept.options.changeListPreset.onSleepPreparation.titleauto-invite-request-accept.options.changeListPreset.onSleepPreparation.title - auto-invite-request-accept.options.changeListPreset.onSleepPreparation.description -
-
- + > +
+
+ +
diff --git a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.html b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.html index d730d90a..5ec9f4e4 100644 --- a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.html +++ b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.html @@ -1,7 +1,9 @@
- +
+ +
diff --git a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.scss b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.scss index a867bfb7..76071e97 100644 --- a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.scss +++ b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automation-details/brightness-automation-details.component.scss @@ -3,6 +3,7 @@ :host { position: relative; display: block; + width: 100%; } .bg { @@ -13,6 +14,16 @@ left: 0; } +.btn-close-container { + width: calc(100% - 10em); + max-width: min(calc(100% - 10em), 60em); + right: 0; + height: 100%; + top: 0; + flex-shrink: 0; + position: absolute; +} + .btn-close { background: transparent; border: none; @@ -21,14 +32,14 @@ flex-direction: row; align-items: center; justify-content: center; - position: absolute; - top: calc(50% - 1.5em); width: 3em; height: 3em; - left: 5.5em; cursor: pointer; border-radius: var(--surface-border-radius); transition: all 0.15s ease; + position: absolute; + top: calc(50% - 1.5em); + left: -4.5em; &:hover { background: rgba(black, 0.4); @@ -58,9 +69,11 @@ .pane { background: var(--color-surface-3); width: calc(100% - 10em); - left: 10em; + max-width: min(calc(100% - 10em), 60em); + right: 0; height: 100%; top: 0; + flex-shrink: 0; position: absolute; padding: 2em; border-left: 1px solid var(--color-surface-4); diff --git a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automations-tab.component.html b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automations-tab.component.html index f51dff47..d85d64a2 100644 --- a/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automations-tab.component.html +++ b/src-ui/app/views/dashboard-view/views/brightness-automations-view/tabs/new-brightness-automations-tab/brightness-automations-tab.component.html @@ -1,8 +1,10 @@ - +
+ +
chaperone-automations.title
-
-

chaperone-automations.description

-
-
-
- chaperone-automations.onSleepEnable.title - chaperone-automations.onSleepEnable.description -
-
-