mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
409 lines
6.5 KiB
SCSS
409 lines
6.5 KiB
SCSS
// scss-lint:disable SelectorDepth SelectorFormat QualifyingElement
|
|
// scss-lint:disable NestingDepth ImportantRule
|
|
|
|
@import "constants";
|
|
|
|
.content-pane.repository-show {
|
|
margin-top: 15px;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.repositories-dropdown-menu {
|
|
border: 1px solid $color-gainsboro;
|
|
border-top: 0;
|
|
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
|
|
height: auto;
|
|
max-height: 400px;
|
|
overflow-x: hidden;
|
|
text-transform: initial;
|
|
width: 300px;
|
|
|
|
li:not(:first-child) {
|
|
border-top: 1px solid $color-gainsboro;
|
|
}
|
|
|
|
.fas-custom{
|
|
float: right;
|
|
}
|
|
|
|
a.muted {
|
|
opacity: .7;
|
|
}
|
|
}
|
|
|
|
.repository-share-status {
|
|
display: contents !important;
|
|
|
|
&.hidden {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.repository-table {
|
|
margin-top: 20px;
|
|
|
|
// Datatables generated name
|
|
.dataTables_length {
|
|
display: inline-block;
|
|
float: right;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.dataTables_filter {
|
|
float: right;
|
|
}
|
|
|
|
// hack only for firefox
|
|
@-moz-document url-prefix() {
|
|
input.form-control[type="file"] {
|
|
font-size: 13px;
|
|
height: auto;
|
|
padding: 3px 12px;
|
|
}
|
|
}
|
|
|
|
.repository-status-value-icon {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.repository-cog {
|
|
display: inline-block;
|
|
float: right;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
#repository-table_paginate {
|
|
float: right;
|
|
text-align: inherit;
|
|
}
|
|
|
|
.breadcrumb.breadcrumb-repository {
|
|
background-color: $color-concrete;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#repository-toolbar {
|
|
align-items: center;
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
display: flex;
|
|
height: 55px;
|
|
margin-left: -20px;
|
|
padding: 5px 15px;
|
|
width: calc(100% + 40px);
|
|
|
|
.repository-share-icon {
|
|
flex-shrink: 0;
|
|
margin-top: -2px;
|
|
|
|
.fas-custom {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
.repository-title-name {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
font-size: 18px;
|
|
line-height: 32px;
|
|
margin-right: 20px;
|
|
overflow: hidden;
|
|
padding-left: 5px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
|
|
.name-container {
|
|
align-items: center;
|
|
display: inline-flex;
|
|
height: 32px;
|
|
|
|
.read-only-name {
|
|
display: inline-block;
|
|
line-height: 32px;
|
|
max-width: calc(100% - 30px);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.inline-editing-container {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.repository-subtitle {
|
|
color: $color-silver-chalice;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.datatables-buttons {
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.toolbarButtonsDatatable {
|
|
.view-only-label {
|
|
opacity: .6;
|
|
}
|
|
|
|
.btn {
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
.sidebar-button {
|
|
color: $brand-primary !important;
|
|
|
|
span {
|
|
display: inline-block !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.fas {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.share-repo-modal {
|
|
|
|
.modal-dialog {
|
|
width: 350px;
|
|
}
|
|
|
|
.modal-footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.share-repo-container {
|
|
padding: 15px 30px;
|
|
|
|
// Main structure css
|
|
.header,
|
|
.data-list {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.data-list {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.all-teams,
|
|
.teams-list {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.teams-list {
|
|
flex-direction: column;
|
|
max-height: 400px;
|
|
position: relative;
|
|
|
|
.team-container {
|
|
align-items: center;
|
|
display: flex;
|
|
padding: 5px 0;
|
|
|
|
.simple-checkbox.hidden {
|
|
display: inline-block !important;
|
|
|
|
+ .checkbox-label {
|
|
display: inline-block;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.permission-selector {
|
|
display: flex;
|
|
flex-basis: 55px;
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.team-selector {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
.checkbox-label {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
// header
|
|
.header {
|
|
align-items: center;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
padding: 5px 0 0;
|
|
}
|
|
|
|
.all-teams {
|
|
align-items: center;
|
|
border-bottom: 1px solid $color-gainsboro;
|
|
margin-left: -10px;
|
|
padding: 5px 10px;
|
|
user-select: none;
|
|
width: calc(100% + 20px);
|
|
}
|
|
}
|
|
}
|
|
|
|
#repository_row-info-table {
|
|
.fas {
|
|
color: $color-silver-chalice;
|
|
}
|
|
}
|
|
|
|
#manageRepositoryColumn {
|
|
.modal-footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.delete-footer {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.dropdown-preview {
|
|
align-items: center;
|
|
background-color: $color-concrete;
|
|
border: 1px solid $color-gainsboro;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 10px 100px 5px;
|
|
position: relative;
|
|
|
|
.field-name {
|
|
color: $color-silver-chalice;
|
|
left: 0;
|
|
padding: 0 5px;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.preview-block {
|
|
flex-basis: 200px;
|
|
position: relative;
|
|
}
|
|
|
|
.limit-counter-container {
|
|
bottom: 0;
|
|
color: $color-silver-chalice;
|
|
left: 100%;
|
|
line-height: 34px;
|
|
margin-left: 15px;
|
|
position: absolute;
|
|
width: 100px;
|
|
|
|
.list-items-limit {
|
|
display: none;
|
|
}
|
|
|
|
&.error-to-many-items {
|
|
.list-items-count {
|
|
color: $brand-danger;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.list-items-limit {
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.status-item-container {
|
|
align-items: center;
|
|
display: flex;
|
|
height: 34px;
|
|
margin-bottom: 5px;
|
|
transition: .3s;
|
|
|
|
&.loading {
|
|
height: 0;
|
|
|
|
* {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&[data-removed="true"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.status-item-field {
|
|
border: 1px solid #ccc;
|
|
border-left: 0;
|
|
border-radius: 0 4px 4px 0;
|
|
flex-grow: 1;
|
|
font-size: 14px;
|
|
height: 34px;
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.status-item-icon {
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px 0 0 4px;
|
|
display: inline-block;
|
|
height: 34px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
width: 34px;
|
|
}
|
|
|
|
.status-item-icon-trash {
|
|
color: $color-silver-chalice;
|
|
padding: 0 10px;
|
|
width: 34px;
|
|
|
|
&:hover {
|
|
color: $color-dove-gray;
|
|
}
|
|
}
|
|
|
|
.add-status {
|
|
align-items: center;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
color: $color-silver-chalice;
|
|
cursor: pointer;
|
|
display: flex;
|
|
font-size: 14px;
|
|
height: 34px;
|
|
line-height: 32px;
|
|
margin-right: 32px;
|
|
transition: .2s;
|
|
|
|
.fa-plus {
|
|
display: inline-block;
|
|
height: 34px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
width: 34px;
|
|
}
|
|
|
|
&:hover {
|
|
border: 1px solid $color-gainsboro;
|
|
}
|
|
|
|
.add-status-label {
|
|
flex-grow: 1;
|
|
padding-left: 5px;
|
|
}
|
|
}
|
|
|
|
.emojis-picker {
|
|
border: 1px solid $color-gainsboro;
|
|
display: none;
|
|
font-size: 30px;
|
|
height: 40px;
|
|
width: 211px;
|
|
}
|