Dark mode color tweaks
This commit is contained in:
parent
92a376786d
commit
ed82920de9
|
@ -3997,7 +3997,7 @@ export default {
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Watchers button -->
|
<!-- Watchers button -->
|
||||||
<button type="button" v-if="webcam.active" class="button is-small is-info is-outlined ml-1 px-1"
|
<button type="button" v-if="webcam.active" class="button is-small is-link is-outlined ml-1 px-1"
|
||||||
@click="showViewers()">
|
@click="showViewers()">
|
||||||
<i class="fa fa-eye mr-2"></i>
|
<i class="fa fa-eye mr-2"></i>
|
||||||
{{ Object.keys(webcam.watching).length }}
|
{{ Object.keys(webcam.watching).length }}
|
||||||
|
|
|
@ -269,7 +269,7 @@ export default {
|
||||||
<div class="column is-narrow pl-1 pt-0" v-if="!noButtons">
|
<div class="column is-narrow pl-1 pt-0" v-if="!noButtons">
|
||||||
<!-- DMs button -->
|
<!-- DMs button -->
|
||||||
<button type="button" v-if="!(message.username === username || isDm)"
|
<button type="button" v-if="!(message.username === username || isDm)"
|
||||||
class="button is-grey is-outlined is-small px-2" @click="openDMs()"
|
class="button is-dark is-outlined is-small px-2" @click="openDMs()"
|
||||||
:title="isDnd ? 'This person is not accepting new DMs' : 'Open a Direct Message (DM) thread'"
|
:title="isDnd ? 'This person is not accepting new DMs' : 'Open a Direct Message (DM) thread'"
|
||||||
:disabled="isDnd">
|
:disabled="isDnd">
|
||||||
<i class="fa fa-comment"></i>
|
<i class="fa fa-comment"></i>
|
||||||
|
@ -277,7 +277,7 @@ export default {
|
||||||
|
|
||||||
<!-- Mute button -->
|
<!-- Mute button -->
|
||||||
<button type="button" v-if="!(message.username === username)"
|
<button type="button" v-if="!(message.username === username)"
|
||||||
class="button is-grey is-outlined is-small px-2 ml-1" @click="muteUser()" title="Mute user">
|
class="button is-dark is-outlined is-small px-2 ml-1" @click="muteUser()" title="Mute user">
|
||||||
<i class="fa fa-comment-slash" :class="{
|
<i class="fa fa-comment-slash" :class="{
|
||||||
'has-text-success': isMuted,
|
'has-text-success': isMuted,
|
||||||
'has-text-danger': !isMuted
|
'has-text-danger': !isMuted
|
||||||
|
@ -286,14 +286,14 @@ export default {
|
||||||
|
|
||||||
<!-- Owner or admin: take back the message -->
|
<!-- Owner or admin: take back the message -->
|
||||||
<button type="button" v-if="message.username === username || isOp"
|
<button type="button" v-if="message.username === username || isOp"
|
||||||
class="button is-grey is-outlined is-small px-2 ml-1"
|
class="button is-dark is-outlined is-small px-2 ml-1"
|
||||||
title="Take back this message (delete it for everybody)" @click="takeback()">
|
title="Take back this message (delete it for everybody)" @click="takeback()">
|
||||||
<i class="fa fa-rotate-left has-text-danger"></i>
|
<i class="fa fa-rotate-left has-text-danger"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Everyone else: can hide it locally -->
|
<!-- Everyone else: can hide it locally -->
|
||||||
<button type="button" v-if="message.username !== username"
|
<button type="button" v-if="message.username !== username"
|
||||||
class="button is-grey is-outlined is-small px-2 ml-1"
|
class="button is-dark is-outlined is-small px-2 ml-1"
|
||||||
title="Hide this message (delete it only for your view)" @click="removeMessage()">
|
title="Hide this message (delete it only for your view)" @click="removeMessage()">
|
||||||
<i class="fa fa-trash"></i>
|
<i class="fa fa-trash"></i>
|
||||||
</button>
|
</button>
|
||||||
|
@ -306,7 +306,7 @@ export default {
|
||||||
<div v-if="message.msgID && !noButtons" class="emoji-button columns is-mobile is-gapless mb-0">
|
<div v-if="message.msgID && !noButtons" class="emoji-button columns is-mobile is-gapless mb-0">
|
||||||
<!-- Report message button -->
|
<!-- Report message button -->
|
||||||
<div class="column" v-if="reportEnabled && message.username !== username">
|
<div class="column" v-if="reportEnabled && message.username !== username">
|
||||||
<button class="button is-small is-outlined mr-1" :class="{
|
<button class="button is-small is-outlined mr-1 py-2" :class="{
|
||||||
'is-danger': !message.reported,
|
'is-danger': !message.reported,
|
||||||
'has-text-grey': message.reported
|
'has-text-grey': message.reported
|
||||||
}" title="Report this message" @click="reportMessage()">
|
}" title="Report this message" @click="reportMessage()">
|
||||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
||||||
if ((this.user.video & VideoFlag.Active) && (this.user.video & VideoFlag.NSFW)) {
|
if ((this.user.video & VideoFlag.Active) && (this.user.video & VideoFlag.NSFW)) {
|
||||||
result += "is-danger is-outlined";
|
result += "is-danger is-outlined";
|
||||||
} else if ((this.user.video & VideoFlag.Active) && !(this.user.video & VideoFlag.NSFW)) {
|
} else if ((this.user.video & VideoFlag.Active) && !(this.user.video & VideoFlag.NSFW)) {
|
||||||
result += "is-info is-outlined";
|
result += "is-link is-outlined";
|
||||||
} else if (this.isVideoNotAllowed) {
|
} else if (this.isVideoNotAllowed) {
|
||||||
result += "cursor-notallowed";
|
result += "cursor-notallowed";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user