2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-container {
|
2024-05-21 21:14:04 +02:00
|
|
|
width: 100%;
|
2024-07-03 23:34:55 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
.dir-table {
|
|
|
|
height: 100%;
|
|
|
|
--col-size-size: 0.2rem;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
.dir-table-head {
|
|
|
|
.dir-table-head-row {
|
2024-06-25 21:37:58 +02:00
|
|
|
display: flex;
|
2024-07-03 23:34:55 +02:00
|
|
|
border-bottom: 2px solid var(--border-color);
|
|
|
|
padding: 4px 0;
|
|
|
|
background-color: var(--panel-bg-color);
|
2024-05-21 21:14:04 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-head-cell:not(:first-child) {
|
|
|
|
position: relative;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-weight: bold;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
overflow: hidden;
|
2024-05-21 21:14:04 +02:00
|
|
|
.dir-table-head-resize {
|
2024-07-03 23:34:55 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
cursor: col-resize;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
touch-action: none;
|
|
|
|
width: 4px;
|
|
|
|
background: linear-gradient(var(--border-color), var(--border-color)) no-repeat center/2px 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dir-table-head-direction {
|
|
|
|
color: var(--grey-text-color);
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
margin-top: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
.dir-table-head-resize {
|
|
|
|
width: 0;
|
|
|
|
}
|
2024-05-21 21:14:04 +02:00
|
|
|
}
|
|
|
|
}
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-body {
|
|
|
|
flex: 1 1 auto;
|
2024-05-21 21:14:04 +02:00
|
|
|
display: flex;
|
2024-07-03 23:34:55 +02:00
|
|
|
flex-direction: column;
|
|
|
|
.dir-table-body-search-display {
|
|
|
|
display: flex;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
background-color: var(--warning-color);
|
2024-06-27 21:30:08 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.search-display-close-button {
|
|
|
|
margin-left: auto;
|
2024-06-27 21:30:08 +02:00
|
|
|
}
|
2024-06-27 01:59:45 +02:00
|
|
|
}
|
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-body-scroll-box {
|
|
|
|
position: relative;
|
|
|
|
overflow-y: auto;
|
|
|
|
.dummy {
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.dir-table-body-row {
|
|
|
|
display: flex;
|
|
|
|
border-radius: 3px;
|
2024-06-27 21:30:08 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
&.focused {
|
|
|
|
background-color: rgb(from var(--accent-color) r g b / 0.7);
|
2024-06-27 21:30:08 +02:00
|
|
|
color: var(--main-text-color);
|
2024-07-03 23:34:55 +02:00
|
|
|
|
|
|
|
.dir-table-body-cell {
|
|
|
|
.dir-table-lastmod,
|
|
|
|
.dir-table-modestr,
|
|
|
|
.dir-table-size,
|
|
|
|
.dir-table-type {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
}
|
2024-06-27 21:30:08 +02:00
|
|
|
}
|
2024-05-21 21:14:04 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
&:focus {
|
|
|
|
background-color: rgb(from var(--accent-color) r g b / 0.7);
|
|
|
|
color: var(--main-text-color);
|
|
|
|
|
|
|
|
.dir-table-body-cell {
|
|
|
|
.dir-table-lastmod,
|
|
|
|
.dir-table-modestr,
|
|
|
|
.dir-table-size,
|
|
|
|
.dir-table-type {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-06-04 03:22:26 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
&:hover:not(:focus):not(.focused) {
|
|
|
|
background-color: var(--highlight-bg-color);
|
|
|
|
}
|
2024-06-04 03:22:26 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-body-cell {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding: 0.25rem;
|
|
|
|
cursor: default;
|
2024-06-26 18:31:43 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
&.col-size {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dir-table-lastmod,
|
|
|
|
.dir-table-modestr,
|
|
|
|
.dir-table-size,
|
|
|
|
.dir-table-type {
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
}
|
|
|
|
}
|
2024-06-26 18:31:43 +02:00
|
|
|
}
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-07-03 23:34:55 +02:00
|
|
|
|
|
|
|
.dir-table-search-line {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
gap: 0.7rem;
|
|
|
|
|
|
|
|
.dir-table-search-box {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
2024-06-27 01:59:45 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
.dir-table-button {
|
|
|
|
background-color: transparent;
|
2024-06-27 01:59:45 +02:00
|
|
|
display: flex;
|
2024-07-03 23:34:55 +02:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0.2rem;
|
|
|
|
border-radius: 6px;
|
2024-06-27 01:59:45 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
input {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
padding: 0;
|
2024-06-27 01:59:45 +02:00
|
|
|
border: none;
|
2024-07-03 23:34:55 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2024-06-27 01:59:45 +02:00
|
|
|
|
2024-07-03 23:34:55 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--highlight-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--highlight-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
background-color: var(--highlight-bg-color);
|
2024-06-27 01:59:45 +02:00
|
|
|
}
|
|
|
|
}
|