scinote-web/app/assets/stylesheets/my_modules/protocols/index.scss
2019-05-06 14:19:32 +02:00

187 lines
3 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;
}
}
.module-header {
padding-top: 15px !important;
.first-row {
max-height: 40px;
.date-block {
max-width: 250px;
}
div {
height: 45px;
}
.complete-button-container {
float: right;
max-width: 165px;
.my_module-state-buttons {
padding-top: 0;
}
}
}
.well {
border: 0;
box-shadow: none;
padding-left: 0;
padding-right: 0;
}
.badge-icon {
background: transparent;
color: $color-silver;
padding-right: 5px;
+ .well-sm {
margin-left: 32px;
}
}
.module-tags {
.tags-title {
line-height: 32px;
}
.badge-icon {
line-height: 32px;
padding: 9px 5px 9px 10px;
}
.select-container {
float: right;
position: relative;
width: calc(100% - 40px);
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: 3px;
width: 14px;
}
&::before {
display: none;
}
}
}