Files
Oxicloud/static/css/views/recent.css
T

77 lines
1.5 KiB
CSS
Raw Normal View History

/* 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%;
color: var(--color-recent-muted);
z-index: 5;
2026-04-07 22:48:59 +02:00
[dir="rtl"] & {
left: 10px;
right: unset;
}
}
/* Item modifier rules (.file-item.recent-item) → resourceList.css */
.recent-item {
position: relative;
}
/* Adjustments for list view header (page-level, not item-level) */
.list-header.recent-header {
grid-template-columns: 30px minmax(200px, 2fr) 1fr 1fr 120px;
}
/* Styles for the recent-specific empty state */
.recents-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 50px var(--space-5);
text-align: center;
color: var(--color-recent-muted);
}
.recents-empty-state i {
font-size: var(--text-6xl);
color: var(--color-recent-muted);
margin-bottom: var(--space-5);
opacity: 0.6;
}
.recents-empty-state p {
margin-bottom: var(--space-2-5);
max-width: 400px;
}
/* Tooltip for access time */
.recent-item .type-cell {
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);
}
}