-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.html
More file actions
105 lines (91 loc) · 3.01 KB
/
Copy pathinfo.html
File metadata and controls
105 lines (91 loc) · 3.01 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!-- COMMENT: This page is rendered inside the extension panel. We style it using the same theme tokens defined on #opm-root in content.styles.js so it feels native. -->
<style>
/* COMMENT: Ultra-minimal info view. High-contrast text, no borders/shadows, just essentials. */
#opm-root.opm-light .pm-info { color: var(--input-light-text); }
#opm-root.opm-dark .pm-info { color: var(--input-dark-text); }
.pm-info {
display: flex;
flex-direction: column;
gap: 8px;
font-size: 14px;
line-height: 1.4;
padding: 4px 0;
}
.pm-section {
display: flex;
flex-direction: column;
gap: 6px;
}
.pm-section-title {
font-weight: 600;
font-size: 13px;
opacity: 0.8;
letter-spacing: 0.5px;
}
.pm-section-content {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.pm-section-note {
font-size: 12px;
opacity: 0.6;
margin-top: 2px;
}
/* COMMENT: Chips and keyboard keys kept for clarity, not decoration */
.pm-chip, .pm-kbd {
background-color: var(--primary);
color: #fff;
padding: 2px 8px;
border-radius: 9999px;
display: inline-flex;
align-items: center;
height: 22px;
white-space: nowrap;
}
.pm-kbd { gap: 2px; font-family: monospace; font-size: 11px; }
.pm-plus { margin: 0 2px; }
.pm-sep { margin: 0 4px; opacity: .6; }
/* COMMENT: Link uses theme primary and a subtle underline on hover */
.pm-link { color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pm-link:hover, .pm-link:focus { text-decoration: underline; outline: none; }
@media (max-width: 360px) {
.pm-kbd { font-size: 10px; padding: 2px 6px; }
.pm-chip { padding: 2px 6px; }
}
</style>
<div class="pm-info">
<div class="pm-section">
<div class="pm-section-title">Open</div>
<div class="pm-section-content">
<span class="pm-kbd"><span>⌘</span><span class="pm-plus">+</span><span>⇧</span><span class="pm-plus">+</span><span>P</span></span>
<span class="pm-sep">/</span>
<span class="pm-kbd"><span>Ctrl</span><span class="pm-plus">+</span><span>M</span></span>
</div>
<div class="pm-section-note">Or hover</div>
</div>
<div class="pm-section">
<div class="pm-section-title">Navigate</div>
<div class="pm-section-content">
<span class="pm-chip">↑ ↓ + Enter</span>
<span class="pm-sep">/</span>
<span class="pm-chip">Esc</span>
</div>
</div>
<div class="pm-section">
<div class="pm-section-title">Variables</div>
<div class="pm-section-content">
<span class="pm-chip">#name#</span>
</div>
<div class="pm-section-note">Insert dynamic values into prompts using the # syntax</div>
</div>
<div class="pm-section">
<div class="pm-section-title">Features</div>
<div class="pm-section-content">
<span class="pm-chip">Right Click Menu</span>
<span class="pm-chip">Sidebar Editor</span>
<span class="pm-chip">Hot Corner Mode</span>
</div>
</div>
</div>