mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Update general layout for task [SCI-6713]
This commit is contained in:
parent
159180d8b9
commit
df2ff32f2e
3 changed files with 118 additions and 98 deletions
|
@ -7,7 +7,19 @@
|
|||
@import "mixins";
|
||||
|
||||
.content-pane.my-modules-protocols-index {
|
||||
background-color: $color-alto;
|
||||
margin: 0 -16px;
|
||||
overflow: hidden;
|
||||
padding: 36px 10px 10px;
|
||||
width: calc(100% + 32px) ;
|
||||
|
||||
.my-module-position-container {
|
||||
background-color: $color-white;
|
||||
box-shadow: $flyout-shadow;
|
||||
margin: 0 auto;
|
||||
max-width: 900px;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.content-pane.protocols-repository-edit-view {
|
||||
|
@ -531,6 +543,10 @@
|
|||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.content-pane.my-modules-protocols-index {
|
||||
padding: 10px 0 0 0;
|
||||
}
|
||||
|
||||
.my-module-protocol-status {
|
||||
.status-info-dropdown {
|
||||
left: -75px;
|
||||
|
|
|
@ -412,11 +412,13 @@ a[data-toggle="tooltip"] {
|
|||
}
|
||||
|
||||
.navbar-secondary {
|
||||
min-height: 77px;
|
||||
transition: .4s $timing-function-sharp;
|
||||
}
|
||||
|
||||
.navbar-without-sidebar{
|
||||
margin-left: 0px;
|
||||
min-height: 77px;
|
||||
padding-left: 0;
|
||||
transition: .4s $timing-function-sharp;
|
||||
}
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<%= render partial: 'shared/secondary_navigation', locals: { render_breadcrumbs: true, project: @experiment.project, experiment: @experiment } %>
|
||||
|
||||
<div class="content-pane my-modules-protocols-index" data-task-id="<%= @my_module.id %>">
|
||||
<div class="my-module-position-container">
|
||||
<!-- Details -->
|
||||
<div class="task-section task-information">
|
||||
<div class="task-section-header">
|
||||
|
@ -143,6 +144,7 @@
|
|||
<%= render partial: "my_module_protocol" %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- URL for status bar refreshing -->
|
||||
|
|
Loading…
Reference in a new issue