2017-05-04 00:36:16 +08:00
|
|
|
@import "../../../stylesheets/variables/_all";
|
|
|
|
@import "../../../stylesheets/mixins/_scrollable";
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
$item-height: 1rem;
|
|
|
|
|
|
|
|
@keyframes bar-stripes {
|
|
|
|
from { background-position: $item-height 0; }
|
|
|
|
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 {
|
|
|
|
border-bottom: 1px solid transparentize($color-gray-light, .85);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: transparentize($color-gray-light, .85);
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: ($sm-padding-y * 2) ($sm-padding-x / 2);
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $color-gray-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableItemIcon,
|
|
|
|
.tableItemActions,
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemStatus {
|
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)
|
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemIcon > i {
|
|
|
|
font-size: 1.35rem;
|
|
|
|
}
|
|
|
|
|
2017-04-29 02:42:32 +08:00
|
|
|
.tableItemName {
|
2017-05-06 04:17:38 +08:00
|
|
|
height: $item-height;
|
2017-04-29 02:42:32 +08:00
|
|
|
width: auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: ' ';
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
@extend %text-elipsis;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 0 $sm-padding-x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemStatus {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2017-04-29 02:42:32 +08:00
|
|
|
.tableItemNew {
|
|
|
|
background-color: transparentize($color-primary, .95);
|
|
|
|
}
|
|
|
|
|
2017-05-06 04:17:38 +08:00
|
|
|
.tableItemUploading {
|
|
|
|
background-color: transparentize($color-primary, .75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableItemProcessing {
|
|
|
|
background-color: transparentize($color-success, .75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableItemError {
|
|
|
|
background-color: transparentize($color-danger, .75);
|
|
|
|
}
|
|
|
|
|
2017-09-08 02:18:14 +08:00
|
|
|
.tableItemAnimated {
|
2017-05-06 04:17:38 +08:00
|
|
|
background-image: linear-gradient(45deg,
|
|
|
|
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
|
|
|
|
);
|
|
|
|
background-size: $item-height $item-height;
|
|
|
|
animation: bar-stripes 1s linear infinite;
|
|
|
|
}
|
|
|
|
|
2017-05-04 04:51:17 +08:00
|
|
|
.itemAction {
|
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.35rem;
|
|
|
|
color: $color-gray-light;
|
|
|
|
padding: 0;
|
2017-05-06 04:17:38 +08:00
|
|
|
transition: all .25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.itemActionRemove {
|
|
|
|
&:focus, &:hover {
|
|
|
|
color: $color-danger;
|
|
|
|
}
|
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-10-02 22:12:58 +08:00
|
|
|
cursor: not-allowed;
|
2017-09-27 03:45:33 +08:00
|
|
|
}
|
2017-05-04 04:51:17 +08:00
|
|
|
}
|
|
|
|
|
2017-04-29 02:42:32 +08:00
|
|
|
.dropzone {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
border: 2px dashed;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
padding: ($lg-padding-y * 2.5) ($lg-padding-x * 2.5);
|
|
|
|
margin-top: $lg-padding-y * 5;
|
|
|
|
text-align: center;
|
|
|
|
font-size: $font-size-large;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneActive {
|
|
|
|
background-color: transparentize($color-gray-light, .85);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneReject {
|
|
|
|
color: $color-danger;
|
|
|
|
background-color: transparentize($color-danger, .80);
|
|
|
|
cursor: no-drop;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneIcon {
|
2017-05-06 04:17:38 +08:00
|
|
|
font-size: $font-size-large * 3;
|
2017-04-29 02:42:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneMessage {
|
|
|
|
margin: $md-padding-y 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzoneLink {
|
|
|
|
color: $color-link;
|
|
|
|
text-decoration: underline;
|
|
|
|
font-size: 80%;
|
|
|
|
display: block;
|
|
|
|
}
|