mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-30 15:30:08 +00:00
Refactor: Use CSS class instead of inline styles for update warning
Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
@@ -174,6 +174,11 @@ span.running {
|
||||
background-color: var(--color-running);
|
||||
}
|
||||
|
||||
.container-update-warning {
|
||||
color: #ff6b00;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.toast.success {
|
||||
border-left-color: var(--color-success);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
(<a target="_blank" href="{{ c.documentation }}">docs</a>)
|
||||
{% endif %}
|
||||
{% if c.GetUpdateState().value == 'different' %}
|
||||
<span style="color: #ff6b00; font-weight: bold;">⚠️ Update available</span>
|
||||
<span class="container-update-warning">⚠️ Update available</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% if c.GetUiSecret() != '' %}
|
||||
|
||||
Reference in New Issue
Block a user