1 @import '~@proton/styles/scss/lib';
3 .file-browser-header-checkbox-cell,
4 .file-browser-list-checkbox-cell {
5 position: relative; // Because of .expand-click-area
7 inline-size: calc(#{rem(16)} + 2em);
10 .file-browser-header-sort-cell {
16 block-size: rem(44); // set height for thead as well
20 .file-browser-table .filebrowser-list-header-name-cell,
21 .file-browser-table .filebrowser-list-device-name-cell {
22 padding-inline-start: 1em;
25 // in this case, we can remove focus, that is visible via selected row
26 .file-browser-list-item {
33 .file-browser--options-focus {
34 background-color: var(--button-hover-background-color);
35 color: var(--button-hover-text-color);
38 .file-browser-grid-item {
40 background-color: var(--background-norm);
45 background-color: var(--background-weak);
49 outline: 0; // not needed, provided by file-browser-grid-item--highlight
53 .file-browser-grid-item.file-browser-grid-item--highlight {
54 background-color: var(--background-strong);
57 .file-browser-grid-item--thumbnail {
63 .file-browser-grid-item--container {
67 .file-browser-grid-item--select {
69 inset-block-start: 0.2em;
70 inset-inline-start: 0.2em;
73 .file-browser-grid-item--file-name {
79 // On the side is small options button.
81 padding-inline: rem(40);
84 .file-browser-grid-view--signature-icon {
86 inset-inline-start: rem(4);
90 .file-browser-grid-view--options {
92 inset-inline-end: rem(4);
93 inset-block-end: rem(8);
96 .file-browser-list--context-menu-column {
97 inline-size: rem(48); // To fit one small icon + spacing around.
100 .file-browser-list--icon-column {
106 .file-browser-list-item--thumbnail {
113 // Disable drag on image to properly propagate event for drag & drop of item itself.
114 .file-browser-grid-item--thumbnail,
115 .file-browser-list-item--thumbnail {
116 -webkit-user-drag: none;
117 -khtml-user-drag: none;
118 -moz-user-drag: none;
120 user-drag: none; // stylelint-disable-line property-no-unknown
123 .file-browser-list-item--invitation .file-browser-list-item--icon,
124 .file-browser-grid-item--invitation .file-browser-grid-item--icon {
125 filter: grayscale(100%);
128 .file-browser-list-item--accept-decline-cell {
129 inline-size: calc(100% / 6);
132 .file-browser-list-item--decline {
136 // This is the size where Accept / Decline buttons can fit in the list view
137 @include media('>=#{em(1280, 16)}') {
138 body:not(.drawer-is-open) {
139 .file-browser-list-item--accept-decline-cell {
140 inline-size: calc(100% / 6 + 3rem);
143 .file-browser-list-item--decline {
147 .file-browser-list-item--invitation .file-browser-list--context-menu-column {