mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
Merge pull request #6021 from ivanscinote/SCI-9007-update-colors
Add .btn-not-started to task status flow modal [SCI-9007]
This commit is contained in:
commit
3f754710ac
2 changed files with 7 additions and 1 deletions
|
@ -137,6 +137,11 @@
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
|
&.btn-not-started {
|
||||||
|
border: 1px solid var(--sn-sleepy-grey);
|
||||||
|
color: var(--sn-black);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-comment {
|
.status-comment {
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
<%= t('my_modules.modals.status_flow_modal.current_status') %><i class="fas fa-long-arrow-alt-right"></i>
|
<%= t('my_modules.modals.status_flow_modal.current_status') %><i class="fas fa-long-arrow-alt-right"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="status-block" style="background: <%= status[:color] %>">
|
<div class="status-block <%= 'btn-not-started' if status.name == 'Not started' %>"
|
||||||
|
style="background: <%= status[:color] %>">
|
||||||
<%= status[:name] %>
|
<%= status[:name] %>
|
||||||
</div>
|
</div>
|
||||||
<div class="status-comment">
|
<div class="status-comment">
|
||||||
|
|
Loading…
Reference in a new issue