mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Make desktop toggle switch disabled obvious
y'all stop complaining like some hoes
This commit is contained in:
@@ -525,3 +525,10 @@ i.x-user-status.busy {
|
|||||||
.color-picker {
|
.color-picker {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.disableToggleSwitch ul li label {
|
||||||
|
background-color: #fff !important;
|
||||||
|
color: #8cc4ff !important;
|
||||||
|
border-color: #8cc4ff !important;
|
||||||
|
cursor: not-allowed !important;
|
||||||
|
}
|
||||||
|
|||||||
@@ -710,7 +710,7 @@ html
|
|||||||
div.options-container-item
|
div.options-container-item
|
||||||
span.name When to display notifications:
|
span.name When to display notifications:
|
||||||
br
|
br
|
||||||
toggle-switch(:options="desktopToastToggleSwitchOption" group="desktopToastToggleSwitchOption" v-model="desktopToast" class="toggle-switch" :disabled="!openVR")
|
toggle-switch(:options="desktopToastToggleSwitchOption" group="desktopToastToggleSwitchOption" v-model="desktopToast" class="toggle-switch" :class="{ 'disableToggleSwitch': !openVR }" :disabled="!openVR")
|
||||||
br
|
br
|
||||||
span.sub-header TTS Options
|
span.sub-header TTS Options
|
||||||
div.options-container-item
|
div.options-container-item
|
||||||
|
|||||||
@@ -1019,7 +1019,7 @@ speechSynthesis.getVoices();
|
|||||||
text = `<strong>${noty.displayName}</strong> is now your friend`;
|
text = `<strong>${noty.displayName}</strong> is now your friend`;
|
||||||
break;
|
break;
|
||||||
case 'Unfriend':
|
case 'Unfriend':
|
||||||
text = `<strong>${noty.displayName}</strong> has unfriended you`;
|
text = `<strong>${noty.displayName}</strong> is no longer your friend`;
|
||||||
break;
|
break;
|
||||||
case 'TrustLevel':
|
case 'TrustLevel':
|
||||||
text = `<strong>${noty.displayName}</strong> trust level is now ${noty.trustLevel}`;
|
text = `<strong>${noty.displayName}</strong> trust level is now ${noty.trustLevel}`;
|
||||||
@@ -1097,7 +1097,7 @@ speechSynthesis.getVoices();
|
|||||||
this.speak(`${noty.displayName} is now your friend`);
|
this.speak(`${noty.displayName} is now your friend`);
|
||||||
break;
|
break;
|
||||||
case 'Unfriend':
|
case 'Unfriend':
|
||||||
this.speak(`${noty.displayName} has unfriended you`);
|
this.speak(`${noty.displayName} is no longer your friend`);
|
||||||
break;
|
break;
|
||||||
case 'TrustLevel':
|
case 'TrustLevel':
|
||||||
this.speak(`${noty.displayName} trust level is now ${noty.trustLevel}`);
|
this.speak(`${noty.displayName} trust level is now ${noty.trustLevel}`);
|
||||||
@@ -1181,7 +1181,7 @@ speechSynthesis.getVoices();
|
|||||||
AppApi.DesktopNotification(noty.displayName, 'has sent you a friend request', imageURL);
|
AppApi.DesktopNotification(noty.displayName, 'has sent you a friend request', imageURL);
|
||||||
break;
|
break;
|
||||||
case 'Unfriend':
|
case 'Unfriend':
|
||||||
AppApi.DesktopNotification(noty.displayName, 'has unfriended you', imageURL);
|
AppApi.DesktopNotification(noty.displayName, 'is no longer your friend', imageURL);
|
||||||
break;
|
break;
|
||||||
case 'TrustLevel':
|
case 'TrustLevel':
|
||||||
AppApi.DesktopNotification(noty.displayName, `trust level is now ${noty.trustLevel}`, imageURL);
|
AppApi.DesktopNotification(noty.displayName, `trust level is now ${noty.trustLevel}`, imageURL);
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ html
|
|||||||
.detail
|
.detail
|
||||||
span.extra
|
span.extra
|
||||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||||
| #[span.name(v-text="feed.displayName")] has unfriended you
|
| #[span.name(v-text="feed.displayName")] is no longer your friend
|
||||||
div(v-else-if="feed.type === 'DisplayName'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
div(v-else-if="feed.type === 'DisplayName'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||||
.detail
|
.detail
|
||||||
span.extra
|
span.extra
|
||||||
|
|||||||
Reference in New Issue
Block a user