show item path on Recent + Favorites, add go to parent folder, fix Folder browsing in Favorites
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
:root {
|
||||
--sidebar-width: 250px;
|
||||
|
||||
/* Backgrounds */
|
||||
--color-bg-page: #f5f7fa;
|
||||
--color-bg-surface: #ffffff;
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
.path-tooltip {
|
||||
position: fixed;
|
||||
bottom: 8px;
|
||||
left: calc(var(--sidebar-width) + 8px);
|
||||
z-index: 5;
|
||||
|
||||
max-width: 120ch;
|
||||
padding: 4px 10px;
|
||||
border-radius: 3px;
|
||||
|
||||
background-color: var(--color-bg-subtle);
|
||||
border: 1px solid var(--color-border-faint);
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.75rem;
|
||||
font-family: monospace;
|
||||
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
pointer-events: none;
|
||||
|
||||
/* avoid blinking when pointer change items */
|
||||
transition: display 0.2s allow-discrete;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Sidebar */
|
||||
.sidebar {
|
||||
width: 250px;
|
||||
width: var(--sidebar-width);
|
||||
background: linear-gradient(180deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);
|
||||
color: var(--color-sidebar-text-active);
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user