mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
291 lines
4.7 KiB
SCSS
291 lines
4.7 KiB
SCSS
// scss-lint:disable SelectorDepth
|
|
// scss-lint:disable NestingDepth
|
|
// scss-lint:disable SelectorFormat
|
|
// scss-lint:disable ImportantRule
|
|
|
|
@import "constants";
|
|
@import "mixins";
|
|
|
|
#manage-module-tags-modal {
|
|
|
|
.well {
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.protocol-info,
|
|
.module-header {
|
|
.well {
|
|
border: 0;
|
|
box-shadow: none;
|
|
font-size: 14px;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.badge-icon {
|
|
background: transparent;
|
|
color: $color-silver;
|
|
padding-left: 0;
|
|
padding-right: 5px;
|
|
|
|
+ .well-sm {
|
|
margin-bottom: 5px;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.module-header {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
+ .protocol-title {
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
margin: 10px 0 15px;
|
|
}
|
|
|
|
.header-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
float: left;
|
|
width: calc(100% - 180px);
|
|
|
|
.flex-block {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
.well-sm {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.complete-button-container {
|
|
float: right;
|
|
width: 165px;
|
|
|
|
.my_module-state-buttons {
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
.module-description {
|
|
float: left;
|
|
width: 100%;
|
|
|
|
.no-description {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
padding: 20px 0 5px;
|
|
}
|
|
|
|
.my-module-description-content {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.module-tags {
|
|
float: left;
|
|
width: 100%;
|
|
|
|
#module-tags {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.badge-icon {
|
|
display: inline-block;
|
|
line-height: 32px;
|
|
padding: 0 5px 0 0;
|
|
width: 28px;
|
|
}
|
|
|
|
.tags-title {
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
line-height: 32px;
|
|
padding-right: 3px;
|
|
width: 37px;
|
|
}
|
|
|
|
.select-container {
|
|
display: flex;
|
|
flex-basis: 100px;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
max-width: calc(100% - 65px);
|
|
position: relative;
|
|
|
|
select {
|
|
display: none;
|
|
}
|
|
|
|
.edit-button-container {
|
|
height: 32px;
|
|
padding-right: 5px;
|
|
position: absolute;
|
|
right: 0;
|
|
text-align: right;
|
|
top: 0;
|
|
width: 120px;
|
|
z-index: 2;
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
display: inline-block;
|
|
line-height: 32px;
|
|
opacity: .7;
|
|
text-decoration: none;
|
|
|
|
i {
|
|
float: left;
|
|
font-size: 16px;
|
|
line-height: 32px;
|
|
margin-right: 5px;
|
|
padding-top: 1px;
|
|
}
|
|
|
|
span {
|
|
float: left;
|
|
line-height: 32px;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.select2-selection {
|
|
|
|
input[disabled] {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.select2-selection__rendered {
|
|
cursor: pointer;
|
|
float: left;
|
|
padding-left: 2px;
|
|
padding-right: 130px;
|
|
|
|
input {
|
|
cursor: pointer;
|
|
line-height: 30px;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.select2-selection__choice {
|
|
border: 1px solid transparent;
|
|
border-radius: 3px;
|
|
color: $color-white;
|
|
|
|
.select2-selection__choice__remove {
|
|
color: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.select2-container--disabled {
|
|
|
|
.select2-selection__rendered {
|
|
padding-right: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.select2-dropdown.module-tags-selector-dropdown {
|
|
|
|
.loading-results {
|
|
display: none;
|
|
}
|
|
|
|
.select2-results__option {
|
|
padding-left: 5px !important;
|
|
|
|
.add-tags {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.create-new {
|
|
opacity: .6;
|
|
}
|
|
|
|
.tag-color {
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
height: 14px;
|
|
margin-right: 5px;
|
|
margin-top: 1px;
|
|
width: 14px;
|
|
}
|
|
|
|
&::before {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
#protocol-copy-to-repository {
|
|
border-left: 0;
|
|
border-radius: 0 5px 5px 0;
|
|
}
|
|
|
|
.my-module-recent-protocols {
|
|
flex-grow: 1;
|
|
margin-bottom: 5px;
|
|
position: relative;
|
|
|
|
.btn-group {
|
|
align-items: center;
|
|
display: flex;
|
|
float: right;
|
|
height: 33px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dropdown-button {
|
|
cursor: pointer;
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
left: auto;
|
|
padding: 0;
|
|
right: 0;
|
|
width: 402px;
|
|
|
|
.protocol {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
float: left;
|
|
padding: 5px 10px;
|
|
transition: $md-transaction;
|
|
width: 200px;
|
|
|
|
&:hover {
|
|
background: $color-gainsboro;
|
|
}
|
|
|
|
.fas {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|