-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuickOpenPanel.css
More file actions
130 lines (114 loc) · 2.31 KB
/
Copy pathQuickOpenPanel.css
File metadata and controls
130 lines (114 loc) · 2.31 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.quick-open-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 80px;
z-index: 1000;
}
.quick-open-panel {
background: var(--color-bg-primary);
border-radius: 12px;
width: 600px;
max-height: 400px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
animation: quick-open-appear 0.15s ease-out;
}
@keyframes quick-open-appear {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.quick-open-input-wrapper {
padding: 12px 16px;
border-bottom: 1px solid var(--color-border);
}
.quick-open-input {
width: 100%;
padding: 10px 12px;
font-size: 16px;
border: 1px solid var(--color-border);
border-radius: 8px;
background: var(--color-bg-secondary);
color: var(--color-text-primary);
outline: none;
transition: border-color 0.15s;
}
.quick-open-input:focus {
border-color: var(--color-primary);
}
.quick-open-results {
flex: 1;
overflow-y: auto;
padding: 8px;
}
.quick-open-empty {
padding: 20px;
text-align: center;
color: var(--color-text-secondary);
font-size: 15px;
}
.quick-open-item {
display: flex;
align-items: center;
gap: 14px;
padding: 12px 14px;
border-radius: 6px;
cursor: pointer;
transition: background 0.1s;
}
.quick-open-item:hover,
.quick-open-item.selected {
background: var(--color-bg-secondary);
}
.quick-open-item.selected {
background: var(--color-primary-light);
}
.quick-open-icon {
font-size: 20px;
}
.quick-open-name {
font-size: 15px;
font-weight: 600;
color: var(--color-text-primary);
flex: 1;
}
.quick-open-path {
font-size: 13px;
color: var(--color-text-secondary);
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
}
.quick-open-footer {
padding: 10px 16px;
border-top: 1px solid var(--color-border);
background: var(--color-bg-secondary);
border-radius: 0 0 12px 12px;
}
.quick-open-hint {
display: flex;
gap: 14px;
font-size: 13px;
color: var(--color-text-secondary);
}
.quick-open-hint kbd {
background: var(--color-bg-primary);
padding: 3px 8px;
border-radius: 4px;
font-family: inherit;
font-size: 12px;
border: 1px solid var(--color-border);
}