2017-05-04 00:36:16 +08:00
|
|
|
@import "../../../stylesheets/variables/_all";
|
|
|
|
@import "../../../stylesheets/mixins/_scrollable";
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
@keyframes bar-stripes {
|
2018-10-19 04:37:14 +08:00
|
|
|
from { background-position: 1rem 0; }
|
2017-05-06 04:17:38 +08:00
|
|
|
to { background-position: 0 0; }
|
|
|
|
}
|
|
|
|
|
2017-05-04 00:36:16 +08:00
|
|
|
.fileList {
|
|
|
|
@include scrollbox-vertical();
|
2017-05-06 04:17:38 +08:00
|
|
|
max-height: 35vh;
|
2017-05-04 00:36:16 +08:00
|
|
|
}
|
2017-04-29 02:42:32 +08:00
|
|
|
|
|
|
|
.table {
|
|
|
|
width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
> thead {
|
|
|
|
}
|
|
|
|
|
|
|
|
> tbody {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
> tr {
|
2018-10-19 04:37:14 +08:00
|
|
|
border-bottom: 1px solid var(--color-gray-light);
|
2017-04-29 02:42:32 +08:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-12-20 02:29:51 +08:00
|
|
|
background-color: transparentize(#8B9AA8, .85);
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: calc(var(--sm-padding-y) * 2) calc(var(--sm-padding-x) / 2);
|
2017-04-29 02:42:32 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-gray-dark);
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableItemIcon,
|
|
|
|
.tableItemActions,
|
2017-12-05 00:10:37 +08:00
|
|
|
.tableItemStatus,
|
|
|
|
.tableItemCurrent {
|
2017-04-29 02:42:32 +08:00
|
|
|
width: 1%;
|
|
|
|
}
|
|
|
|
|
2017-05-23 22:05:42 +08:00
|
|
|
.tableItemActions {
|
|
|
|
min-width: 68px; // size of the 2 icons (check/trash)
|
2019-02-22 05:10:32 +08:00
|
|
|
text-align: left;
|
2017-05-23 22:05:42 +08:00
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemIcon > i {
|
|
|
|
font-size: 1.35rem;
|
|
|
|
}
|
|
|
|
|
2017-04-29 02:42:32 +08:00
|
|
|
.tableItemName {
|
2018-10-19 04:37:14 +08:00
|
|
|
height: 1rem;
|
2017-04-29 02:42:32 +08:00
|
|
|
width: auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
2017-12-05 00:10:37 +08:00
|
|
|
content: "\00a0";
|
2017-04-29 02:42:32 +08:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
@extend %text-elipsis;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-05 00:10:37 +08:00
|
|
|
.tableItemCurrent {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemStatus {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2017-04-29 02:42:32 +08:00
|
|
|
.tableItemNew {
|
2018-10-25 20:46:31 +08:00
|
|
|
background-color: rgba(0, 128, 129, 0.05);
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemUploading {
|
2018-10-25 20:46:31 +08:00
|
|
|
background-color: rgba(0, 128, 129, 0.25);
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
|
|
|
|
2017-11-28 01:44:45 +08:00
|
|
|
.tableItemConverting {
|
2018-10-25 20:46:31 +08:00
|
|
|
background-color: rgba(0, 128, 129, 0.25);
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tableItemError {
|
2018-10-25 20:46:31 +08:00
|
|
|
background-color: rgba(223, 39, 33, 0.25);
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
|
|
|
|
2017-09-08 02:18:14 +08:00
|
|
|
.tableItemAnimated {
|
2017-05-06 04:17:38 +08:00
|
|
|
background-image: linear-gradient(45deg,
|
2018-10-19 04:37:14 +08:00
|
|
|
rgba(255, 255, 255, .15) 25%,
|
|
|
|
transparent 25%,
|
|
|
|
transparent 50%,
|
|
|
|
rgba(255, 255, 255, .15) 50%,
|
|
|
|
rgba(255, 255, 255, .15) 75%,
|
|
|
|
transparent 75%,
|
|
|
|
transparent
|
2017-05-06 04:17:38 +08:00
|
|
|
);
|
2018-10-19 04:37:14 +08:00
|
|
|
background-size: 1rem 1rem;
|
2019-02-28 23:11:36 +08:00
|
|
|
|
2019-04-11 23:04:10 +08:00
|
|
|
:global(.animationsEnabled) & {
|
2019-02-28 23:11:36 +08:00
|
|
|
animation: bar-stripes 1s linear infinite;
|
|
|
|
}
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
|
|
|
|
2019-03-11 02:24:47 +08:00
|
|
|
.itemAction {
|
|
|
|
div > i {
|
|
|
|
margin-top: .25rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-22 05:10:32 +08:00
|
|
|
.itemAction,
|
|
|
|
.itemAction > i {
|
2017-05-04 04:51:17 +08:00
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.35rem;
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-gray-light);
|
2017-05-04 04:51:17 +08:00
|
|
|
padding: 0;
|
2019-02-28 23:11:36 +08:00
|
|
|
|
2019-04-11 23:04:10 +08:00
|
|
|
:global(.animationsEnabled) & {
|
2019-02-28 23:11:36 +08:00
|
|
|
transition: all .25s;
|
|
|
|
}
|
|
|
|
|
2019-02-22 05:10:32 +08:00
|
|
|
:hover, :focus {
|
|
|
|
padding: unset !important;
|
|
|
|
}
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.itemActionRemove {
|
2019-02-22 05:10:32 +08:00
|
|
|
background-color: transparent;
|
|
|
|
border: 0 !important;
|
|
|
|
|
|
|
|
& > i:focus,
|
|
|
|
& > i:hover {
|
|
|
|
color: var(--color-danger) !important;
|
|
|
|
background-color: transparent;
|
2017-05-06 04:17:38 +08:00
|
|
|
}
|
2017-09-27 03:45:33 +08:00
|
|
|
|
|
|
|
&[aria-disabled="true"] {
|
|
|
|
cursor: not-allowed;
|
2017-10-02 22:12:58 +08:00
|
|
|
opacity: .5;
|
2017-09-27 03:45:33 +08:00
|
|
|
box-shadow: none;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2017-05-04 04:51:17 +08:00
|
|
|
}
|
|
|
|
|
2019-02-22 05:10:32 +08:00
|
|
|
.checked > i {
|
|
|
|
color: var(--color-success);
|
|
|
|
}
|
|
|
|
|
2018-12-03 14:10:50 +08:00
|
|
|
.dropzoneWrapper {
|
2017-04-29 02:42:32 +08:00
|
|
|
width: 100%;
|
2018-12-03 14:10:50 +08:00
|
|
|
display: flex;
|
|
|
|
margin-top: calc(var(--lg-padding-y) * 5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone {
|
|
|
|
flex: auto;
|
2017-04-29 02:42:32 +08:00
|
|
|
border: 2px dashed;
|
2018-10-19 04:37:14 +08:00
|
|
|
border-radius: var(--border-radius);
|
2018-12-03 14:10:50 +08:00
|
|
|
padding: calc(var(--lg-padding-y) * 2.5) var(--lg-padding-x);
|
2017-04-29 02:42:32 +08:00
|
|
|
text-align: center;
|
2018-10-19 04:37:14 +08:00
|
|
|
font-size: var(--font-size-large);
|
2017-04-29 02:42:32 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneActive {
|
2018-10-19 04:37:14 +08:00
|
|
|
background-color: var(--color-gray-light);
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneReject {
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-danger);
|
|
|
|
background-color: var(--color-danger);
|
2017-04-29 02:42:32 +08:00
|
|
|
cursor: no-drop;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneIcon {
|
2018-10-19 04:37:14 +08:00
|
|
|
font-size: calc(var(--font-size-large) * 3);
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneMessage {
|
2018-10-19 04:37:14 +08:00
|
|
|
margin: var(--md-padding-y) 0;
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneLink {
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-link);
|
2017-04-29 02:42:32 +08:00
|
|
|
text-decoration: underline;
|
|
|
|
font-size: 80%;
|
|
|
|
display: block;
|
|
|
|
}
|
2017-12-05 00:10:37 +08:00
|
|
|
|
|
|
|
.currentLabel {
|
|
|
|
display: inline;
|
|
|
|
padding: .25em .5em;
|
|
|
|
font-size: 75%;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-white);
|
|
|
|
background: var(--color-primary);
|
2017-12-05 00:10:37 +08:00
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
border-radius: .25em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|