2026-02-21 00:19:04 +01:00
|
|
|
/* Styles for the recent files feature */
|
|
|
|
|
|
|
|
|
|
/* Recent indicator */
|
|
|
|
|
.recent-indicator {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10px;
|
|
|
|
|
right: 10px;
|
|
|
|
|
width: 25px;
|
|
|
|
|
height: 25px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border-radius: 50%;
|
2026-04-08 11:03:20 +02:00
|
|
|
color: var(--color-recent-muted);
|
2026-02-21 00:19:04 +01:00
|
|
|
z-index: 5;
|
|
|
|
|
|
2026-04-07 22:48:59 +02:00
|
|
|
[dir="rtl"] & {
|
2026-02-21 00:19:04 +01:00
|
|
|
left: 10px;
|
|
|
|
|
right: unset;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styles for the recent view items */
|
|
|
|
|
.recent-item {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Adjustments for grid view */
|
2026-04-03 17:58:14 +02:00
|
|
|
.files-grid-view .file-item.recent-item {
|
2026-04-08 11:03:20 +02:00
|
|
|
border-left: 3px solid var(--color-recent-border);
|
2026-02-21 00:19:04 +01:00
|
|
|
|
2026-04-07 22:48:59 +02:00
|
|
|
[dir="rtl"] & {
|
2026-04-08 11:03:20 +02:00
|
|
|
border-right: 3px solid var(--color-recent-border);
|
2026-02-21 00:19:04 +01:00
|
|
|
border-left: unset;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Adjustments for list view */
|
|
|
|
|
.list-header.recent-header {
|
|
|
|
|
grid-template-columns: 30px minmax(200px, 2fr) 1fr 1fr 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-item.recent-item {
|
|
|
|
|
position: relative;
|
|
|
|
|
grid-template-columns: 30px minmax(200px, 2fr) 1fr 1fr 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-item.recent-item .recent-indicator {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styles for the recent-specific empty state */
|
|
|
|
|
.recents-empty-state {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 50px 20px;
|
|
|
|
|
text-align: center;
|
2026-04-08 11:03:20 +02:00
|
|
|
color: var(--color-recent-muted);
|
2026-02-21 00:19:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recents-empty-state i {
|
|
|
|
|
font-size: 48px;
|
2026-04-08 11:03:20 +02:00
|
|
|
color: var(--color-recent-muted);
|
2026-02-21 00:19:04 +01:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recents-empty-state p {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Tooltip for access time */
|
2026-04-03 17:58:14 +02:00
|
|
|
.recent-item .type-cell {
|
2026-02-21 00:19:04 +01:00
|
|
|
cursor: help;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Animation for recent files */
|
|
|
|
|
.recent-item {
|
|
|
|
|
animation: recent-fade-in 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes recent-fade-in {
|
2026-04-07 22:48:59 +02:00
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(10px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
2026-04-03 17:58:14 +02:00
|
|
|
}
|