Skip to content

Commit

Permalink
fixed action menus
Browse files Browse the repository at this point in the history
  • Loading branch information
memurats committed Aug 28, 2024
1 parent f6f97a7 commit 477a491
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
6 changes: 5 additions & 1 deletion css/apps/files-right-click.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
&[data-cy-files-list-row-action="details"],
&[data-cy-files-list-row-action="edit-locally"],
&[data-cy-files-list-row-action="view"],
&[data-cy-files-list-row-action="cancel_select"] {
&[data-cy-files-list-row-action="cancel_select"],
&[data-cy-files-list-row-action="sharing-status"],
&[data-cy-files-list-row-action="sharing-status-magentacloud"],
&[data-cy-files-list-row-action="office-open-pdf"]
{
display: none;
}

Expand Down
16 changes: 16 additions & 0 deletions css/components/ncactions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@
.icon-vue {
background-image: var(--icon-folder-dark);
}

.icon-filetype-draw {
background-image: var(--icon-filetype-diagram-dark);
}

.icon-filetype-document {
background-image: var(--icon-filetype-document-dark);
}

.icon-filetype-presentation {
background-image: var(--icon-filetype-presentation-dark);
}

.icon-filetype-spreadsheet {
background-image: var(--icon-filetype-spreadsheet-dark);
}
}

&:hover {
Expand Down
9 changes: 8 additions & 1 deletion css/components/ncappnavigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

// hide Collapse buttons
&--collapsible button.icon-collapse{
&--collapsible button.icon-collapse {
display: none;
}

Expand All @@ -99,6 +99,13 @@
}
}
}

&--collapsible[data-cy-files-navigation-item=favorites] {
// hide every subentry
ul.app-navigation-entry__children {
display: none !important;
}
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/icons.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ const icons = {
'arrow-next': path.join(__dirname, '../img', 'breadcrumb-arrow.svg'),
filter: path.join(__dirname, '../img', 'actions', 'filter.svg'),
calendar: path.join(__dirname, '../img', 'content', 'calendar.svg'),
'filetype-diagram': path.join(__dirname, '../img', 'filetypes', 'x-office-drawing.svg'),
'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'),
}

const iconsColor = {
Expand Down

0 comments on commit 477a491

Please sign in to comment.