mirror of
https://github.com/sisyphe42/obsidian-logseqer-plugin.git
synced 2026-07-22 15:30:32 +00:00
156 lines
No EOL
3.3 KiB
CSS
156 lines
No EOL
3.3 KiB
CSS
/* Obsidian Logseqer Plugin Styles */
|
|
|
|
/* Status Bar Item */
|
|
.status-bar-item.logseqer-status-item {
|
|
font-size: var(--text-xs);
|
|
/* cursor: default; -- handled by obsidian */
|
|
/* display: inline-flex; -- handled by obsidian */
|
|
/* align-items: center; -- handled by obsidian */
|
|
}
|
|
|
|
.status-bar-item.logseqer-status-item.is-valid {
|
|
color: var(--text-success);
|
|
}
|
|
|
|
.status-bar-item.logseqer-status-item.is-invalid {
|
|
color: var(--text-error);
|
|
}
|
|
|
|
/* Sync Resolution Modal Styling */
|
|
.logseqer-sync-section {
|
|
margin-top: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.logseqer-sync-header {
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.logseqer-sync-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
background-color: var(--background-primary);
|
|
}
|
|
|
|
.logseqer-sync-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 15px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
min-height: 48px;
|
|
}
|
|
|
|
.logseqer-sync-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.logseqer-sync-item-label {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
margin-right: 15px;
|
|
overflow: visible;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.group-checkbox {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.header-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.logseqer-sync-item-control select {
|
|
width: 200px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Folder Suggest Dropdown */
|
|
.suggestion-container {
|
|
position: fixed;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
background: var(--background-primary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
z-index: 1000;
|
|
margin-top: 2px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.suggestion-item {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
transition: background-color 0.1s;
|
|
}
|
|
|
|
.suggestion-item:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.suggestion-item:active {
|
|
background-color: var(--background-modifier-active-hover);
|
|
}
|
|
|
|
/* Issue Type and Details */
|
|
.logseqer-issue-type {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.logseqer-issue-fix {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.logseqer-issue-path {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Modal footer/button layout for Vault Check and Sync modals */
|
|
.modal-button-row, .modal-button-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-button-left, .modal-button-right {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-button-left {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.modal-button-right {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
/* Buttons will be equalized in width by modal JS; provide sensible fallbacks */
|
|
.modal-button-container button, .modal-button-row button {
|
|
min-width: 0;
|
|
padding: 6px 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Small screens: stack groups then individual buttons */
|
|
@media (max-width: 520px) {
|
|
.modal-button-left, .modal-button-right { flex-basis: 100%; }
|
|
.modal-button-container button, .modal-button-row button { width: 100%; }
|
|
} |