mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-11 22:56:41 +08:00
Display dropdown item info border using CSS [SCI-6013]
This commit is contained in:
parent
35e815449d
commit
ca6dfa2541
2 changed files with 6 additions and 9 deletions
|
|
@ -61,9 +61,15 @@
|
|||
|
||||
.form-dropdown-item-info {
|
||||
color: $color-silver-chalice !important;
|
||||
border-top: 1px solid $color-concrete;
|
||||
padding-top: .3em;
|
||||
}
|
||||
|
||||
&:only-child .form-dropdown-item-info {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.project-archive-restore-form {
|
||||
.button-to {
|
||||
&:hover {
|
||||
|
|
|
|||
|
|
@ -63,15 +63,6 @@
|
|||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if experiment.active? && can_manage_experiment?(experiment) ||
|
||||
can_move_experiment?(experiment) ||
|
||||
can_clone_experiment?(experiment) ||
|
||||
experiment.active? && can_archive_experiment?(experiment) ||
|
||||
experiment.archived? && can_restore_experiment?(experiment) %>
|
||||
<li class="form-dropdown-break">
|
||||
<hr>
|
||||
</li>
|
||||
<% end %>
|
||||
<li class="form-dropdown-item">
|
||||
<div class="form-dropdown-item-info">
|
||||
<small><%= t('experiments.experiment_id') %>: <strong><%= experiment.code %></strong></small>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue