mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
86 lines
1.8 KiB
CSS
86 lines
1.8 KiB
CSS
/* Basic styling */
|
|
.nav-file-title-content {
|
|
padding: 0;
|
|
line-height: 1.1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Title styling */
|
|
.has-title::after,
|
|
.tree-item-inner.has-title::after,
|
|
.nav-folder-title-content.has-title::after,
|
|
.nav-file-title-content.has-title::after {
|
|
content: attr(data-title);
|
|
color: var(--color-orange);
|
|
font-size: 0.85em;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Sort number display */
|
|
.has-title[data-sort]::before,
|
|
.tree-item-inner.has-title[data-sort]::before,
|
|
.nav-folder-title-content.has-title[data-sort]::before,
|
|
.nav-file-title-content.has-title[data-sort]::before {
|
|
content: attr(data-sort);
|
|
color: var(--color-yellow);
|
|
margin-right: 4px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* Container styling for flex ordering */
|
|
.title-appender-flex-container {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
.nav-folder-children {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
.nav-files-container {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
/* Folder title styling */
|
|
.folder-has-title {
|
|
position: relative;
|
|
}
|
|
.folder-has-title::after {
|
|
content: attr(data-folder-title);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Sort value styling */
|
|
.sort-suffix {
|
|
color: var(--color-yellow);
|
|
margin-left: 4px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* Git notification indicator */
|
|
.git-notification-indicator {
|
|
position: relative;
|
|
}
|
|
|
|
.git-notification-indicator::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: #f44336;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--background-primary);
|
|
}
|