// scss-lint:disable SelectorDepth // scss-lint:disable NestingDepth .content-pane.protocols-show { .dropdown-menu { z-index: 102; } .dropdown-backdrop { z-index: 101; } .protocol-section { background-color: var(--sn-white); border-radius: .25rem; display: inline-block; padding: .25rem 1rem; width: 100%; &.protocol-steps-section { margin-left: 0; } .protocol-section-caret { align-items: center; color: var(--sn-black); display: inline-flex; gap: .5rem; padding: .5rem .5rem .5rem 0; text-decoration: none; .fas { margin-right: 5px; } &:not(.collapsed) .sn-icon { @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; padding: 0 25px; .btn { margin-left: .25em; } .caret { margin-left: 25px; } button, a { margin-right: 5px; } } } .protocol-details { padding-left: 2rem; } } .protocol-details { .protocol-metadata { margin-bottom: 2em; .data-block { display: flex; gap: .5rem; margin-bottom: 16px; } .authors-data { align-items: baseline; display: flex; margin-top: -12px; min-height: 36px; .authors-list { font-weight: bold; line-height: 32px; margin-left: 8px; max-width: calc(100% - 90px); position: relative; } * { flex-shrink: 0; } .sci-inline-edit__view, textarea { padding-left: 10px; &::placeholder { font-weight: normal; } } .sci-inline-edit__view.blank { font-weight: normal; &:hover { border: $border-default; } } } .keywords-data { align-items: center; display: flex; margin-top: -12px; min-height: 36px; .keywords-list { flex-basis: calc(100% - 90px); flex-grow: 1; margin-left: .5em; .dropdown-selector-container { padding-right: 10px; margin-left: 0; .input-field { margin-left: 0; } &:not(.disabled) { &:not(.active) { .input-field { border-color: transparent; &:hover { border: 1px solid $color-alto; } } } &.active { .input-field { border: 1px solid $brand-focus; } } } &.disabled { .input-field, .input-field:hover, .input-field:active { border-color: transparent; } } } } * { flex-shrink: 0; } } } } .protocol-description { margin-bottom: 2em; .data-block { img { border-radius: 50%; height: 24px; width: 24px; } } .fas.block-icon { margin-right: 6px; &.fa-graduation-cap, &.fa-font { margin-right: 10px; } } } .protocol-step-actions { margin-left: -6px; margin-top: 2em; } .publish-modal { .modal-body { @include font-button; } .sci-input-container { margin-bottom: 1em; } textarea { min-height: 64px; } .modal-footer { margin-top: -25px; } } } .protocol-content { .protocol-name { display: inline-block; font-size: 1.125rem; font-weight: bold; position: relative; width: 100%; } .repository-new-step { margin-left: 1.5em; } } #protocol-description-container { overflow-x: auto; } .delete-steps-modal { .btn { float: initial; } }