feat: first-run onboarding wizard for privacy, capture, storage, and hotkeys
This commit is contained in:
1 parent
6839fdbf47
commit
7a4ba815fe
5 files changed
+387
-3
No files matched your search
+134
@@ -541,3 +541,137 @@ textarea {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* Onboarding wizard */
|
||||
.onboarding-shell {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.onboarding-workspace {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.wizard-card {
|
||||
width: min(560px, 100%);
|
||||
background: #17191f;
|
||||
border: 1px solid #2a2e38;
|
||||
border-radius: 16px;
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.wizard-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.wizard-header h1 {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.wizard-steps {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
padding: 0;
|
||||
margin: 0 0 22px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.wizard-steps li {
|
||||
flex: 1;
|
||||
padding: 8px 6px;
|
||||
border-radius: 8px;
|
||||
background: #242a36;
|
||||
color: #9ca3af;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wizard-steps li.active {
|
||||
background: #064e3b;
|
||||
color: #6ee7b7;
|
||||
}
|
||||
|
||||
.wizard-steps li.done {
|
||||
color: #34d399;
|
||||
}
|
||||
|
||||
.wizard-body h2 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.wizard-body .muted {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wizard-options {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
margin: 18px 0;
|
||||
}
|
||||
|
||||
.wizard-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.ghost-button,
|
||||
.primary-button {
|
||||
padding: 10px 18px;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ghost-button {
|
||||
background: transparent;
|
||||
border: 1px solid #374151;
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
background: #10b981;
|
||||
border: 1px solid #10b981;
|
||||
color: #06281f;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
background: #34d399;
|
||||
}
|
||||
|
||||
.hotkey-list {
|
||||
list-style: none;
|
||||
margin: 18px 0 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.hotkey-list li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 10px 12px;
|
||||
background: #242a36;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.hotkey-list kbd {
|
||||
background: #101114;
|
||||
border: 1px solid #374151;
|
||||
border-bottom-width: 2px;
|
||||
border-radius: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 12px;
|
||||
color: #f5f7fb;
|
||||
}
|
||||
Reference in new issue
Block a user