| | #graph { |
| | width: 100%; |
| | height: 100vh; |
| | } |
| |
|
| | #popup { |
| | display: none; |
| | position: fixed; |
| | background: var(--bg-color); |
| | border: 1px solid var(--border-color); |
| | border-radius: 8px; |
| | padding: 16px; |
| | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| | z-index: 100; |
| | min-width: 200px; |
| | max-width: 400px; |
| | } |
| |
|
| | .popup-title { |
| | font-weight: 600; |
| | margin-bottom: 12px; |
| | word-wrap: break-word; |
| | color: var(--text-color); |
| | } |
| |
|
| | .popup-error { |
| | display: none; |
| | color: var(--node-error); |
| | font-size: 14px; |
| | padding: 8px 0; |
| | border-top: 1px solid var(--border-color); |
| | margin-bottom: 8px; |
| | } |
| |
|
| | .popup-buttons { |
| | display: flex; |
| | gap: 8px; |
| | } |
| |
|
| | .popup-buttons button { |
| | flex: 1; |
| | padding: 8px 16px; |
| | border: none; |
| | border-radius: 6px; |
| | font-weight: 600; |
| | cursor: pointer; |
| | transition: opacity 0.2s; |
| | } |
| |
|
| | .popup-buttons button:hover { |
| | opacity: 0.9; |
| | } |
| |
|
| | #open-btn { |
| | background-color: var(--node-default); |
| | color: white; |
| | } |
| |
|
| | #expand-btn { |
| | background-color: var(--node-expanded); |
| | color: white; |
| | } |
| |
|
| | |
| | .popup-buttons button:disabled { |
| | opacity: 0.5; |
| | cursor: not-allowed; |
| | } |
| |
|
| | |
| | #controls { |
| | position: fixed; |
| | bottom: 24px; |
| | right: 24px; |
| | display: flex; |
| | flex-direction: row; |
| | align-items: flex-end; |
| | gap: 8px; |
| | z-index: 100; |
| | } |
| |
|
| | |
| | #reset-graph { |
| | width: 40px; |
| | height: 40px; |
| | background: var(--bg-color); |
| | border: 1px solid var(--border-color); |
| | border-radius: 4px; |
| | color: var(--text-color); |
| | font-size: 20px; |
| | cursor: pointer; |
| | display: flex; |
| | align-items: center; |
| | justify-content: center; |
| | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); |
| | transition: background-color 0.15s; |
| | } |
| |
|
| | #reset-graph:hover { |
| | background: var(--border-color); |
| | } |
| |
|
| | #reset-graph:active { |
| | background: var(--border-color); |
| | opacity: 0.8; |
| | } |
| |
|
| | |
| | #zoom-controls { |
| | display: flex; |
| | flex-direction: column; |
| | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); |
| | border-radius: 4px; |
| | } |
| |
|
| | #zoom-controls button { |
| | width: 40px; |
| | height: 40px; |
| | background: var(--bg-color); |
| | border: 1px solid var(--border-color); |
| | color: var(--text-color); |
| | font-size: 20px; |
| | font-weight: 600; |
| | cursor: pointer; |
| | display: flex; |
| | align-items: center; |
| | justify-content: center; |
| | transition: background-color 0.15s; |
| | } |
| |
|
| | #zoom-controls button:hover { |
| | background: var(--border-color); |
| | } |
| |
|
| | #zoom-controls button:active { |
| | background: var(--border-color); |
| | opacity: 0.8; |
| | } |
| |
|
| | #zoom-in { |
| | border-radius: 4px 4px 0 0; |
| | border-bottom: none; |
| | } |
| |
|
| | #zoom-out { |
| | border-radius: 0 0 4px 4px; |
| | } |
| |
|