mirror of
https://github.com/gr0grig/obsidian-virt-folder.git
synced 2026-07-22 10:30:27 +00:00
149 lines
2.6 KiB
CSS
149 lines
2.6 KiB
CSS
.vf_search_parents
|
|
{
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.vf_search_link
|
|
{
|
|
background-color: var(--background-secondary-alt);
|
|
color: var(--text-normal);
|
|
padding: 2px 4px;
|
|
margin-right: 4px;
|
|
line-height:2em;
|
|
}
|
|
|
|
.suggestion-item.is-selected .vf_search_link
|
|
{
|
|
background-color: var(--background-secondary);
|
|
}
|
|
|
|
.vf_search_div
|
|
{
|
|
padding-bottom: 1px;
|
|
padding-top: 1px;
|
|
}
|
|
|
|
.vf-counter {
|
|
text-align: right;
|
|
margin-left: auto;
|
|
background-color: var(--background-modifier-border);
|
|
position: sticky;
|
|
top: 0;
|
|
color: var(--text-normal);
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.vf-current-note
|
|
{
|
|
background-color: var(--background-modifier-border);
|
|
}
|
|
|
|
.vf-drop-target
|
|
{
|
|
background-color: var(--interactive-accent);
|
|
opacity: 0.85;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Note icons */
|
|
.vf-note-icon {
|
|
flex-shrink: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.vf-pin-icon {
|
|
flex-shrink: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Icon picker modal */
|
|
.vf-icon-modal .modal-content {
|
|
padding: 0 12px 12px;
|
|
}
|
|
|
|
.vf-icon-search {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
margin-bottom: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
background: var(--background-primary);
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
|
|
.vf-icon-search:focus {
|
|
border-color: var(--interactive-accent);
|
|
}
|
|
|
|
.vf-icon-remove-btn {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vf-icon-tabs {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.vf-icon-tab {
|
|
font-size: 20px;
|
|
width: 34px;
|
|
height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.vf-icon-tab:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.vf-icon-tab.is-active {
|
|
background-color: var(--background-modifier-hover);
|
|
opacity: 1;
|
|
}
|
|
|
|
.vf-icon-grid {
|
|
max-height: 350px;
|
|
overflow-y: auto;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, 36px);
|
|
gap: 2px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.vf-icon-cell {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.vf-icon-cell:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.vf-icon-empty {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
padding: 20px;
|
|
}
|