2019-08-12 21:02:16 +08:00
|
|
|
// scss-lint:disable SelectorDepth SelectorFormat QualifyingElement
|
|
|
|
// scss-lint:disable NestingDepth ImportantRule
|
|
|
|
|
2018-03-26 22:18:09 +08:00
|
|
|
@import "constants";
|
|
|
|
|
2020-01-13 21:46:43 +08:00
|
|
|
:root {
|
|
|
|
--repository-sidebar-margin: 363px;
|
2019-08-19 19:30:56 +08:00
|
|
|
}
|
|
|
|
|
2020-01-13 21:46:43 +08:00
|
|
|
.repository-show {
|
2020-06-15 19:49:44 +08:00
|
|
|
height: calc(100vh - var(--navbar-height));
|
2020-01-13 21:46:43 +08:00
|
|
|
left: var(--repository-sidebar-margin);
|
|
|
|
margin: 0;
|
2020-06-15 19:49:44 +08:00
|
|
|
padding: 0 2em;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: absolute;
|
2020-06-15 19:49:44 +08:00
|
|
|
top: var(--navbar-height);
|
2020-01-24 20:22:04 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2020-01-13 21:46:43 +08:00
|
|
|
width: calc(100vw - var(--repository-sidebar-margin));
|
|
|
|
|
2020-06-15 21:52:50 +08:00
|
|
|
&.active {
|
|
|
|
[data-view-mode="archived"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.archived {
|
|
|
|
[data-view-mode="active"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-13 21:46:43 +08:00
|
|
|
|
|
|
|
#repository-toolbar {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
2020-06-15 19:49:44 +08:00
|
|
|
border: 0;
|
2020-01-13 21:46:43 +08:00
|
|
|
display: flex;
|
|
|
|
left: var(--repository-sidebar-margin);
|
2020-06-15 19:49:44 +08:00
|
|
|
padding: 0 2em;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: fixed;
|
2020-01-24 20:22:04 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2020-01-13 21:46:43 +08:00
|
|
|
width: calc(100% - var(--repository-sidebar-margin));
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
.toolbar-delimiter {
|
|
|
|
border-bottom: $border-tertiary;
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
2020-06-15 19:49:44 +08:00
|
|
|
width: calc(100% - 4em);
|
2020-01-13 21:46:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository-share-icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-top: -2px;
|
|
|
|
|
|
|
|
.fas-custom {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-20 17:36:25 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
|
|
|
}
|
|
|
|
|
2020-01-13 21:46:43 +08:00
|
|
|
.repository-title-name {
|
2020-06-15 21:52:50 +08:00
|
|
|
@include font-h2;
|
2020-01-13 21:46:43 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
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;
|
2020-02-11 20:18:33 +08:00
|
|
|
margin: 0;
|
2020-01-13 21:46:43 +08:00
|
|
|
|
|
|
|
.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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-15 21:52:50 +08:00
|
|
|
.repository-archived-title-name {
|
2020-07-08 19:02:47 +08:00
|
|
|
@include font-h1;
|
2020-06-15 21:52:50 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-01-13 21:46:43 +08:00
|
|
|
.repository-subtitle {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 12px;
|
|
|
|
}
|
|
|
|
|
2020-01-29 21:15:47 +08:00
|
|
|
.repo-datatables-buttons {
|
2020-02-10 20:13:18 +08:00
|
|
|
display: flex;
|
2020-01-13 21:46:43 +08:00
|
|
|
flex-shrink: 0;
|
2020-02-10 20:13:18 +08:00
|
|
|
|
|
|
|
.manage-repo-column-index {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2020-06-15 19:49:44 +08:00
|
|
|
|
|
|
|
.view-switch {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2020-01-13 21:46:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-actions {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2020-06-17 20:05:23 +08:00
|
|
|
flex-wrap: nowrap;
|
2020-06-15 19:49:44 +08:00
|
|
|
height: 5em;
|
2020-01-13 21:46:43 +08:00
|
|
|
left: var(--repository-sidebar-margin);
|
2020-06-17 20:05:23 +08:00
|
|
|
overflow: hidden;
|
2020-06-15 19:49:44 +08:00
|
|
|
padding: 0 2em;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: fixed;
|
2020-06-15 19:49:44 +08:00
|
|
|
top: calc(5em + var(--navbar-height));
|
2020-01-24 20:22:04 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2020-01-13 21:46:43 +08:00
|
|
|
width: calc(100% - var(--repository-sidebar-margin));
|
|
|
|
z-index: 90;
|
|
|
|
|
|
|
|
.filter-container {
|
2020-06-17 20:05:23 +08:00
|
|
|
flex-shrink: 0;
|
2020-01-28 21:11:11 +08:00
|
|
|
|
|
|
|
.toolbar-filter-buttons {
|
|
|
|
float: right;
|
|
|
|
}
|
2020-01-13 21:46:43 +08:00
|
|
|
}
|
2020-05-15 23:46:59 +08:00
|
|
|
|
|
|
|
.repository-provisioning-notice {
|
|
|
|
color: $brand-info;
|
|
|
|
}
|
2020-06-17 20:05:23 +08:00
|
|
|
|
|
|
|
#editDeleteCopy {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.archived-label {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 400px;
|
|
|
|
padding: 0 1em;
|
|
|
|
|
|
|
|
table {
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
padding: 0 .5em;
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
color: $color-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-13 21:46:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dataTables_scroll {
|
2020-06-15 19:49:44 +08:00
|
|
|
padding-bottom: 5em;
|
|
|
|
padding-top: 10em;
|
2020-01-13 21:46:43 +08:00
|
|
|
|
|
|
|
.dataTables_scrollHead {
|
2020-01-27 17:20:49 +08:00
|
|
|
position: -webkit-sticky !important;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: sticky !important;
|
2020-06-15 19:49:44 +08:00
|
|
|
top: calc(10em + var(--navbar-height));
|
2020-01-13 21:46:43 +08:00
|
|
|
z-index: 90;
|
|
|
|
|
|
|
|
.table.dataTable {
|
|
|
|
margin-top: 0 !important;
|
2020-01-24 20:22:04 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2020-01-13 21:46:43 +08:00
|
|
|
|
|
|
|
th {
|
|
|
|
transition: width .2s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-14 18:39:15 +08:00
|
|
|
|
|
|
|
.dataTables_scrollBody {
|
2020-01-16 18:10:51 +08:00
|
|
|
thead th#checkbox {
|
2020-01-14 18:39:15 +08:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-01-13 21:46:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination-row {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
2020-06-15 19:49:44 +08:00
|
|
|
height: 5em;
|
2020-01-13 21:46:43 +08:00
|
|
|
left: var(--repository-sidebar-margin);
|
2020-06-15 19:49:44 +08:00
|
|
|
padding: 0 10em 0 2em;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: fixed;
|
2020-01-24 20:22:04 +08:00
|
|
|
transition: .4s $timing-function-sharp;
|
2020-01-13 21:46:43 +08:00
|
|
|
width: calc(100% - var(--repository-sidebar-margin));
|
|
|
|
z-index: 90;
|
|
|
|
|
|
|
|
.pagination-info,
|
|
|
|
.pagination-actions {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination-info {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.dataTables_info {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataTables_length {
|
2020-01-15 23:46:01 +08:00
|
|
|
margin-right: 24px;
|
|
|
|
width: 170px;
|
|
|
|
|
|
|
|
.dropdown-selector-container {
|
|
|
|
width: inherit;
|
|
|
|
}
|
2020-01-13 21:46:43 +08:00
|
|
|
|
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-21 21:32:57 +08:00
|
|
|
.repository-share-status {
|
|
|
|
display: contents !important;
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2019-08-21 16:39:37 +08:00
|
|
|
|
2017-06-16 17:52:26 +08:00
|
|
|
.repository-cog {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
2017-06-22 20:23:03 +08:00
|
|
|
|
|
|
|
#repository-table_paginate {
|
|
|
|
float: right;
|
|
|
|
text-align: inherit;
|
|
|
|
}
|
2018-03-26 22:18:09 +08:00
|
|
|
|
|
|
|
.breadcrumb.breadcrumb-repository {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2019-07-29 22:39:23 +08:00
|
|
|
|
2019-11-11 21:05:59 +08:00
|
|
|
.asset-value-cell {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
font-size: 18px;
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-icon {
|
2020-01-28 18:32:48 +08:00
|
|
|
height: 18px;
|
2019-11-11 21:05:59 +08:00
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-preview-link {
|
2020-02-07 19:20:09 +08:00
|
|
|
display: inline-block;
|
2019-12-04 21:52:52 +08:00
|
|
|
min-width: 140px;
|
2019-11-11 21:05:59 +08:00
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-04 21:52:52 +08:00
|
|
|
.file-editing {
|
|
|
|
width: 200px;
|
|
|
|
|
2020-02-06 21:43:17 +08:00
|
|
|
input[type=file] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
cursor: pointer;
|
|
|
|
flex-grow: 1;
|
|
|
|
font-weight: normal;
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-left: 34px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&:empty::before {
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
margin-left: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-04 21:52:52 +08:00
|
|
|
.file-upload-button {
|
2020-02-06 21:43:17 +08:00
|
|
|
align-items: center;
|
2019-12-04 21:52:52 +08:00
|
|
|
background-color: $color-white;
|
2020-01-23 20:12:58 +08:00
|
|
|
border: $border-default;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
cursor: pointer;
|
2020-02-06 21:43:17 +08:00
|
|
|
display: flex;
|
2019-12-04 21:52:52 +08:00
|
|
|
height: 34px;
|
|
|
|
line-height: 32px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.new-file {
|
|
|
|
.icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.fa-trash {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-02-06 21:43:17 +08:00
|
|
|
|
|
|
|
label {
|
2020-02-07 19:20:09 +08:00
|
|
|
color: $color-silver-chalice;
|
2020-02-06 21:43:17 +08:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
2019-12-04 21:52:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: inline-block;
|
2020-02-06 21:43:17 +08:00
|
|
|
left: 0;
|
|
|
|
line-height: 32px;
|
|
|
|
position: absolute;
|
2019-12-04 21:52:52 +08:00
|
|
|
text-align: center;
|
2020-02-06 21:43:17 +08:00
|
|
|
top: 0;
|
2019-12-04 21:52:52 +08:00
|
|
|
width: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-trash {
|
|
|
|
background-color: $color-white;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
line-height: 32px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
top: 0;
|
|
|
|
width: 34px;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.fa-trash {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
border-color: $brand-danger;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background-color: $color-white;
|
|
|
|
bottom: 0;
|
|
|
|
color: $brand-danger;
|
|
|
|
content: "\f071";
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 501;
|
|
|
|
line-height: 32px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
text-align: center;
|
|
|
|
width: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2020-01-16 18:30:26 +08:00
|
|
|
@include font-small;
|
2019-12-04 21:52:52 +08:00
|
|
|
bottom: -15px;
|
|
|
|
color: $brand-danger;
|
|
|
|
content: attr(data-error-text);
|
|
|
|
left: 0;
|
|
|
|
line-height: 15px;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-15 23:46:59 +08:00
|
|
|
#toolbarButtonsDatatable {
|
2020-06-17 20:05:23 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
2019-08-09 18:44:41 +08:00
|
|
|
.view-only-label {
|
|
|
|
opacity: .6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-29 22:39:23 +08:00
|
|
|
.sidebar-button {
|
2019-08-09 18:54:22 +08:00
|
|
|
color: $brand-primary !important;
|
2020-02-28 21:03:08 +08:00
|
|
|
margin-left: 30px;
|
2019-08-09 18:54:22 +08:00
|
|
|
|
2019-07-29 22:39:23 +08:00
|
|
|
span {
|
|
|
|
display: inline-block !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-08-12 21:02:16 +08:00
|
|
|
|
|
|
|
.share-repo-modal {
|
|
|
|
|
|
|
|
.modal-dialog {
|
|
|
|
width: 350px;
|
|
|
|
}
|
|
|
|
|
2019-08-29 19:45:27 +08:00
|
|
|
.modal-footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-08-12 21:02:16 +08:00
|
|
|
.share-repo-container {
|
2019-09-03 18:06:16 +08:00
|
|
|
padding: 15px 30px;
|
2019-08-12 21:02:16 +08:00
|
|
|
|
|
|
|
// 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;
|
2019-08-29 19:45:27 +08:00
|
|
|
|
2020-01-24 22:43:13 +08:00
|
|
|
.sci-checkbox.hidden {
|
2019-08-29 19:45:27 +08:00
|
|
|
display: inline-block !important;
|
|
|
|
}
|
2019-08-12 21:02:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.permission-selector {
|
|
|
|
display: flex;
|
2019-08-29 19:45:27 +08:00
|
|
|
flex-basis: 55px;
|
2019-08-12 21:02:16 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.team-selector {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
2020-01-24 22:43:13 +08:00
|
|
|
.sci-checkbox-container {
|
2019-08-12 21:02:16 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// header
|
|
|
|
.header {
|
|
|
|
align-items: center;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
2019-08-29 19:45:27 +08:00
|
|
|
padding: 5px 0 0;
|
2019-08-12 21:02:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.all-teams {
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid $color-gainsboro;
|
2019-08-29 19:45:27 +08:00
|
|
|
margin-left: -10px;
|
|
|
|
padding: 5px 10px;
|
2019-08-12 21:02:16 +08:00
|
|
|
user-select: none;
|
2019-08-29 19:45:27 +08:00
|
|
|
width: calc(100% + 20px);
|
2019-08-12 21:02:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-23 17:13:58 +08:00
|
|
|
|
|
|
|
#repository_row-info-table {
|
|
|
|
.fas {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
}
|