-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.scss
More file actions
88 lines (75 loc) · 1.73 KB
/
styles.scss
File metadata and controls
88 lines (75 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// @quickflo/quickview styles
// Import this file to get the default QuickView styling
.quickview {
// Background colors
--qv-bg: #ffffff;
--qv-bg-hover: #f8fafc;
--qv-bg-selected: #eff6ff;
--qv-border: #e2e8f0;
// Text colors
--qv-text: #1e293b;
--qv-text-muted: #64748b;
--qv-text-subtle: #94a3b8;
// Syntax highlighting colors
--qv-string: #059669;
--qv-number: #2563eb;
--qv-boolean: #7c3aed;
--qv-null: #94a3b8;
--qv-key: #0f172a;
--qv-bracket: #64748b;
// Status colors
--qv-success: #10b981;
--qv-error: #ef4444;
--qv-warning: #f59e0b;
--qv-info: #3b82f6;
// Typography
--qv-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
font-family: var(--qv-mono);
font-size: 13px;
line-height: 1.6;
background: var(--qv-bg);
border: 1px solid var(--qv-border);
border-radius: 8px;
// Note: overflow visible to allow dropdowns to escape container
// Content area handles its own overflow
}
// Shared utility classes
.qv-mono {
font-family: var(--qv-mono);
}
.qv-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.qv-clickable {
cursor: pointer;
&:hover {
background: var(--qv-bg-hover);
}
}
// Copy button animation
.qv-copy-btn {
opacity: 0;
transition: opacity 0.15s ease;
}
.qv-copy-target:hover .qv-copy-btn {
opacity: 1;
}
// Dark theme (optional - add .dark class to parent)
.dark .quickview,
.quickview.dark {
--qv-bg: #1e293b;
--qv-bg-hover: #334155;
--qv-bg-selected: #1e3a5f;
--qv-border: #475569;
--qv-text: #f1f5f9;
--qv-text-muted: #94a3b8;
--qv-text-subtle: #64748b;
--qv-string: #34d399;
--qv-number: #60a5fa;
--qv-boolean: #a78bfa;
--qv-null: #64748b;
--qv-key: #e2e8f0;
--qv-bracket: #94a3b8;
}