refactor(css): maximize usage of variables (1st part, to simplify CSS & style)

note: there is still work to do, but has there are risks to conflict I prefer to commit this first part now
This commit is contained in:
Edouard Vanbelle
2026-04-08 11:03:20 +02:00
parent 904aca5edf
commit 94b36e41e0
35 changed files with 2957 additions and 2535 deletions
+5 -5
View File
@@ -11,7 +11,7 @@
align-items: center;
justify-content: center;
border-radius: 50%;
color: #6c757d;
color: var(--color-recent-muted);
z-index: 5;
[dir="rtl"] & {
@@ -27,10 +27,10 @@
/* Adjustments for grid view */
.files-grid-view .file-item.recent-item {
border-left: 3px solid #6c757d;
border-left: 3px solid var(--color-recent-border);
[dir="rtl"] & {
border-right: 3px solid #6c757d;
border-right: 3px solid var(--color-recent-border);
border-left: unset;
}
}
@@ -61,12 +61,12 @@
justify-content: center;
padding: 50px 20px;
text-align: center;
color: #6c757d;
color: var(--color-recent-muted);
}
.recents-empty-state i {
font-size: 48px;
color: #6c757d;
color: var(--color-recent-muted);
margin-bottom: 20px;
opacity: 0.6;
}