mirror of
https://github.com/apoo711/obsidian-3d-graph.git
synced 2026-07-22 13:00:24 +00:00
104 lines
1.9 KiB
CSS
104 lines
1.9 KiB
CSS
.graph-3d-view-content {
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
.graph-3d-view-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.graph-3d-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.graph-3d-message {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: var(--text-muted);
|
|
display: none;
|
|
z-index: 10;
|
|
font-size: var(--font-ui-large);
|
|
}
|
|
|
|
.graph-3d-message.is-visible {
|
|
display: block;
|
|
}
|
|
|
|
.graph-3d-controls-container {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 10;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.graph-3d-settings-toggle,
|
|
.graph-3d-reset-toggle {
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
background-color: var(--background-secondary-alt);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.graph-3d-settings-toggle:hover,
|
|
.graph-3d-reset-toggle:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.graph-3d-settings-panel {
|
|
display: none;
|
|
position: absolute;
|
|
top: 45px;
|
|
right: 0;
|
|
width: 350px;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
background-color: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.graph-3d-settings-panel.is-open {
|
|
display: block;
|
|
}
|
|
|
|
.graph-3d-settings-panel .setting-item {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
padding: 10px 16px !important;
|
|
}
|
|
|
|
.graph-3d-settings-panel .setting-item:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
.graph-3d-counter {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
background-color: var(--background-secondary-alt);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
font-size: var(--font-xs);
|
|
color: var(--text-muted);
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
display: none;
|
|
}
|
|
|
|
.graph-3d-counter.is-visible {
|
|
display: block;
|
|
}
|