From d5538a239924bb9e2f368aa6116bc55b761fda90 Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Fri, 6 Sep 2024 13:08:46 +0200 Subject: [PATCH] fixed column sizes --- css/apps/files.scss | 20 ++++++++++---------- css/apps/photos.scss | 16 ++++++++++++++++ src/icons.mjs | 1 + 3 files changed, 27 insertions(+), 10 deletions(-) diff --git a/css/apps/files.scss b/css/apps/files.scss index e9c9aec..02f369d 100644 --- a/css/apps/files.scss +++ b/css/apps/files.scss @@ -149,7 +149,6 @@ .button-vue__icon .files-list__column-sort-button-icon { margin-right: 4px; - margin-top: 4px; opacity: 1; } } @@ -375,10 +374,16 @@ table.files-filestable { @include files-table-columns-v28; } - &row-mtime { + &row-mtime, &row-size, &row-trashbin-original-location, &row-trashbin-deleted { min-width: 140px; text-align: right; + .files-list__column-sort-button { + padding: 0; + margin-left: 0; + margin-right: 0; + } + @include files-table-columns-v28; } } @@ -465,6 +470,9 @@ table.files-filestable { } &.files-list__row-mtime, + &.files-list__row-size, + &.files-list__row-trashbin-original-location, + &.files-list__row-trashbin-deleted, &.column-last { min-width: 140px; text-align: right; @@ -679,10 +687,6 @@ table.files-filestable { } } - .files-list__row-size { - display: none; - } - span.checkbox-radio-switch--checked { label.checkbox-radio-switch__label>span.checkbox-radio-switch__icon { @@ -730,10 +734,6 @@ table.files-filestable { justify-content: end; } - &.files-list__row-size { - display: none; - } - &.files-list__row-name.files-list__column--sortable>.files-list__row-icon { display: none; } diff --git a/css/apps/photos.scss b/css/apps/photos.scss index c9ba772..0c5f07b 100644 --- a/css/apps/photos.scss +++ b/css/apps/photos.scss @@ -605,6 +605,22 @@ } } + .photos-picker { + + .file-container { + + .favorite-marker-icon { + background-image: var(--icon-starred-yellow); + width: 32px; + height: 32px; + + svg { + display: none; + } + } + } + } + .file-picker { .dialog__wrapper { diff --git a/src/icons.mjs b/src/icons.mjs index f9641f9..6f49efc 100644 --- a/src/icons.mjs +++ b/src/icons.mjs @@ -161,6 +161,7 @@ const icons = { 'filetype-document': path.join(__dirname, '../img', 'filetypes', 'x-office-document.svg'), 'filetype-presentation': path.join(__dirname, '../img', 'filetypes', 'x-office-presentation.svg'), 'filetype-spreadsheet': path.join(__dirname, '../img', 'filetypes', 'x-office-spreadsheet.svg'), + video: path.join(__dirname, '../img', 'actions', 'play.svg'), } const iconsColor = {