diff --git a/src/components/misc/ProgressBar.vue b/src/components/misc/ProgressBar.vue new file mode 100644 index 000000000..f2dddfd04 --- /dev/null +++ b/src/components/misc/ProgressBar.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index 7d507e5eb..173bb5f14 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -16,14 +16,11 @@ type="file" v-if="editEnabled" /> - - {{ attachmentService.uploadProgress }}% - + :value="attachmentService.uploadProgress * 100" + is-primary + />
{{ a.file.name }}
-

+

{{ formatDateSince(a.created) }} @@ -83,7 +80,7 @@ @click="$refs.files.click()" class="mb-4" icon="cloud-upload-alt" - variant="secondary" + type="secondary" :shadow="false" > {{ $t('task.attachment.upload') }} @@ -138,7 +135,8 @@ \ No newline at end of file diff --git a/src/styles/components/tasks.scss b/src/styles/components/tasks.scss index e001c3686..c3114b689 100644 --- a/src/styles/components/tasks.scss +++ b/src/styles/components/tasks.scss @@ -15,11 +15,6 @@ } } - .progress { - // overwrite bulma - margin-bottom: 0; - } - &.noborder { margin: 1rem -0.5rem; } diff --git a/src/styles/global.scss b/src/styles/global.scss index bd187fe5a..ad0e63a18 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -24,7 +24,7 @@ @import "bulma-css-variables/sass/elements/icon"; @import "bulma-css-variables/sass/elements/image"; //@import "bulma-css-variables/sass/elements/notification"; // not used -@import "bulma-css-variables/sass/elements/progress"; +// @import "bulma-css-variables/sass/elements/progress"; // not used @import "bulma-css-variables/sass/elements/table"; @import "bulma-css-variables/sass/elements/tag"; @import "bulma-css-variables/sass/elements/title"; diff --git a/src/styles/theme/theme.scss b/src/styles/theme/theme.scss index 77a9ec068..f3d190ac9 100644 --- a/src/styles/theme/theme.scss +++ b/src/styles/theme/theme.scss @@ -38,20 +38,12 @@ h6 { // - kanban-card.vue // - singleTaskInList.vue .progress { - border-radius: $radius-large; - width: 50px; - margin: 0 0.5rem 0 0; - flex: 3 1 auto; - - &::-moz-progress-bar, - &::-webkit-progress-value { - background: var(--grey-500); - } + // margin: 0 0.5rem 0 0; + // flex: 3 1 auto; @media screen and (max-width: $tablet) { - margin: 0.5rem 0 0 0; - order: 1; - width: 100%; + // margin: 0.5rem 0 0 0; + // order: 1; } } @@ -136,7 +128,6 @@ button.table { .color-bubble { display: inline-block; border-radius: 100%; - margin-right: 4px; } .dropdown-menu .dropdown-content {