mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 09:06:06 +00:00
tweak: label name + CSS class name
This commit is contained in:
parent
31fb27dffc
commit
4dfe172fc4
3 changed files with 13 additions and 2 deletions
|
|
@ -1141,7 +1141,7 @@ const ChannelsTable = ({ onReady }) => {
|
|||
}
|
||||
|
||||
if (hasStaleStreams) {
|
||||
return { className: 'stale-streams-row' };
|
||||
return { className: 'partially-stale-streams-row' };
|
||||
}
|
||||
|
||||
return {};
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ const ChannelTableHeader = ({
|
|||
showOnlyStaleChannels ? <SquareCheck size={18} /> : <Square size={18} />
|
||||
}
|
||||
>
|
||||
<Text size="xs">Only Containing Stale Streams</Text>
|
||||
<Text size="xs">Has Stale Streams</Text>
|
||||
</Menu.Item>
|
||||
</Menu.Dropdown>
|
||||
</Menu>
|
||||
|
|
|
|||
|
|
@ -140,6 +140,17 @@ html {
|
|||
background-color: color-mix(in srgb, rgb(239, 68, 68) 30%, #27272a) !important;
|
||||
}
|
||||
|
||||
/* Rows that contain some stale streams (may be mixed with active) */
|
||||
.partially-stale-streams-row {
|
||||
background-color: rgba(239, 154, 68, 0.15) !important;
|
||||
/* orange-500 @ 12% */
|
||||
box-shadow: inset 0 0 0 1px rgba(239, 154, 68, 0.3);
|
||||
}
|
||||
|
||||
.table-striped .tbody .tr.partially-stale-streams-row:hover {
|
||||
background-color: rgba(239, 154, 68, 0.3) !important;
|
||||
}
|
||||
|
||||
/* Prevent text selection when shift key is pressed */
|
||||
.shift-key-active {
|
||||
cursor: pointer !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue