-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
173 lines (149 loc) · 2.85 KB
/
popup.css
File metadata and controls
173 lines (149 loc) · 2.85 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#controls {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 8px;
margin: 0 8px 8px 8px; /* equal horizontal padding */
}
.left-controls { min-width: 0; display: inline-flex; gap: 6px; align-items: center; }
.right-controls {
display: inline-flex;
align-items: center;
gap: 6px;
}
#searchInput {
width: 100%;
background: #1a1a1a;
color: #eee;
border: 1px solid #333;
border-radius: 5px;
padding: 7px 0px;
}
#controls button {
background: transparent;
border: 1px solid #444;
color: #cfcfcf;
padding: 6px;
border-radius: 5px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
#controls button:hover {
background: #2a2a2a;
color: #fff;
}
#grid {
display: grid;
grid-template-columns: repeat(8, 52px); /* fixed 8 columns */
gap: 10px;
padding: 0 8px 8px 8px; /* equal padding around grid */
}
.bookmark {
width: 48px;
height: 48px;
background: #333;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.bookmark img {
max-width: 24px;
max-height: 24px;
}
#breadcrumb {
display: flex;
flex-wrap: nowrap;
gap: 6px;
align-items: center;
color: #bbb;
font-size: 12px;
margin: 10px 3px 10px;
}
#breadcrumb .crumb {
color: #ddd;
cursor: pointer;
}
#breadcrumb .sep { color: #666; }
.folder {
width: 48px;
height: 48px;
background: #2b2b2b;
border: 1px solid #3b3b3b;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.folder svg { color: #e2c08d; }
.tile-title {
grid-column: span 1;
text-align: center;
font-size: 10px;
color: #cfcfcf;
margin-top: 4px;
max-width: 48px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item {
display: grid;
grid-template-rows: 48px auto;
justify-items: center;
position: relative;
}
.item:hover .actions-btn {
opacity: 1;
}
.actions-btn {
position: absolute;
top: 2px;
right: 2px;
width: 16px;
height: 16px;
background: rgba(0, 0, 0, 0.7);
border: none;
border-radius: 3px;
color: #fff;
cursor: pointer;
opacity: 0;
transition: opacity 0.2s;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 10;
}
.actions-btn:hover {
background: rgba(0, 0, 0, 0.9);
}
.actions-menu {
position: fixed;
background: #2a2a2a;
border: 1px solid #444;
border-radius: 6px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
z-index: 1000;
min-width: 160px;
max-width: 200px;
}
.menu-item {
padding: 8px 12px;
color: #eee;
cursor: pointer;
font-size: 13px;
}
.menu-item:hover {
background: #3a3a3a;
}
.menu-item:first-child {
border-radius: 6px 6px 0 0;
}
.menu-item:last-child {
border-radius: 0 0 6px 6px;
}