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:
artoscinote 2023-08-18 17:37:48 +02:00 committed by GitHub
commit 3f754710ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -137,6 +137,11 @@
line-height: 1em;
padding: .5em;
white-space: nowrap;
&.btn-not-started {
border: 1px solid var(--sn-sleepy-grey);
color: var(--sn-black);
}
}
.status-comment {

View file

@ -11,7 +11,8 @@
<%= t('my_modules.modals.status_flow_modal.current_status') %><i class="fas fa-long-arrow-alt-right"></i>
<% end %>
</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] %>
</div>
<div class="status-comment">