131 lines
2.2 KiB
CSS
131 lines
2.2 KiB
CSS
|
|
file-tree-panel {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 100%;
|
||
|
|
background: #0f1117;
|
||
|
|
color: #c8cbde;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 4px;
|
||
|
|
padding: 4px 8px;
|
||
|
|
border-bottom: 1px solid #2a2d3a;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-btn {
|
||
|
|
padding: 2px 6px;
|
||
|
|
background: transparent;
|
||
|
|
border: 1px solid #2a2d3a;
|
||
|
|
border-radius: 3px;
|
||
|
|
color: #666;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 0.7rem;
|
||
|
|
font-family: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-btn:hover { color: #aaa; background: #1a1d27; border-color: #444; }
|
||
|
|
|
||
|
|
.ftp-inline-create {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 4px;
|
||
|
|
padding: 8px;
|
||
|
|
background: #13151f;
|
||
|
|
border-bottom: 1px solid #2a2d3a;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-inline-label {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: #666;
|
||
|
|
font-style: italic;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-rename-input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 4px 6px;
|
||
|
|
background: #0f1117;
|
||
|
|
border: 1px solid #7c8cff;
|
||
|
|
border-radius: 3px;
|
||
|
|
color: #e2e4ed;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
font-family: inherit;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-inline-create .ftp-btn {
|
||
|
|
align-self: flex-start;
|
||
|
|
display: inline-block;
|
||
|
|
margin-right: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-tree {
|
||
|
|
flex: 1;
|
||
|
|
overflow-y: auto;
|
||
|
|
padding: 4px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-list {
|
||
|
|
list-style: none;
|
||
|
|
padding: 0;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-list .ftp-list {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-dir.open > .ftp-list {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-dir-label {
|
||
|
|
display: block;
|
||
|
|
padding: 3px 8px 3px calc(8px + var(--depth, 0) * 12px);
|
||
|
|
cursor: pointer;
|
||
|
|
color: #7b7f96;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-dir-label:hover { color: #c8cbde; }
|
||
|
|
|
||
|
|
.ftp-dir.open > .ftp-dir-label { color: #c8cbde; }
|
||
|
|
|
||
|
|
.ftp-file {
|
||
|
|
padding: 3px 8px 3px calc(20px + var(--depth, 0) * 12px);
|
||
|
|
cursor: pointer;
|
||
|
|
color: #9ba4c7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-file:hover { background: #1a1d27; color: #e2e4ed; }
|
||
|
|
.ftp-file.active { background: #1e2235; color: #7c8cff; }
|
||
|
|
.ftp-dir-label.active { background: #1e2235; color: #c8cbde; }
|
||
|
|
|
||
|
|
.ftp-type-error {
|
||
|
|
padding: 6px 10px;
|
||
|
|
color: #e07070;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
background: #1e1520;
|
||
|
|
border-bottom: 1px solid #3a2a2a;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-empty {
|
||
|
|
display: block;
|
||
|
|
padding: 12px;
|
||
|
|
color: #555;
|
||
|
|
font-style: italic;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-up {
|
||
|
|
padding: 4px 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
color: #666;
|
||
|
|
font-size: 0.8rem;
|
||
|
|
font-style: italic;
|
||
|
|
border-bottom: 1px solid #1e2030;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ftp-up:hover { color: #c8cbde; background: #1a1d27; }
|