/* Import theme variables */ @import url('peek://theme/variables.css'); * { box-sizing: border-box; margin: 0; padding: 0; } html { font-family: var(--theme-font-sans); -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.5; } body { background: var(--base00); color: var(--base05); min-height: 100vh; } /* Sheet header */ .sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; } .sheet-title { font-size: 18px; font-weight: 600; color: var(--base05); } .sheet-actions { display: flex; gap: 8px; } /* Buttons */ .btn { padding: 6px 14px; border: 1px solid var(--base02); border-radius: 6px; background: var(--base01); color: var(--base05); font-size: 13px; cursor: pointer; font-family: inherit; } .btn:hover { background: var(--base02); } .btn-edit.active { background: var(--base0D); color: var(--base00); border-color: var(--base0D); } /* Cards container */ .cards { padding: 0 24px 24px 24px; } /* Card styling */ peek-card { --peek-card-bg: var(--base01); --peek-card-hover-bg: var(--base02); --peek-card-border: var(--base02); --peek-card-radius: 8px; --peek-card-padding: 0; --peek-card-gap: 0; overflow: hidden; } /* Card header in edit mode */ .card-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px; background: var(--base01); border-bottom: 1px solid var(--base02); min-height: 28px; } .card-header-title { font-size: 11px; color: var(--base04); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; } .card-remove-btn { display: none; width: 20px; height: 20px; border: none; border-radius: 4px; background: transparent; color: var(--base04); cursor: pointer; font-size: 14px; line-height: 1; flex-shrink: 0; padding: 0; text-align: center; } .card-remove-btn:hover { background: var(--base08); color: var(--base00); } /* Show remove button in edit mode */ body.editing .card-remove-btn { display: block; } /* Webview inside card */ .card-webview { width: 100%; height: calc(100% - 28px); border: none; } /* Disable webview interaction in edit mode */ body.editing .card-webview { pointer-events: none; } /* Add dialog */ .add-dialog { position: fixed; inset: 0; z-index: 1000; } .add-dialog-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); } .add-dialog-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--base01); border: 1px solid var(--base02); border-radius: 12px; padding: 24px; min-width: 400px; } .add-dialog-content h2 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--base05); } .add-dialog-input { width: 100%; padding: 8px 12px; border: 1px solid var(--base02); border-radius: 6px; background: var(--base00); color: var(--base05); font-size: 14px; font-family: inherit; margin-bottom: 16px; } .add-dialog-input:focus { outline: none; border-color: var(--base0D); } .add-dialog-buttons { display: flex; justify-content: flex-end; gap: 8px; } /* Empty state */ .empty-state { text-align: center; padding: 48px 24px; color: var(--base03); font-size: 15px; }