scinote-web/app/assets/stylesheets/repository_columns/index.scss

175 lines
2.7 KiB
SCSS

// scss-lint:disable IdSelector
@import "constants";
#manage-repository-column {
.modal-content {
font-size: 14px;
height: 500px;
width: 540px;
}
.modal-header {
padding: 4px 15px 4px 8px;
.back-to-column-modal {
float: left;
}
.modal-title {
margin-right: 25px;
overflow: hidden;
padding: 6px;
text-overflow: ellipsis;
white-space: nowrap;
}
.close {
padding: 6px 0;
}
}
.modal-body {
padding: 0 15px;
.form-horizontal {
height: 390px;
padding: 15px 0;
}
.form-group {
margin-bottom: 10px;
}
.form-control {
font-size: 14px;
height: 30px;
}
#items-textarea {
height: 120px;
}
}
.modal-footer {
padding: 12px 15px;
text-align: center;
}
.range-label {
left: 3px;
position: relative;
top: -2px;
}
#repository-column-data-type + .dropdown-selector-container {
.custom-option {
padding: 0 25px;
}
}
.repo-columns-list {
height: 390px;
margin-bottom: 0;
overflow-y: auto;
padding: 0;
position: relative;
.modal-tooltiptext {
margin-left: 0;
z-index: 99999999;
}
li {
background: $color-white;
border-bottom: 1px solid $color-alto;
padding: 10px 10px 10px 0;
vertical-align: middle;
}
[data-position] {
cursor: -webkit-grab;
cursor: grab;
}
.ui-sortable-helper {
cursor: -webkit-grabbing;
cursor: grabbing;
}
.grippy {
background-repeat: none;
display: inline-block;
height: 13px;
width: 8px;
}
li .grippy-img {
background: url(asset-path('custom/grippy.png'));
}
li:hover span.editable {
display: inline-block !important;
}
.column-type {
color: $color-silver-chalice;
}
li.editable:hover span.column-type {
display: none;
}
li:not(.editable) {
.column-type:before {
content: "\f023";
font-family: "Font Awesome 5 Free";
font-weight: 501;
padding-right: 4px;
}
}
li:last-of-type {
border-bottom: 0;
}
.col-invisible {
color: $color-alto;
}
.vis-controls {
display: inline-block;
span {
cursor: pointer;
&.disabled {
visibility: hidden;
}
&:hover {
color: $color-emperor;
}
}
.vis {
margin-left: 10px;
margin-right: 5px;
&:not(.fa-eye):not(.fa-eye-slash) {
padding-right: 15px;
}
}
}
.manage-controls {
margin-top: -10px;
}
}
.delete-content {
height: 390px;
padding: 15px 0;
}
}