FileBrowser.css
| 1 | .duplicate-warning-dialog { |
| 2 | max-width: 400px; |
| 3 | .buttons { |
| 4 | display: flex; |
| 5 | gap: 0.5rem; |
| 6 | justify-content: end; |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | .file-browser { |
| 11 | flex: 1; |
| 12 | min-width: 0; |
| 13 | height: 100%; |
| 14 | background-color: var(--color-a); |
| 15 | display: flex; |
| 16 | flex-direction: column; |
| 17 | border-right: 1px solid var(--color-c); |
| 18 | z-index: 1; |
| 19 | } |
| 20 | |
| 21 | .browser-actions { |
| 22 | display: flex; |
| 23 | align-items: center; |
| 24 | gap: 0.5rem; |
| 25 | border-bottom: 1px solid var(--color-c); |
| 26 | padding: 0.5rem; |
| 27 | |
| 28 | & > div { |
| 29 | display: flex; |
| 30 | flex-wrap: wrap; |
| 31 | gap: 0.5rem; |
| 32 | } |
| 33 | |
| 34 | & > span { |
| 35 | text-wrap: nowrap; |
| 36 | margin: 1rem; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | .filter-files { |
| 41 | border: none; |
| 42 | border-bottom: 1px solid var(--color-c); |
| 43 | } |
| 44 | |
| 45 | .file-list-wrapper { |
| 46 | position: relative; /*for loading screen*/ |
| 47 | flex: 1; |
| 48 | min-height: 0; |
| 49 | display: flex; |
| 50 | flex-direction: column; |
| 51 | & > .error { |
| 52 | display: flex; |
| 53 | width: 100%; |
| 54 | height: 100%; |
| 55 | align-items: center; |
| 56 | justify-content: center; |
| 57 | } |
| 58 | |
| 59 | & > .file-list { |
| 60 | overflow-y: auto; |
| 61 | padding: 0.5rem; |
| 62 | display: flex; |
| 63 | flex-direction: column; |
| 64 | gap: 0.25rem; |
| 65 | |
| 66 | & > .directory-item, |
| 67 | & > .file-item { |
| 68 | padding: 0.5rem; |
| 69 | background-color: var(--color-c); |
| 70 | display: flex; |
| 71 | gap: 1.5rem; |
| 72 | align-items: center; |
| 73 | @media (hover: hover) { |
| 74 | &:hover { |
| 75 | background-color: var(--color-c-highlight); |
| 76 | } |
| 77 | } |
| 78 | & > span { |
| 79 | min-width: 0; |
| 80 | margin-right: auto; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | & > .directory-item { |
| 85 | font-weight: bold; |
| 86 | cursor: pointer; |
| 87 | & > .download-button-wrapper { |
| 88 | display: flex; |
| 89 | flex-direction: column; |
| 90 | align-items: center; |
| 91 | line-height: 0.5rem; |
| 92 | font-size: 12px; |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | .breadcrumb { |
| 99 | padding: 0.5rem; |
| 100 | border-bottom: 1px solid var(--color-c); |
| 101 | display: flex; |
| 102 | flex-wrap: wrap; |
| 103 | |
| 104 | &.breadcrumb-nowrap { |
| 105 | flex-wrap: nowrap; |
| 106 | text-wrap: nowrap; |
| 107 | & > span { |
| 108 | text-overflow: ellipsis; |
| 109 | overflow: hidden; |
| 110 | flex: 1; |
| 111 | max-width: fit-content; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | gap: 0.5rem; |
| 116 | & > span { |
| 117 | cursor: pointer; |
| 118 | color: var(--color-d); |
| 119 | @media (hover: hover) { |
| 120 | &:hover { |
| 121 | text-decoration: underline; |
| 122 | } |
| 123 | } |
| 124 | } |
| 125 | & > .toggle-browser-actions { |
| 126 | margin-left: auto; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | @media (max-width: 750px) { |
| 131 | .file-browser { |
| 132 | z-index: 1; |
| 133 | position: absolute; |
| 134 | width: 100%; |
| 135 | box-shadow: 0 0 40px rgba(0, 0, 0, 0.8); |
| 136 | } |
| 137 | |
| 138 | .hidden { |
| 139 | display: none; |
| 140 | } |
| 141 | } |
| 142 |