mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2026-01-07 00:36:08 +08:00
Merge pull request #5635 from aignatov-bio/ai-sci-8662-ui-css-fixes
UI css fixes [SCI-8662]
This commit is contained in:
commit
55e75ffa91
6 changed files with 9 additions and 13 deletions
|
|
@ -342,7 +342,7 @@
|
|||
}
|
||||
|
||||
.new-user {
|
||||
color: $color-silver-chalice;
|
||||
color: var(--sn-black);
|
||||
line-height: 24px;
|
||||
|
||||
&:not(:first-child) {
|
||||
|
|
|
|||
|
|
@ -699,7 +699,7 @@ li.module-hover {
|
|||
.card {
|
||||
.project-users-link {
|
||||
align-items: center;
|
||||
color: $color-silver-chalice;
|
||||
color: var(--sn-black);
|
||||
display: flex;
|
||||
gap: .25rem;
|
||||
|
||||
|
|
|
|||
|
|
@ -1020,13 +1020,9 @@ ul.content-activities {
|
|||
.result-panel-collapse-link {
|
||||
text-decoration: none;
|
||||
|
||||
&:not(.collapsed) .fas {
|
||||
&:not(.collapsed) .sn-icon-right {
|
||||
@include rotate(90deg);
|
||||
}
|
||||
|
||||
.fas {
|
||||
margin-right: 7px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<a href="#" id="add-result-button" class="btn btn-secondary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<span class="sn-icon sn-icon-new-task"></span>
|
||||
<span><%= t("my_modules.results.add_label") %></span>
|
||||
<span class="caret pull-right"></span>
|
||||
<span class="sn-icon sn-icon-down"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu add-result-dropdown" aria-labelledby="add-result-button">
|
||||
<li id="new-result-text" data-href="<%= new_my_module_result_text_path(my_module_id: @my_module.id, page: params[:page], order: params[:order]) %>">
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<% end %>
|
||||
<div class="sci-btn-group collapse-expand-result">
|
||||
<button class="btn btn-light" id="results-collapse-btn">
|
||||
<span class="sn-icon sn-icon-open-show"></span>
|
||||
<span class="sn-icon sn-icon-up"></span>
|
||||
<span class="hidden-xs-custom"><%= t'my_modules.results.collapse_label' %></span>
|
||||
</button>
|
||||
<button class="btn btn-light" id="results-expand-btn">
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
<% end %>
|
||||
<%= status.name %>
|
||||
</span>
|
||||
<span class="caret pull-right"></span>
|
||||
<span class="sn-icon sn-icon-down"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownTaskFlow" id="dropdownTaskFlowList" data-link-url="<%= update_state_my_module_url(my_module) %>">
|
||||
<% if can_update_my_module_status?(@my_module) %>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<%= button_to(view_type_project_path(@project, format: :json),
|
||||
method: :put,
|
||||
remote: true,
|
||||
class: "btn btn-light button-to #{ @current_view_type == 'table' ? 'selected' : ''} prevent-shrink",
|
||||
class: "btn btn-light justify-start button-to #{ @current_view_type == 'table' ? 'selected' : ''} prevent-shrink",
|
||||
form_class: 'change-experiments-view-type-form',
|
||||
params: { project: { view_type: 'table', project_id: @project.id } }) do %>
|
||||
<span class="view-switch-list-span table-switch"><%= t('toolbar.table_view') %></span>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<%= button_to(view_type_project_path(@project, format: :json),
|
||||
method: :put,
|
||||
remote: true,
|
||||
class: "btn btn-light button-to #{ @current_view_type == 'cards' ? 'selected' : ''} prevent-shrink",
|
||||
class: "btn btn-light justify-start button-to #{ @current_view_type == 'cards' ? 'selected' : ''} prevent-shrink",
|
||||
form_class: 'change-experiments-view-type-form',
|
||||
params: { project: { view_type: 'cards', project_id: @project.id } }) do %>
|
||||
<span class="view-switch-list-span cards-switch"><%= t('toolbar.cards_view') %></span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue