/* rSocials Canvas — dark theme */ folk-socials-canvas { display: block; height: calc(100vh - 60px); } .socials-canvas-root { display: flex; flex-direction: column; height: 100%; font-family: system-ui, -apple-system, sans-serif; color: var(--rs-text-primary); } /* Toolbar */ .sc-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; min-height: 48px; border-bottom: 1px solid var(--rs-border); } .sc-toolbar__title { font-size: 15px; font-weight: 600; flex: 1; } .sc-demo-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #f59e0b22; color: #f59e0b; font-size: 11px; font-weight: 600; margin-left: 8px; } .sc-toolbar__actions { display: flex; gap: 8px; } .sc-btn { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--rs-input-border); background: var(--rs-input-bg); color: var(--rs-text-primary); font-size: 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s; } .sc-btn:hover { border-color: var(--rs-border-strong); } .sc-btn--postiz { background: #6366f122; border-color: #6366f155; color: #818cf8; } .sc-btn--postiz:hover { background: #6366f133; border-color: #6366f1; } /* Canvas area — fills remaining space */ .sc-canvas-area { flex: 1; display: flex; overflow: hidden; position: relative; } .sc-canvas { flex: 1; position: relative; overflow: hidden; cursor: grab; background: var(--rs-canvas-bg, #0f0f23); } .sc-canvas.grabbing { cursor: grabbing; } .sc-canvas svg { display: block; width: 100%; height: 100%; } /* Zoom controls */ .sc-zoom-controls { position: absolute; bottom: 12px; right: 12px; display: flex; align-items: center; gap: 4px; background: var(--rs-bg-surface); border: 1px solid var(--rs-border-strong); border-radius: 8px; padding: 4px 6px; z-index: 5; } .sc-zoom-btn { width: 28px; height: 28px; border: none; border-radius: 6px; background: transparent; color: var(--rs-text-primary); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; } .sc-zoom-btn:hover { background: var(--rs-bg-surface-raised); } .sc-zoom-btn--fit { font-size: 14px; } .sc-zoom-level { font-size: 11px; color: var(--rs-text-muted); min-width: 36px; text-align: center; } /* Postiz slide-out panel */ .sc-postiz-panel { width: 0; overflow: hidden; border-left: 1px solid var(--rs-border); background: var(--rs-bg-surface); display: flex; flex-direction: column; transition: width 0.3s ease; } .sc-postiz-panel.open { width: 60%; min-width: 400px; } .sc-postiz-header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--rs-border); min-height: 44px; } .sc-postiz-title { font-size: 13px; font-weight: 600; flex: 1; } .sc-postiz-close { background: none; border: none; color: var(--rs-text-muted); font-size: 16px; cursor: pointer; padding: 4px; } .sc-postiz-close:hover { color: var(--rs-text-primary); } .sc-postiz-iframe { flex: 1; border: none; width: 100%; } /* Canvas node hover */ .canvas-node foreignObject div:hover { border-color: #4f46e5 !important; } /* Mobile */ @media (max-width: 768px) { .sc-postiz-panel.open { position: absolute; top: 0; right: 0; width: 100%; height: 100%; z-index: 20; min-width: unset; } .sc-toolbar { flex-wrap: wrap; padding: 8px 12px; } }