components/buffer: emphasize nag log lines
Don't show them with a muted/gray color. Ideally these shouldn't be log lines in the first place, but that should at least make them more readable until we find a better alternative.
This commit is contained in:
@@ -558,7 +558,7 @@ class NotificationNagger extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<div class="logline">
|
<div class="logline nag">
|
||||||
<${Timestamp}/>
|
<${Timestamp}/>
|
||||||
${" "}
|
${" "}
|
||||||
<a href="#" onClick=${this.handleClick}>Turn on desktop notifications</a> to get notified about new messages
|
<a href="#" onClick=${this.handleClick}>Turn on desktop notifications</a> to get notified about new messages
|
||||||
@@ -599,7 +599,7 @@ class ProtocolHandlerNagger extends Component {
|
|||||||
}
|
}
|
||||||
let name = this.props.bouncerName || "this bouncer";
|
let name = this.props.bouncerName || "this bouncer";
|
||||||
return html`
|
return html`
|
||||||
<div class="logline">
|
<div class="logline nag">
|
||||||
<${Timestamp}/>
|
<${Timestamp}/>
|
||||||
${" "}
|
${" "}
|
||||||
<a href="#" onClick=${this.handleClick}>Register our protocol handler</a> to open IRC links with ${name}
|
<a href="#" onClick=${this.handleClick}>Register our protocol handler</a> to open IRC links with ${name}
|
||||||
@@ -637,7 +637,7 @@ function AccountNagger({ server, onAuthClick, onRegisterClick }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<div class="logline">
|
<div class="logline nag">
|
||||||
<${Timestamp}/> ${msg}
|
<${Timestamp}/> ${msg}
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ details summary[role="button"] {
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
#buffer .talk, #buffer .motd {
|
#buffer .talk, #buffer .motd, #buffer .nag {
|
||||||
color: var(--main-color);
|
color: var(--main-color);
|
||||||
}
|
}
|
||||||
#buffer .error {
|
#buffer .error {
|
||||||
|
|||||||
Reference in New Issue
Block a user