2019-05-13 16:45:12 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
|
|
|
|
|
2022-05-27 18:49:10 +08:00
|
|
|
.content-pane.protocols-show {
|
|
|
|
|
2023-05-31 19:37:03 +08:00
|
|
|
.dropdown-menu {
|
2023-06-01 20:44:44 +08:00
|
|
|
z-index: 102;
|
2023-05-31 19:37:03 +08:00
|
|
|
}
|
|
|
|
|
2023-06-02 21:27:44 +08:00
|
|
|
.dropdown-backdrop {
|
|
|
|
z-index: 101;
|
|
|
|
}
|
|
|
|
|
2023-01-05 18:42:59 +08:00
|
|
|
.protocol-section {
|
2023-09-21 16:19:31 +08:00
|
|
|
background-color: var(--sn-white);
|
|
|
|
border-radius: .25rem;
|
|
|
|
display: inline-block;
|
|
|
|
padding: .25rem 1rem;
|
|
|
|
width: 100%;
|
2023-01-05 18:42:59 +08:00
|
|
|
|
|
|
|
&.protocol-steps-section {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-section-caret {
|
2023-06-21 18:02:18 +08:00
|
|
|
align-items: center;
|
2023-06-22 19:21:03 +08:00
|
|
|
color: var(--sn-black);
|
2023-06-21 18:02:18 +08:00
|
|
|
display: inline-flex;
|
2023-06-22 17:55:23 +08:00
|
|
|
gap: .5rem;
|
2023-09-21 16:19:31 +08:00
|
|
|
padding: .5rem .5rem .5rem 0;
|
2023-01-05 18:42:59 +08:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2023-06-22 17:55:23 +08:00
|
|
|
&:not(.collapsed) .sn-icon {
|
2023-01-05 18:42:59 +08:00
|
|
|
@include rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-section-title {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-code {
|
|
|
|
color: $color-volcano;
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-section-header {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.actions-block {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-end;
|
2023-03-13 18:36:49 +08:00
|
|
|
padding: 0 25px;
|
2023-01-05 18:42:59 +08:00
|
|
|
|
2023-02-22 21:59:48 +08:00
|
|
|
.btn {
|
|
|
|
margin-left: .25em;
|
|
|
|
}
|
|
|
|
|
2023-01-05 18:42:59 +08:00
|
|
|
.caret {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
2023-03-13 18:36:49 +08:00
|
|
|
|
|
|
|
button,
|
|
|
|
a {
|
2023-03-13 18:25:04 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2023-01-05 18:42:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-details {
|
2023-09-21 16:19:31 +08:00
|
|
|
padding-left: 2rem;
|
2023-01-05 18:42:59 +08:00
|
|
|
}
|
|
|
|
}
|
2023-03-13 15:55:15 +08:00
|
|
|
|
2023-03-09 03:51:47 +08:00
|
|
|
.protocol-details {
|
2023-02-24 23:17:36 +08:00
|
|
|
.protocol-metadata {
|
|
|
|
margin-bottom: 2em;
|
2023-01-05 18:42:59 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.data-block {
|
2023-05-24 18:03:47 +08:00
|
|
|
display: flex;
|
|
|
|
gap: .5rem;
|
2023-02-24 23:17:36 +08:00
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2023-01-05 18:42:59 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.authors-data {
|
2023-09-01 23:18:13 +08:00
|
|
|
align-items: baseline;
|
2023-02-24 23:17:36 +08:00
|
|
|
display: flex;
|
|
|
|
margin-top: -12px;
|
2023-03-24 19:01:47 +08:00
|
|
|
min-height: 36px;
|
2019-11-12 18:26:18 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.authors-list {
|
2023-09-05 19:39:21 +08:00
|
|
|
font-weight: bold;
|
2023-02-24 23:17:36 +08:00
|
|
|
line-height: 32px;
|
2023-03-13 15:55:15 +08:00
|
|
|
margin-left: 8px;
|
2023-09-05 19:39:21 +08:00
|
|
|
max-width: calc(100% - 90px);
|
|
|
|
position: relative;
|
2023-02-24 23:17:36 +08:00
|
|
|
}
|
2019-11-12 18:26:18 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
* {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2023-03-13 18:32:11 +08:00
|
|
|
|
|
|
|
.sci-inline-edit__view,
|
|
|
|
textarea {
|
|
|
|
padding-left: 10px;
|
2023-03-16 16:15:22 +08:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-inline-edit__view.blank {
|
|
|
|
font-weight: normal;
|
2023-03-24 19:01:47 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: $border-default;
|
|
|
|
}
|
2023-03-13 18:32:11 +08:00
|
|
|
}
|
2019-11-12 18:26:18 +08:00
|
|
|
}
|
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.keywords-data {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin-top: -12px;
|
2023-03-24 19:01:47 +08:00
|
|
|
min-height: 36px;
|
2019-11-20 21:57:53 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.keywords-list {
|
|
|
|
flex-basis: calc(100% - 90px);
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: .5em;
|
2019-11-20 21:57:53 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
.dropdown-selector-container {
|
|
|
|
padding-right: 10px;
|
2023-03-13 15:55:15 +08:00
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
.input-field {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2022-07-18 22:56:51 +08:00
|
|
|
|
2023-03-16 16:15:22 +08:00
|
|
|
&:not(.disabled) {
|
|
|
|
&:not(.active) {
|
|
|
|
.input-field {
|
|
|
|
border-color: transparent;
|
2022-07-18 22:56:51 +08:00
|
|
|
|
2023-03-16 16:15:22 +08:00
|
|
|
&:hover {
|
|
|
|
border: 1px solid $color-alto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.input-field {
|
|
|
|
border: 1px solid $brand-focus;
|
2023-02-24 23:17:36 +08:00
|
|
|
}
|
2022-07-18 22:56:51 +08:00
|
|
|
}
|
|
|
|
}
|
2019-11-20 21:57:53 +08:00
|
|
|
|
2023-03-16 16:15:22 +08:00
|
|
|
&.disabled {
|
|
|
|
.input-field,
|
|
|
|
.input-field:hover,
|
|
|
|
.input-field:active {
|
|
|
|
border-color: transparent;
|
2023-02-24 23:17:36 +08:00
|
|
|
}
|
2022-07-18 22:56:51 +08:00
|
|
|
}
|
2019-11-20 21:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-22 00:20:52 +08:00
|
|
|
|
2023-02-24 23:17:36 +08:00
|
|
|
* {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2022-06-22 00:20:52 +08:00
|
|
|
}
|
2019-11-12 18:26:18 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-22 00:20:52 +08:00
|
|
|
|
|
|
|
.protocol-description {
|
|
|
|
margin-bottom: 2em;
|
2022-07-15 16:00:50 +08:00
|
|
|
|
2022-08-10 21:39:45 +08:00
|
|
|
.data-block {
|
|
|
|
img {
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
2022-07-15 16:00:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fas.block-icon {
|
|
|
|
margin-right: 6px;
|
|
|
|
|
|
|
|
&.fa-graduation-cap,
|
|
|
|
&.fa-font {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
2022-06-22 00:20:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.protocol-step-actions {
|
2022-07-05 18:49:12 +08:00
|
|
|
margin-left: -6px;
|
2022-06-22 00:20:52 +08:00
|
|
|
margin-top: 2em;
|
|
|
|
}
|
2023-02-13 16:50:39 +08:00
|
|
|
|
|
|
|
.publish-modal {
|
|
|
|
.modal-body {
|
|
|
|
@include font-button;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-input-container {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
min-height: 64px;
|
|
|
|
}
|
2023-04-06 21:12:56 +08:00
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
margin-top: -25px;
|
|
|
|
}
|
2023-02-13 16:50:39 +08:00
|
|
|
}
|
2019-05-13 16:45:12 +08:00
|
|
|
}
|
2022-04-26 20:13:17 +08:00
|
|
|
|
2022-06-22 00:20:52 +08:00
|
|
|
|
2022-04-26 20:13:17 +08:00
|
|
|
.protocol-content {
|
|
|
|
.protocol-name {
|
2023-09-01 23:18:13 +08:00
|
|
|
display: inline-block;
|
2023-09-11 18:03:17 +08:00
|
|
|
font-size: 1.125rem;
|
2022-07-13 18:37:57 +08:00
|
|
|
font-weight: bold;
|
2023-09-01 23:18:13 +08:00
|
|
|
position: relative;
|
2023-09-11 21:58:05 +08:00
|
|
|
width: 100%;
|
2022-04-26 20:13:17 +08:00
|
|
|
}
|
2022-08-02 18:22:29 +08:00
|
|
|
|
|
|
|
.repository-new-step {
|
|
|
|
margin-left: 1.5em;
|
|
|
|
}
|
2022-04-26 20:13:17 +08:00
|
|
|
}
|
2022-06-24 17:21:47 +08:00
|
|
|
|
2023-07-25 17:29:46 +08:00
|
|
|
#protocol-description-container {
|
2023-07-25 20:24:25 +08:00
|
|
|
overflow-x: auto;
|
2023-07-25 17:29:46 +08:00
|
|
|
}
|
|
|
|
|
2022-06-24 17:21:47 +08:00
|
|
|
.delete-steps-modal {
|
|
|
|
.btn {
|
|
|
|
float: initial;
|
|
|
|
}
|
|
|
|
}
|