1170 lines
21 KiB
CSS
1170 lines
21 KiB
CSS
/* Files manager */
|
|
.file-manager-page.file-manager-fullscreen {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 1fr;
|
|
height: calc(100vh - 115px);
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.file-manager-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-header);
|
|
}
|
|
|
|
.file-manager-toolbar .button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.file-manager-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
|
|
min-height: 0;
|
|
height: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background: var(--panel);
|
|
}
|
|
|
|
.file-tree-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
border-right: 1px solid var(--line);
|
|
background: linear-gradient(180deg, var(--panel-soft), var(--panel));
|
|
}
|
|
|
|
.file-tree-heading {
|
|
flex: 0 0 auto;
|
|
padding: 13px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: .05em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.file-tree-list {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 0px 0px 16px;
|
|
}
|
|
|
|
.file-tree-space + .file-tree-space {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.file-tree-node-wrap {
|
|
display: grid;
|
|
grid-template-columns: 26px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 2px;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.file-tree-node,
|
|
.file-tree-select,
|
|
.file-tree-toggle {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.file-tree-toggle {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 26px;
|
|
height: 32px;
|
|
border-radius: 0px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.file-tree-toggle:disabled {
|
|
cursor: default;
|
|
opacity: .55;
|
|
}
|
|
|
|
.file-tree-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
padding: 8px 9px;
|
|
border-radius: 0px;
|
|
font: inherit;
|
|
text-align: left;
|
|
user-select: none;
|
|
}
|
|
|
|
.file-tree-node span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-tree-root {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.file-tree-select {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 999px;
|
|
color: var(--text-strong);
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.file-tree-node-wrap:hover,
|
|
.file-tree-node-wrap:focus-within,
|
|
.file-tree-node-wrap.is-active,
|
|
.file-tree-root:hover:not(:disabled),
|
|
.file-tree-root:focus-visible,
|
|
.file-tree-root.is-active {
|
|
background: var(--line);
|
|
outline: none;
|
|
}
|
|
|
|
.file-tree-node:focus-visible,
|
|
.file-tree-toggle:focus-visible,
|
|
.file-tree-select:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
.file-tree-node-wrap.is-drop-target,
|
|
.file-tree-root.is-drop-target {
|
|
background: var(--line);
|
|
box-shadow: inset 0 0 0 2px var(--line-dark);
|
|
}
|
|
|
|
.file-tree-node-wrap.is-selected .file-tree-select {
|
|
background: #0d6efd;
|
|
color: #fff;
|
|
}
|
|
|
|
.file-tree-children {
|
|
display: grid;
|
|
gap: 1px;
|
|
}
|
|
|
|
.file-list-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
background: var(--panel);
|
|
}
|
|
|
|
.file-list-sticky {
|
|
flex: 0 0 auto;
|
|
z-index: 2;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.file-breadcrumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-height: 32px;
|
|
padding: 10px 14px 6px;
|
|
}
|
|
|
|
.file-breadcrumb,
|
|
.file-breadcrumb-segment {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.file-breadcrumb {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-strong);
|
|
cursor: pointer;
|
|
font-weight: 800;
|
|
padding: 4px 6px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.file-breadcrumb:hover:not(:disabled),
|
|
.file-breadcrumb:focus-visible {
|
|
background: var(--panel);
|
|
outline: none;
|
|
}
|
|
|
|
.file-search-row {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(180px, 1fr) auto auto auto;
|
|
gap: 18px;
|
|
align-items: center;
|
|
padding: 4px 0 10px 14px;
|
|
}
|
|
|
|
.file-list-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
padding: 8px 14px;
|
|
border-top: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.file-list-drop-target {
|
|
position: relative;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
transition: background-color .16s ease, box-shadow .16s ease;
|
|
}
|
|
|
|
.file-list-drop-target.is-active,
|
|
.file-list-drop-target.is-drop-target {
|
|
background: var(--line);
|
|
box-shadow: inset 0 0 0 2px var(--line-dark);
|
|
}
|
|
|
|
.file-list-table {
|
|
min-width: 760px;
|
|
}
|
|
|
|
.file-list-table-head,
|
|
.file-list-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 1fr) 120px 240px;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.file-list-table-head {
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--line);
|
|
background: var(--panel);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.file-list-table-head button {
|
|
justify-self: start;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: inherit;
|
|
letter-spacing: inherit;
|
|
padding: 0;
|
|
text-transform: inherit;
|
|
}
|
|
|
|
.file-list-table-head button:hover,
|
|
.file-list-table-head button:focus-visible {
|
|
color: var(--text-strong);
|
|
outline: none;
|
|
}
|
|
|
|
.file-list-row {
|
|
min-height: 58px;
|
|
padding: 9px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
|
|
.file-list-row:focus-visible {
|
|
outline: 2px solid var(--line-dark);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.file-list-row:hover,
|
|
.file-list-row.is-selected {
|
|
background: var(--line);
|
|
}
|
|
|
|
.file-list-row.is-drop-target {
|
|
background: var(--line);
|
|
box-shadow: inset 0 0 0 2px var(--line-dark);
|
|
}
|
|
|
|
.file-parent-row.is-disabled {
|
|
color: var(--muted);
|
|
cursor: default;
|
|
opacity: .58;
|
|
}
|
|
|
|
.file-parent-row.is-disabled:hover {
|
|
background: transparent;
|
|
}
|
|
|
|
.file-list-name-cell {
|
|
min-width: 0;
|
|
}
|
|
|
|
.file-list-name {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: default;
|
|
font: inherit;
|
|
text-align: left;
|
|
padding: 0;
|
|
}
|
|
|
|
.file-list-name > span {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 2px;
|
|
}
|
|
|
|
.file-list-name strong,
|
|
.file-list-name small {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-list-name small {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.file-linkage-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.file-linkage-status.is-linked {
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.file-row-icon {
|
|
color: var(--muted);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.folder-row .file-row-icon {
|
|
color: #b6791d;
|
|
}
|
|
|
|
.file-row-tail {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.file-list-empty {
|
|
padding: 36px 20px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.file-list-virtual-spacer {
|
|
min-height: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.file-context-menu {
|
|
position: fixed;
|
|
z-index: 110;
|
|
display: grid;
|
|
min-width: 190px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--line-dark);
|
|
border-radius: 12px;
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow-popover);
|
|
padding: 6px;
|
|
}
|
|
|
|
.file-context-menu button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
padding: 9px 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.file-context-menu button:hover,
|
|
.file-context-menu button:focus-visible {
|
|
background: rgba(13, 110, 253, .08);
|
|
outline: none;
|
|
}
|
|
|
|
.file-context-menu button.danger {
|
|
color: var(--danger-text);
|
|
}
|
|
|
|
|
|
.file-dialog-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 22px;
|
|
background: rgba(28, 25, 22, .38);
|
|
}
|
|
|
|
.file-dialog {
|
|
width: min(620px, 100%);
|
|
max-height: min(720px, calc(100vh - 44px));
|
|
overflow: auto;
|
|
border: 1px solid var(--line-dark);
|
|
border-radius: 16px;
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow-popover);
|
|
}
|
|
|
|
.file-dialog-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 15px 18px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.file-dialog-header h3,
|
|
.file-dialog-header .file-dialog-title {
|
|
margin: 0;
|
|
color: var(--text-strong);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.file-dialog-header button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font-size: 26px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.file-dialog-body {
|
|
display: grid;
|
|
gap: 16px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.field-error {
|
|
color: var(--danger-text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.inline-link-button {
|
|
justify-self: start;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--accent);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
padding: 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.inline-link-button:hover,
|
|
.inline-link-button:focus-visible {
|
|
text-decoration: underline;
|
|
outline: none;
|
|
}
|
|
|
|
|
|
.file-search-row .toggle-switch-row {
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-folder-selector {
|
|
display: grid;
|
|
gap: 2px;
|
|
max-height: 290px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
scrollbar-gutter: stable;
|
|
padding: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.file-folder-selector-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 0;
|
|
border-radius: 9px;
|
|
background: transparent;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.file-folder-selector-node span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-folder-selector-node:hover:not(:disabled),
|
|
.file-folder-selector-node:focus-visible,
|
|
.file-folder-selector-node.is-selected {
|
|
background: rgba(13, 110, 253, .09);
|
|
outline: none;
|
|
}
|
|
|
|
.file-folder-selector-node.is-selected {
|
|
color: var(--text-strong);
|
|
box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .25);
|
|
}
|
|
|
|
.file-folder-selector-empty {
|
|
padding: 6px 10px 2px;
|
|
}
|
|
|
|
.file-folder-selector-children {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
@media (max-width: 1050px) {
|
|
.file-manager-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.file-tree-panel {
|
|
max-height: 260px;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.file-list-table-head {
|
|
display: none;
|
|
}
|
|
|
|
.file-list-table {
|
|
min-width: 0;
|
|
}
|
|
|
|
.file-list-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.file-search-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.file-manager-shell.is-loading .file-tree-panel,
|
|
.file-manager-shell.is-loading .file-list-panel {
|
|
filter: blur(1.5px);
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.file-manager-loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 35;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(255, 255, 255, .12);
|
|
backdrop-filter: blur(1px);
|
|
}
|
|
|
|
.file-conflict-summary {
|
|
display: grid;
|
|
gap: 3px;
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.file-conflict-summary span {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.file-conflict-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
max-height: 320px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.file-conflict-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 140px minmax(180px, 1fr);
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.file-conflict-row > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.file-conflict-row small,
|
|
.file-conflict-row code {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-conflict-row small {
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.file-conflict-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.rename-preview-panel {
|
|
max-height: min(360px, 42vh);
|
|
overflow-y: auto;
|
|
padding-right: 4px;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
.rename-preview-more {
|
|
display: block;
|
|
width: 100%;
|
|
border: 1px dashed var(--line-dark);
|
|
border-radius: 6px;
|
|
background: var(--panel-soft);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
padding: 10px 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.rename-preview-more:hover,
|
|
.rename-preview-more:focus-visible {
|
|
border-color: rgba(13, 110, 253, .45);
|
|
background: rgba(13, 110, 253, .08);
|
|
color: var(--text-strong);
|
|
outline: none;
|
|
}
|
|
|
|
/* Managed file chooser exposed through the files.fileExplorer capability. */
|
|
.managed-file-chooser-dialog {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
width: min(1080px, calc(100vw - 40px));
|
|
height: min(820px, calc(100vh - 40px));
|
|
max-height: min(820px, calc(100vh - 40px));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.managed-file-chooser-dialog > .dialog-header {
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.managed-file-chooser-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
.managed-file-chooser-body > .alert {
|
|
margin: 14px 14px 0;
|
|
}
|
|
|
|
.managed-file-chooser-footer {
|
|
flex: 0 0 auto;
|
|
padding: 12px 18px;
|
|
border-top: 1px solid var(--line);
|
|
background: var(--panel);
|
|
box-shadow: 0 -8px 24px rgba(15, 23, 42, .06);
|
|
}
|
|
|
|
.managed-file-chooser-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
max-height: none;
|
|
border: 0;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background: var(--panel);
|
|
}
|
|
|
|
.managed-file-chooser-spaces {
|
|
min-width: 0;
|
|
padding: 16px;
|
|
border-right: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
overflow: auto;
|
|
}
|
|
|
|
.managed-file-chooser-spaces.file-tree-panel {
|
|
display: flex;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.managed-file-chooser-spaces .file-tree-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.managed-file-chooser-spaces .file-tree-space.is-active {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.managed-file-chooser-spaces h3 {
|
|
margin: 0 0 12px;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .04em;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.managed-file-space-list {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.managed-file-space-button,
|
|
.managed-file-entry {
|
|
width: 100%;
|
|
border: 1px solid transparent;
|
|
border-radius: 9px;
|
|
background: transparent;
|
|
color: var(--ink);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.managed-file-space-button {
|
|
display: grid;
|
|
grid-template-columns: 20px minmax(0, 1fr);
|
|
gap: 9px;
|
|
align-items: start;
|
|
padding: 9px;
|
|
}
|
|
|
|
.managed-file-space-button span,
|
|
.managed-file-entry > span:not(.managed-file-shared-badge) {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.managed-file-space-button small,
|
|
.managed-file-entry small {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.managed-file-space-button:hover:not(:disabled),
|
|
.managed-file-space-button.is-selected {
|
|
border-color: var(--line-dark);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.managed-file-space-button.is-selected {
|
|
border-color: var(--accent);
|
|
box-shadow: inset 3px 0 0 var(--accent);
|
|
}
|
|
|
|
.managed-file-space-button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .45;
|
|
}
|
|
|
|
.managed-file-chooser-browser {
|
|
display: grid;
|
|
grid-template-rows: auto auto minmax(0, 1fr) auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.managed-file-chooser-browser.folder-mode {
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
}
|
|
|
|
.managed-file-chooser-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.managed-file-breadcrumb {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.managed-file-breadcrumb > button,
|
|
.managed-file-breadcrumb span button {
|
|
display: inline-flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--ink);
|
|
padding: 5px 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.managed-file-breadcrumb button:hover:not(:disabled) {
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.managed-pattern-editor {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.managed-pattern-editor label {
|
|
display: grid;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.managed-file-entry-table {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.managed-file-entry-head,
|
|
.managed-file-entry {
|
|
grid-template-columns: 22px minmax(0, 1fr) 110px 160px;
|
|
}
|
|
|
|
.managed-file-entry-head {
|
|
display: grid;
|
|
gap: 9px;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.managed-file-entry-head button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 5px;
|
|
width: max-content;
|
|
max-width: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
padding: 5px 0;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.managed-file-entry-head button.is-sorted {
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.managed-file-entry-list {
|
|
display: block;
|
|
padding: 10px;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.managed-file-entry {
|
|
display: grid;
|
|
gap: 9px;
|
|
align-items: center;
|
|
min-height: 52px;
|
|
padding: 8px 10px;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.managed-file-entry:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.managed-file-entry:hover:not(:disabled) {
|
|
border-color: var(--line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.managed-file-entry.is-selected {
|
|
border-color: var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.managed-file-entry:disabled {
|
|
color: var(--ink);
|
|
opacity: 1;
|
|
cursor: default;
|
|
}
|
|
|
|
.managed-file-entry.is-folder:not(:disabled) {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.managed-file-entry.is-context-only {
|
|
opacity: .56;
|
|
}
|
|
|
|
.managed-file-entry.is-parent:disabled {
|
|
opacity: .38;
|
|
}
|
|
|
|
.managed-file-entry-name {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.managed-file-entry-name strong,
|
|
.managed-file-entry-name small {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.managed-file-entry-name small {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.managed-file-entry-size,
|
|
.managed-file-entry-modified {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.managed-file-shared-badge {
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
border: 1px solid var(--success-line, var(--line));
|
|
border-radius: 999px;
|
|
padding: 3px 7px;
|
|
color: var(--success, var(--muted));
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.managed-file-empty {
|
|
padding: 28px 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.managed-file-virtual-spacer {
|
|
min-height: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.managed-file-tree-virtual-list {
|
|
flex: 1 1 auto;
|
|
min-height: 80px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.managed-file-chooser-note {
|
|
margin: 0;
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.managed-pattern-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.managed-pattern-results {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.managed-pattern-results .file-list-table {
|
|
min-width: 680px;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.managed-pattern-result-row {
|
|
width: 100%;
|
|
border-top: 0;
|
|
border-right: 0;
|
|
border-left: 0;
|
|
background: transparent;
|
|
color: var(--ink);
|
|
text-align: left;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.managed-pattern-result-row .file-list-name > span {
|
|
display: grid;
|
|
min-width: 0;
|
|
}
|
|
|
|
.managed-pattern-result-row .file-list-name strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.managed-pattern-result-row .file-list-name small {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.managed-pattern-rendered {
|
|
display: block;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.split-field-action {
|
|
gap: 0;
|
|
}
|
|
|
|
.split-field-action > input,
|
|
.split-field-action > select,
|
|
.split-field-action > textarea {
|
|
border-top-right-radius: 0 !important;
|
|
border-bottom-right-radius: 0 !important;
|
|
}
|
|
|
|
.split-field-action > button,
|
|
.split-field-action > .button,
|
|
.split-field-action > .btn {
|
|
align-self: stretch;
|
|
margin-left: -1px;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
@media (max-width: 850px) {
|
|
.managed-file-entry-head,
|
|
.managed-file-entry {
|
|
grid-template-columns: 22px minmax(0, 1fr) 100px;
|
|
}
|
|
|
|
.managed-file-entry-head > :last-child,
|
|
.managed-file-entry-modified {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.managed-file-chooser-dialog {
|
|
width: calc(100vw - 20px);
|
|
height: calc(100vh - 20px);
|
|
}
|
|
|
|
.managed-file-chooser-layout {
|
|
grid-template-columns: 1fr;
|
|
max-height: calc(100vh - 220px);
|
|
}
|
|
|
|
.managed-file-chooser-spaces {
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
max-height: 160px;
|
|
}
|
|
|
|
.managed-file-chooser-toolbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
}
|