mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-03 02:14:29 +08:00
Fix status color
This commit is contained in:
parent
50a87b1562
commit
6c8447beac
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
@mixin not-started {
|
@mixin not-started {
|
||||||
border: 1px solid var(--sn-sleepy-grey);
|
border: 1px solid var(--sn-sleepy-grey);
|
||||||
color: var(--sn-black);
|
color: var(--sn-black) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Material design mixins
|
// Material design mixins
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<i class="fas fa-long-arrow-alt-right"></i>
|
<i class="fas fa-long-arrow-alt-right"></i>
|
||||||
<div class="status-container">
|
<div class="status-container">
|
||||||
<div class="status-name <%= 'status-light' if previous_s.light_color? %>"
|
<div class="status-name <%= 'status-light' if previous_s.light_color? %>"
|
||||||
style="<%= "background-color: #{previous_s.color};" %> <%= "color: black !important;" if previous_s.color == "#FFFFFF" %>"><%= previous_s.name %></div>
|
style="<%= "background-color: #{previous_s.color}" %>"><%= previous_s.name %></div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<span class="error-message"><% previous_s_errors.each do |error| %>
|
<span class="error-message"><% previous_s_errors.each do |error| %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue