2024-05-21 01:08:45 +02:00
|
|
|
.dir-table {
|
2024-05-21 21:14:04 +02:00
|
|
|
overflow: auto;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 3px;
|
2024-05-21 01:08:45 +02:00
|
|
|
.dir-table-head {
|
|
|
|
.dir-table-head-row {
|
2024-05-21 21:14:04 +02:00
|
|
|
display: flex;
|
|
|
|
border-bottom: 2px solid var(--border-color);
|
|
|
|
padding: 4px 0;
|
2024-06-04 03:22:26 +02:00
|
|
|
background-color: var(--panel-bg-color);
|
|
|
|
|
2024-05-21 01:08:45 +02:00
|
|
|
.dir-table-head-cell {
|
2024-05-21 21:14:04 +02:00
|
|
|
position: relative;
|
|
|
|
padding: 2px 4px;
|
2024-06-04 03:22:26 +02:00
|
|
|
font-weight: bold;
|
2024-05-21 21:14:04 +02:00
|
|
|
.dir-table-head-resize {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
cursor: col-resize;
|
|
|
|
user-select: none;
|
|
|
|
touch-action: none;
|
|
|
|
width: 2px;
|
|
|
|
background: linear-gradient(var(--border-color), var(--border-color)) no-repeat center/2px 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
.dir-table-head-resize {
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
}
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dir-table-body {
|
|
|
|
.dir-table-body-row {
|
2024-05-21 21:14:04 +02:00
|
|
|
display: flex;
|
|
|
|
border-radius: 3px;
|
2024-06-04 03:22:26 +02:00
|
|
|
|
2024-05-21 01:08:45 +02:00
|
|
|
&:focus {
|
2024-05-21 21:14:04 +02:00
|
|
|
background-color: var(--accent-color);
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
2024-05-21 21:14:04 +02:00
|
|
|
|
2024-06-04 03:22:26 +02:00
|
|
|
&:hover:not(:focus) {
|
|
|
|
background-color: var(--highlight-bg-color);
|
|
|
|
}
|
|
|
|
|
2024-05-21 01:08:45 +02:00
|
|
|
.dir-table-body-cell {
|
2024-05-21 21:14:04 +02:00
|
|
|
overflow: hidden;
|
2024-05-29 09:00:36 +02:00
|
|
|
white-space: nowrap;
|
2024-05-21 21:14:04 +02:00
|
|
|
padding: 0.25rem;
|
2024-06-04 03:22:26 +02:00
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&.col-size {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2024-05-21 01:08:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|