Make desktop toggle switch disabled obvious

y'all stop complaining like some hoes
This commit is contained in:
Natsumi
2021-02-10 22:40:41 +13:00
parent ee61fc455e
commit 074d7a9609
4 changed files with 12 additions and 5 deletions

View File

@@ -525,3 +525,10 @@ i.x-user-status.busy {
.color-picker {
font-size: 18px;
}
.disableToggleSwitch ul li label {
background-color: #fff !important;
color: #8cc4ff !important;
border-color: #8cc4ff !important;
cursor: not-allowed !important;
}

View File

@@ -710,7 +710,7 @@ html
div.options-container-item
span.name When to display notifications:
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
span.sub-header TTS Options
div.options-container-item

View File

@@ -1019,7 +1019,7 @@ speechSynthesis.getVoices();
text = `<strong>${noty.displayName}</strong> is now your friend`;
break;
case 'Unfriend':
text = `<strong>${noty.displayName}</strong> has unfriended you`;
text = `<strong>${noty.displayName}</strong> is no longer your friend`;
break;
case '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`);
break;
case 'Unfriend':
this.speak(`${noty.displayName} has unfriended you`);
this.speak(`${noty.displayName} is no longer your friend`);
break;
case '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);
break;
case 'Unfriend':
AppApi.DesktopNotification(noty.displayName, 'has unfriended you', imageURL);
AppApi.DesktopNotification(noty.displayName, 'is no longer your friend', imageURL);
break;
case 'TrustLevel':
AppApi.DesktopNotification(noty.displayName, `trust level is now ${noty.trustLevel}`, imageURL);

View File

@@ -204,7 +204,7 @@ html
.detail
span.extra
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 }")
.detail
span.extra