diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index ba03e7b22..17cd98e60 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -249,3 +249,137 @@ export default { }, } + + \ No newline at end of file diff --git a/src/styles/animations.scss b/src/styles/animations.scss deleted file mode 100644 index a0550a16c..000000000 --- a/src/styles/animations.scss +++ /dev/null @@ -1,25 +0,0 @@ -@keyframes bounce { - from, - 20%, - 53%, - 80%, - to { - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); - transform: translate3d(0, 0, 0); - } - - 40%, - 43% { - animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); - transform: translate3d(0, -30px, 0); - } - - 70% { - animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); - transform: translate3d(0, -15px, 0); - } - - 90% { - transform: translate3d(0, -4px, 0); - } -} \ No newline at end of file diff --git a/src/styles/components/_index.scss b/src/styles/components/_index.scss index 938a524f9..b78ccd3d8 100644 --- a/src/styles/components/_index.scss +++ b/src/styles/components/_index.scss @@ -1,4 +1,3 @@ -@import "attachments"; @import "gantt"; @import "tooltip"; @import "labels"; diff --git a/src/styles/components/attachments.scss b/src/styles/components/attachments.scss deleted file mode 100644 index c983ba076..000000000 --- a/src/styles/components/attachments.scss +++ /dev/null @@ -1,105 +0,0 @@ -.attachments { - input[type=file] { - display: none; - } - - .files { - margin-bottom: 1rem; - - .attachment { - margin-bottom: .5rem; - display: block; - transition: background-color $transition; - border-radius: $radius; - padding: .5rem; - - &:hover { - background-color: $grey-200; - } - - .filename { - font-weight: bold; - margin-bottom: .25rem; - color: $text; - } - - .info { - color: $grey-500; - font-size: .9rem; - - p { - margin-bottom: 0; - display: flex; - - > span:not(:last-child):after, - > a:not(:last-child):after { - content: '·'; - padding: 0 .25rem; - } - - @media screen and (max-width: $mobile) { - &.collapses { - flex-direction: column; - - > span:not(:last-child):after, - > a:not(:last-child):after { - display: none; - } - - .user .username { - display: none; - } - } - } - } - } - } - } - - @media screen and (max-width: $tablet) { - .button { - width: 100%; - } - } - - .dropzone { - position: fixed; - background: rgba(250, 250, 250, 0.8); - top: 0; - left: 0; - bottom: 0; - right: 0; - z-index: 100; - text-align: center; - - &.hidden { - display: none; - } - - .drop-hint { - position: absolute; - bottom: 0; - left: 0; - right: 0; - - .icon { - width: 100%; - font-size: 5rem; - height: auto; - text-shadow: $shadow-md; - animation: bounce 2s infinite; - } - - .hint { - margin: .5rem auto 2rem; - border-radius: 2px; - box-shadow: $shadow-md; - background: $primary; - padding: 1rem; - color: $white; - width: 100%; - max-width: 300px; - } - } - } -} diff --git a/src/styles/global.scss b/src/styles/global.scss index 166c1fd66..661b9bd8b 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -1,7 +1,6 @@ @import "fonts"; @import "transitions"; -@import "animations"; // This imports are the same as in "bulma/bulma.sass" // with the expeption of the bulma utilities.