diff options
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/FilesListVirtual.vue | 7 | ||||
-rw-r--r-- | apps/files/src/components/LegacyView.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/TemplatePreview.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 3 | ||||
-rw-r--r-- | apps/files/src/views/Navigation.vue | 20 | ||||
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 2 | ||||
-rw-r--r-- | apps/files/src/views/TemplatePicker.vue | 4 |
7 files changed, 17 insertions, 23 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue index 95bd0f6c571..d4c3d9495b7 100644 --- a/apps/files/src/components/FilesListVirtual.vue +++ b/apps/files/src/components/FilesListVirtual.vue @@ -350,7 +350,6 @@ export default defineComponent({ --icon-preview-size: 32px; --fixed-block-start-position: var(--default-clickable-area); - overflow: auto; height: 100%; will-change: scroll-position; @@ -453,7 +452,6 @@ export default defineComponent({ display: flex; align-items: center; width: 100%; - user-select: none; border-block-end: 1px solid var(--color-border); box-sizing: border-box; user-select: none; @@ -764,7 +762,6 @@ tbody.files-list__tbody.files-list__tbody--grid { --row-width: calc(var(--icon-preview-size) + var(--item-padding) * 2); --row-height: calc(var(--icon-preview-size) + var(--name-height) + var(--mtime-height) + var(--item-padding) * 2); --checkbox-padding: 0px; - display: grid; grid-template-columns: repeat(auto-fill, var(--row-width)); @@ -787,8 +784,8 @@ tbody.files-list__tbody.files-list__tbody--grid { .files-list__row-checkbox { position: absolute; z-index: 9; - top: calc(var(--item-padding)/2); - inset-inline-start: calc(var(--item-padding)/2); + top: calc(var(--item-padding) / 2); + inset-inline-start: calc(var(--item-padding) / 2); overflow: hidden; --checkbox-container-size: 44px; width: var(--checkbox-container-size); diff --git a/apps/files/src/components/LegacyView.vue b/apps/files/src/components/LegacyView.vue index b3ec4095fc2..d9baeeb1b07 100644 --- a/apps/files/src/components/LegacyView.vue +++ b/apps/files/src/components/LegacyView.vue @@ -38,5 +38,3 @@ export default { }, } </script> -<style> -</style> diff --git a/apps/files/src/components/TemplatePreview.vue b/apps/files/src/components/TemplatePreview.vue index 57af0bf9b64..46e141c6b3b 100644 --- a/apps/files/src/components/TemplatePreview.vue +++ b/apps/files/src/components/TemplatePreview.vue @@ -198,7 +198,7 @@ export default { &__title { overflow: hidden; // also count preview border - max-width: calc(var(--width) + 2*2px); + max-width: calc(var(--width) + 2 * 2px); padding: var(--margin); white-space: nowrap; text-overflow: ellipsis; diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 5496c9edc92..6b8e0eb77ba 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -206,10 +206,12 @@ export default { .middle-align { vertical-align: middle; } + p { margin-top: 12px; margin-bottom: 12px; } + .new-owner-row { display: flex; flex-wrap: wrap; @@ -229,6 +231,7 @@ p { max-width: 280px; } } + .transfer-select-row { span { margin-inline-end: 8px; diff --git a/apps/files/src/views/Navigation.vue b/apps/files/src/views/Navigation.vue index 9570cb1be66..1420e8e1d9e 100644 --- a/apps/files/src/views/Navigation.vue +++ b/apps/files/src/views/Navigation.vue @@ -201,19 +201,15 @@ export default defineComponent({ </script> <style scoped lang="scss"> -// TODO: remove when https://github.com/nextcloud/nextcloud-vue/pull/3539 is in -.app-navigation::v-deep .app-navigation-entry-icon { - background-repeat: no-repeat; - background-position: center; -} - -.app-navigation::v-deep .app-navigation-entry.active .button-vue.icon-collapse:not(:hover) { - color: var(--color-primary-element-text); -} +.app-navigation { + :deep(.app-navigation-entry.active .button-vue.icon-collapse:not(:hover)) { + color: var(--color-primary-element-text); + } -.app-navigation > ul.app-navigation__list { - // Use flex gap value for more elegant spacing - padding-bottom: var(--default-grid-baseline, 4px); + > ul.app-navigation__list { + // Use flex gap value for more elegant spacing + padding-bottom: var(--default-grid-baseline, 4px); + } } .app-navigation-entry__settings { diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index ca7afac7780..6bf558181d2 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -612,7 +612,7 @@ export default { } .svg-icon { - ::v-deep svg { + :deep(svg) { width: 20px; height: 20px; fill: currentColor; diff --git a/apps/files/src/views/TemplatePicker.vue b/apps/files/src/views/TemplatePicker.vue index a62b6f76c6a..f3c7aadf2e2 100644 --- a/apps/files/src/views/TemplatePicker.vue +++ b/apps/files/src/views/TemplatePicker.vue @@ -313,7 +313,7 @@ export default defineComponent({ padding: calc(var(--margin) * 2) var(--margin); position: sticky; bottom: 0; - background-image: linear-gradient(0, var(--gradient-main-background)); + background-image: linear-gradient(0deg, var(--gradient-main-background)); button, input[type='submit'] { height: 44px; @@ -321,7 +321,7 @@ export default defineComponent({ } // Make sure we're relative for the loading emptycontent on top - ::v-deep .modal-container { + :deep(.modal-container) { position: relative; } |