.title-appended { color: var(--text-normal); display: inline; } .title-metadata { color: var(--color-orange); font-size: 0.85em; opacity: 0.8; margin-left: 0; } /* Sort value styling */ .nav-file-title-content::before { margin-right: 4px; } .nav-file-title-content { padding: 0; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } /* Reduce indent for child items - improved spacing */ .nav-folder .nav-folder .nav-file-title, .nav-folder .nav-folder .nav-folder-title { padding-left: 15px !important; } /* Ensure proper alignment with sort values and titles */ .nav-file-title-content.has-sort-value, .nav-file-title-content.has-title { padding-right: 5px; display: inline-block; max-width: calc(100% - 10px); } /* Title styling */ .has-title::after { content: attr(data-title); color: var(--color-orange); font-size: 0.85em; opacity: 0.8; } /* Sort value styling - moved to appear last (after title) */ .has-sort-value::after { content: attr(data-sort-value); color: var(--color-yellow); margin-left: 4px; } /* Handle case when both title and sort are present - REPLACE THIS */ .has-title.has-sort-value::after { content: none; /* Remove the combined content */ } /* Add separate pseudo-elements for title and sort when both exist */ .has-title.has-sort-value::after { content: attr(data-title); color: var(--color-orange); font-size: 0.85em; opacity: 0.8; } .has-title.has-sort-value::before { content: none; /* Ensure no content shows before */ } /* Add sort value after the title with proper color */ .has-title.has-sort-value .sort-suffix { color: var(--color-yellow); margin-left: 4px; } /* Fix conflicting rules for title and sort display */ .has-title::after { content: attr(data-title); color: var(--color-orange); font-size: 0.85em; opacity: 0.8; } /* Sort value styling when sort value is alone */ .has-sort-value:not(.has-title)::after { content: attr(data-sort-value); color: var(--color-yellow); margin-left: 4px; } /* Handle case when both title and sort are present */ .has-title.has-sort-value::after { content: attr(data-title); color: var(--color-orange); font-size: 0.85em; opacity: 0.8; } /* Style for the sort suffix span */ .sort-suffix { color: var(--color-yellow); margin-left: 4px; font-size: 0.85em; }