Merge pull request #5635 from aignatov-bio/ai-sci-8662-ui-css-fixes

UI css fixes [SCI-8662]
This commit is contained in:
aignatov-bio 2023-06-21 08:06:52 +02:00 committed by GitHub
commit 55e75ffa91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 13 deletions

View file

@ -342,7 +342,7 @@
}
.new-user {
color: $color-silver-chalice;
color: var(--sn-black);
line-height: 24px;
&:not(:first-child) {

View file

@ -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;

View file

@ -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;
}
}

View file

@ -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">

View file

@ -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) %>

View file

@ -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>