Display a broken link icon and red text color when not joined on a channel
This commit is contained in:
parent
c8f229f708
commit
f8a39a0ea8
@ -9,6 +9,11 @@
|
|||||||
:class="{ highlight: channel.highlight }"
|
:class="{ highlight: channel.highlight }"
|
||||||
class="badge">{{ channel.unread | roundBadgeNumber }}</span>
|
class="badge">{{ channel.unread | roundBadgeNumber }}</span>
|
||||||
<template v-if="channel.type === 'channel'">
|
<template v-if="channel.type === 'channel'">
|
||||||
|
<span
|
||||||
|
class="parted-channel-tooltip tooltipped tooltipped-w"
|
||||||
|
aria-label="Not currently joined">
|
||||||
|
<span class="parted-channel-icon" />
|
||||||
|
</span>
|
||||||
<span
|
<span
|
||||||
class="close-tooltip tooltipped tooltipped-w"
|
class="close-tooltip tooltipped tooltipped-w"
|
||||||
aria-label="Leave">
|
aria-label="Leave">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
:class="[
|
:class="[
|
||||||
channel.type,
|
channel.type,
|
||||||
{ active: activeChannel && channel === activeChannel.channel },
|
{ active: activeChannel && channel === activeChannel.channel },
|
||||||
{ 'channel-is-parted': channel.type === 'channel' && channel.state === 0 }
|
{ 'parted-channel': channel.type === 'channel' && channel.state === 0 }
|
||||||
]"
|
]"
|
||||||
:aria-label="getAriaLabel()"
|
:aria-label="getAriaLabel()"
|
||||||
:title="getAriaLabel()"
|
:title="getAriaLabel()"
|
||||||
|
@ -279,6 +279,7 @@ kbd {
|
|||||||
#image-viewer .next-image-btn::before,
|
#image-viewer .next-image-btn::before,
|
||||||
#sidebar .not-secure-icon::before,
|
#sidebar .not-secure-icon::before,
|
||||||
#sidebar .not-connected-icon::before,
|
#sidebar .not-connected-icon::before,
|
||||||
|
#sidebar .parted-channel-icon::before,
|
||||||
#sidebar .collapse-network-icon::before {
|
#sidebar .collapse-network-icon::before {
|
||||||
font: normal normal normal 14px/1 FontAwesome;
|
font: normal normal normal 14px/1 FontAwesome;
|
||||||
font-size: inherit; /* Can't have font-size inherit on line above, so need to override */
|
font-size: inherit; /* Can't have font-size inherit on line above, so need to override */
|
||||||
@ -307,7 +308,8 @@ kbd {
|
|||||||
content: "\f071"; /* https://fontawesome.com/icons/exclamation-triangle?style=solid */
|
content: "\f071"; /* https://fontawesome.com/icons/exclamation-triangle?style=solid */
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .not-connected-icon::before {
|
#sidebar .not-connected-icon::before,
|
||||||
|
#sidebar .parted-channel-icon::before {
|
||||||
content: "\f127"; /* https://fontawesome.com/icons/unlink?style=solid */
|
content: "\f127"; /* https://fontawesome.com/icons/unlink?style=solid */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -659,13 +661,15 @@ background on hover (unless active) */
|
|||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .not-connected-tooltip,
|
#sidebar .not-connected-tooltip,
|
||||||
#sidebar .not-secure-tooltip {
|
#sidebar .not-secure-tooltip,
|
||||||
|
#sidebar .parted-channel-tooltip {
|
||||||
display: none;
|
display: none;
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .not-connected .not-connected-tooltip,
|
#sidebar .not-connected .not-connected-tooltip,
|
||||||
#sidebar .not-secure .not-secure-tooltip {
|
#sidebar .not-secure .not-secure-tooltip,
|
||||||
|
#sidebar .parted-channel .parted-channel-tooltip {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -683,12 +687,15 @@ background on hover (unless active) */
|
|||||||
color: #f8c572;
|
color: #f8c572;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .not-connected .chan.lobby {
|
#sidebar .not-connected .chan.lobby,
|
||||||
|
#sidebar .parted-channel {
|
||||||
color: #e74c3c;
|
color: #e74c3c;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .not-connected .chan.lobby .lobby-wrap:hover,
|
#sidebar .not-connected .chan.lobby .lobby-wrap:hover,
|
||||||
#sidebar .not-connected .chan.lobby.active {
|
#sidebar .not-connected .chan.lobby.active,
|
||||||
|
#sidebar .parted-channel:hover,
|
||||||
|
#sidebar .parted-channel.active {
|
||||||
color: #f1978e;
|
color: #f1978e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user