mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-08 14:15:35 +08:00
Fix protocol repository CSS [SCI-7064] (#4335)
* Fix protocol repository CSS [SCI-7064] * Fix protocol repository CSS [SCI-7064] * Fix hound [SCI-7064]
This commit is contained in:
parent
b4e7877b99
commit
b6f273410b
9 changed files with 46 additions and 46 deletions
|
@ -138,6 +138,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form:not([novalidate]):invalid {
|
||||||
|
.control-label {
|
||||||
|
color: $brand-danger;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mobile view
|
// Mobile view
|
||||||
|
|
|
@ -486,6 +486,11 @@
|
||||||
.dropdown-footer {
|
.dropdown-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
|
||||||
|
.button-container {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -588,36 +593,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-information .expanded {
|
|
||||||
align-items: flex-start;
|
|
||||||
height: 50px;
|
|
||||||
|
|
||||||
.task-flows,
|
|
||||||
.status-label,
|
|
||||||
.status-buttons {
|
|
||||||
display: block;
|
|
||||||
max-width: 230px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-label {
|
|
||||||
margin: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-flow-dropdown {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status-buttons > :not(:first-child):not(.dropdown-menu) {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-top: .5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal .modal-footer .btn {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
.task-information .task-section-header {
|
.task-information .task-section-header {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -656,10 +631,13 @@
|
||||||
.dropdown-footer {
|
.dropdown-footer {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
.btn {
|
.button-container {
|
||||||
float: left !important;
|
display: flex;
|
||||||
margin: 5px 0;
|
|
||||||
width: auto;
|
.btn {
|
||||||
|
margin: 5px auto;
|
||||||
|
width: 230px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
border: $border-focus;
|
border: $border-focus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sci-inline-edit__content {
|
||||||
|
padding-top: .35em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
.sci-inline-edit__content {
|
.sci-inline-edit__content {
|
||||||
margin-bottom: 7px;
|
margin-bottom: 7px;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
.step-element-header {
|
.step-element-header {
|
||||||
.step-element-name {
|
.step-element-name {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
column-gap: .5em;
|
column-gap: .25em;
|
||||||
display: grid;
|
display: grid;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
grid-template-columns: max-content auto;
|
grid-template-columns: max-content auto;
|
||||||
|
|
|
@ -20,17 +20,23 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.step-name-edit-icon {
|
.step-name-edit-icon {
|
||||||
display: none;
|
background: linear-gradient(90deg,
|
||||||
|
transparent,
|
||||||
|
$color-concrete 15%,
|
||||||
|
$color-concrete 100%);
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -8px;
|
right: 0;
|
||||||
top: -6px;
|
top: 0;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: $color-concrete;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .step-name-edit-icon {
|
&:hover .step-name-edit-icon {
|
||||||
cursor: pointer;
|
opacity: 1;
|
||||||
display: inline-block;
|
|
||||||
margin-right: 16px;
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-collapse-link {
|
.step-collapse-link {
|
||||||
|
|
|
@ -52,7 +52,9 @@
|
||||||
@update="updateName"
|
@update="updateName"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<i v-if="urls.update_url && !editingName" class="step-name-edit-icon fas fa-pen" @click="editingName = true"></i>
|
<button v-if="urls.update_url && !editingName" class="step-name-edit-icon btn icon-btn btn-light " @click="editingName = true">
|
||||||
|
<i class="fas fa-pen"></i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="step-actions-container">
|
<div class="step-actions-container">
|
||||||
<div ref="actionsDropdownButton" v-if="urls.update_url" class="dropdown">
|
<div ref="actionsDropdownButton" v-if="urls.update_url" class="dropdown">
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
:data-highlightjs-path="this.getStaticUrl('highlightjs-url')"
|
:data-highlightjs-path="this.getStaticUrl('highlightjs-url')"
|
||||||
:data-last-updated="lastUpdated * 1000"
|
:data-last-updated="lastUpdated * 1000"
|
||||||
:data-tinymce-asset-path="this.getStaticUrl('tiny-mce-assets-url')"
|
:data-tinymce-asset-path="this.getStaticUrl('tiny-mce-assets-url')"
|
||||||
|
:placeholder="placeholder"
|
||||||
:value="value"
|
:value="value"
|
||||||
cols="120"
|
cols="120"
|
||||||
rows="10"
|
rows="10"
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="sidebar-footer">
|
<div class="sidebar-footer">
|
||||||
<div class="comment-input-container">
|
<div class="comment-input-container">
|
||||||
<textarea class="comment-input-field smart-text-area textarea-sm"></textarea>
|
<textarea class="comment-input-field smart-text-area textarea-sm"
|
||||||
|
placeholder="<%= t('comments.placeholder') %>"></textarea>
|
||||||
<i class="fas fa-paper-plane send-comment"></i>
|
<i class="fas fa-paper-plane send-comment"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="error-container"></div>
|
<div class="error-container"></div>
|
||||||
|
|
|
@ -353,6 +353,7 @@ en:
|
||||||
empty_state:
|
empty_state:
|
||||||
title: "No comments here"
|
title: "No comments here"
|
||||||
description: "Nobody has commented yet. Be the first by using the box below."
|
description: "Nobody has commented yet. Be the first by using the box below."
|
||||||
|
placeholder: "Add a new comment..."
|
||||||
options_dropdown:
|
options_dropdown:
|
||||||
header: "Comment options"
|
header: "Comment options"
|
||||||
edit: "Edit"
|
edit: "Edit"
|
||||||
|
@ -910,7 +911,7 @@ en:
|
||||||
unlink_title: "Unlink this protocol from the parent in the repository"
|
unlink_title: "Unlink this protocol from the parent in the repository"
|
||||||
revert: "Revert protocol"
|
revert: "Revert protocol"
|
||||||
revert_title: "Revert the protocol to the repository version. This will discard any local changes."
|
revert_title: "Revert the protocol to the repository version. This will discard any local changes."
|
||||||
save_to_repository: "Save to protocol repository"
|
save_to_repository: "Save to repository"
|
||||||
save_a_copy_to_repository: "Save a copy to repository"
|
save_a_copy_to_repository: "Save a copy to repository"
|
||||||
save_to_repository_title: "Copy this protocol to repository"
|
save_to_repository_title: "Copy this protocol to repository"
|
||||||
update_self: "Update from repository"
|
update_self: "Update from repository"
|
||||||
|
@ -2801,7 +2802,7 @@ en:
|
||||||
button_text: 'Create an MS Office file'
|
button_text: 'Create an MS Office file'
|
||||||
li_text: "Office file"
|
li_text: "Office file"
|
||||||
modal_title: 'Create new MS Office document'
|
modal_title: 'Create new MS Office document'
|
||||||
text_field_label: 'Document name'
|
text_field_label: 'Document name & type'
|
||||||
type_select_label: 'Document type'
|
type_select_label: 'Document type'
|
||||||
text_field_placeholder: 'Enter document name...'
|
text_field_placeholder: 'Enter document name...'
|
||||||
ms_word: 'Word<br/>Online'
|
ms_word: 'Word<br/>Online'
|
||||||
|
|
Loading…
Add table
Reference in a new issue