mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 03:46:39 +08:00
Fix css
This commit is contained in:
parent
15b291347b
commit
338f3a0192
5 changed files with 7 additions and 32 deletions
|
@ -167,6 +167,8 @@ var MyModuleRepositories = (function() {
|
||||||
renderFullViewTable(fullViewModal.find('.table'));
|
renderFullViewTable(fullViewModal.find('.table'));
|
||||||
});
|
});
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function initRepositoriesDropdown() {
|
function initRepositoriesDropdown() {
|
||||||
$('.repositories-assign-container').on('show.bs.dropdown', function() {
|
$('.repositories-assign-container').on('show.bs.dropdown', function() {
|
||||||
|
|
|
@ -187,29 +187,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.repositories-dropdown-menu {
|
|
||||||
border: 1px solid $color-gainsboro;
|
|
||||||
border-top: 0;
|
|
||||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
|
|
||||||
height: auto;
|
|
||||||
max-height: 400px;
|
|
||||||
overflow-x: hidden;
|
|
||||||
text-transform: initial;
|
|
||||||
width: 300px;
|
|
||||||
|
|
||||||
li:not(:first-child) {
|
|
||||||
border-top: 1px solid $color-gainsboro;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fas-custom {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.muted {
|
|
||||||
opacity: .7;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.repository-share-status {
|
.repository-share-status {
|
||||||
display: contents !important;
|
display: contents !important;
|
||||||
|
|
||||||
|
|
|
@ -1899,10 +1899,6 @@ th.custom-field .modal-tooltiptext {
|
||||||
background-color: $color-alto;
|
background-color: $color-alto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my_module-state-buttons {
|
|
||||||
padding-top: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parse-records-table {
|
.parse-records-table {
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<span class="task-section-title">
|
<span class="task-section-title">
|
||||||
<h2><%= t('my_modules.details.title') %></h2>
|
<h2><%= t('my_modules.details.title') %></h2>
|
||||||
</span>
|
</span>
|
||||||
<div class="complete-button-container">
|
<div class="actions-block">
|
||||||
<%= render partial: "my_modules/state_buttons.html.erb" %>
|
<%= render partial: "my_modules/state_buttons.html.erb" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,8 +51,8 @@
|
||||||
<span><%= t('my_modules.assigned_items.assign_from') %></span>
|
<span><%= t('my_modules.assigned_items.assign_from') %></span>
|
||||||
<span class="caret pull-right"></span>
|
<span class="caret pull-right"></span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositories-assign-button">
|
<ul class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositories-assign-button">
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<% @repositories.each do |repository| %>
|
<% @repositories.each do |repository| %>
|
||||||
<% assigned_items_count = @my_module.repository_rows_count(repository) %>
|
<% assigned_items_count = @my_module.repository_rows_count(repository) %>
|
||||||
<div class="repository">
|
<li class="repository">
|
||||||
<% if repository.shared_with?(current_team) %>
|
<% if repository.shared_with?(current_team) %>
|
||||||
<span class="shared-icon">
|
<span class="shared-icon">
|
||||||
<i class="fas fa-users"></i>
|
<i class="fas fa-users"></i>
|
||||||
|
@ -13,5 +13,5 @@
|
||||||
<%= assigned_items_count %>
|
<%= assigned_items_count %>
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
Loading…
Add table
Reference in a new issue