Files
Docs-Viewer/docs/.obsidian/plugins/docs-viewer/styles.css

69 lines
1.5 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;
}