html, body { height: 100%; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; background: #ffffff; color: #111827; } .toolbar { display: flex; gap: 6px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; background: #ffffff; position: sticky; top: 0; z-index: 10; } .title { font-weight: 600; display: flex; margin-right: auto; align-items: center; } .title .logo { height: 40px; margin-right: 8px; vertical-align: middle; } .title h1 { font-size: 17px; padding: 0; margin: 0; } .btn { appearance: none; border: 1px solid #d1d5db; background: #ffffff; color: #111827; padding: 6px 10px; border-radius: 6px; cursor: pointer; } .btn-icon { width: 32px; height: 32px; padding: 6px; display: flex; align-items: center; justify-content: center; color: #9ca3af; transition: color 0.2s ease; } .btn-icon:hover { color: #6b7280; background: #f9fafb; } .btn.active,.btn-icon.active:hover { background: #2563eb; border-color: #1d4ed8; color: #ffffff; } .btn-icon svg { width: 22px; height: 22px; stroke: none; fill: currentColor; } .btn-return { font-size: 13px; padding: 6px 10px; border-radius: 999px; border-color: #d1d5db; background: #f9fafb; color: #374151; box-shadow: 0 1px 2px rgba(17,24,39,0.05); margin-left: 12px; display: flex; align-items: center; } .btn-return:hover { background: #2563eb; border-color: #1d4ed8; color: #ffffff; } .btn-return svg { width: 14px; height: 14px; fill: currentColor; margin-right: 4px; } .select { background: #ffffff; color: #111827; border: 1px solid #d1d5db; border-radius: 8px; padding: 6px 10px; } .workspace { height: calc(100vh - 65px); width: 100%; overflow-x: hidden; overflow-y: hidden; } .workspace-one { display: flex; height: calc(100vh - 65px); width: 100%; } .workspace.mode-two, .workspace.mode-three, .workspace.mode-four, .workspace.mode-grid { height: calc(100vh - 65px); } .mode-one { display: flex; flex-direction: column; gap: 10px; padding: 10px; } .mode-two, .mode-three, .mode-four { display: flex; flex-direction: row; gap: 10px; padding: 10px; box-sizing: border-box; } .mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; padding: 10px; height: calc(100vh - 58px); box-sizing: border-box; } .pane { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #ffffff; flex: 1; min-height: 0; } .pane-header { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; background: #f9fafb; font-size: 13px; } .pane-header-actions { margin-left: auto; } .dropdown { position: relative; } .dropdown-btn { display: flex; align-items: center; gap: 6px; border: 1px solid #d1d5db; background: #ffffff; color: #111827; padding: 4px 8px; border-radius: 6px; cursor: pointer; } .dropdown-btn img { width: 16px; height: 16px; border-radius: 4px; } .dropdown-btn svg { width: 14px; height: 14px; fill: currentColor; } .dropdown-menu { position: absolute; right: 0; top: 100%; margin-top: 6px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 10px rgba(17,24,39,0.08); min-width: 180px; max-height: 240px; overflow-y: auto; z-index: 20; right: 0; display: block; } .dropdown-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; cursor: pointer; } .dropdown-item:hover { background: #f3f4f6; } .pane-header img { width: 16px; height: 16px; border-radius: 4px; } .pane iframe { width: 100%; border: 0; flex: 1; background: #ffffff; } .pane-body { position: relative; display: flex; flex: 1; min-height: 0; } .skeleton-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #ffffff; z-index: 1; } .loading-icon-img, .loading-icon-fallback { width: 48px; height: 48px; animation: pulseScale 1.2s ease-in-out infinite; transform-origin: center; } .loading-icon-fallback { fill: #9ca3af; } .skeleton { position: relative; overflow: hidden; background: #e5e7eb; } .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0) 100%); animation: shimmer 1.2s infinite; } @keyframes shimmer { 100% { transform: translateX(100%); } } @keyframes pulseScale { 0% { transform: scale(0.85); } 50% { transform: scale(1.15); } 100% { transform: scale(0.85); } } .skeleton-line { height: 12px; border-radius: 6px; } .skeleton-avatar { width: 16px; height: 16px; border-radius: 4px; background: #e5e7eb; } .skeleton-block { width: 80%; height: 80%; border-radius: 12px; } .w-80 { width: 80px; } .w-120 { width: 120px; } .mode-one .pane { height: 100%; } .mode-two .pane, .mode-three .pane, .mode-four .pane { height: 100%; } .sidebar { width: 280px; border-right: 1px solid #e5e7eb; padding: 10px; overflow-y: auto; background: #ffffff; } .sidebar .skeleton-list { display: none; } .sidebar .list { display: block; } body:not(.vue-ready) .sidebar .skeleton-list { display: block; } body:not(.vue-ready) .sidebar .list { display: none; } .main { flex: 1; padding: 10px; display: flex; min-height: 0; box-sizing: border-box; } .workspace-one .main{ padding: 0; } .workspace-one .pane { border: 0; border-radius: 0; } .site-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; margin-bottom: 8px; background: #f9fafb; transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; } .site-item:hover { background: #fff; } .site-item.active { border-color: #2563eb; background: #eff6ff; } .site-item:hover { background: #f3f4f6; box-shadow: 0 1px 2px rgba(17,24,39,0.05); } .site-item img { width: 24px; height: 24px; border-radius: 4px; } .site-text { display: flex; flex-direction: row; width: 100%; gap: 2px; justify-content: space-between; align-items: center; } .site-name { font-size: 14px; font-weight: 500; } .site-url { font-size: 12px; color: #6b7280; } .site-link { display: inline-flex; align-items: center; gap: 4px; color: #9ca3af; text-decoration: none; padding: 4px; margin: -4px; } .site-link:hover { color: #1d4ed8; background: #e0e7ff; border-radius: 4px; } .site-link svg { width: 16px; height: 16px; fill: currentColor; } @media (max-width: 768px) { .toolbar { flex-wrap: wrap; gap: 8px; } .title h1 { font-size: 15px; } .btn-icon { width: 28px; height: 28px; } .workspace { height: auto; min-height: calc(100vh - 58px); } .workspace-one { flex-direction: column; } .sidebar { width: 100%; border-right: 0; border-bottom: 1px solid #e5e7eb; } .main { padding: 8px; } .mode-two, .mode-three, .mode-four { flex-direction: column; height: auto; } .mode-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .pane-header { padding: 6px 8px; font-size: 12px; } .dropdown-menu { left: 0; right: 0; min-width: unset; width: 100%; } .pane iframe { min-height: 260px; } } @media (max-width: 480px) { .title .logo { height: 32px; } .title h1 { font-size: 14px; } .btn-return { font-size: 12px; padding: 5px 8px; } .loading-icon-img, .loading-icon-fallback { width: 40px; height: 40px; } .site-item { padding: 10px 12px; } }