|
19 | 19 | display: flex; |
20 | 20 | align-items: center; |
21 | 21 | justify-content: center; |
| 22 | + |
| 23 | + &:hover { |
| 24 | + cursor: pointer; |
| 25 | + } |
22 | 26 | } |
23 | 27 |
|
24 | 28 | >figcaption { |
| 29 | + position: relative; |
25 | 30 | display: flex; |
26 | 31 | flex-direction: column; |
27 | 32 | padding: .25rem .5rem; |
|
32 | 37 | dl { |
33 | 38 | font-size: small; |
34 | 39 | margin: 0 0 .25rem 0; |
| 40 | + line-height: 18px; |
35 | 41 | } |
36 | 42 | dt { |
37 | 43 | font-weight: bold; |
|
41 | 47 | margin: 0; |
42 | 48 | } |
43 | 49 |
|
44 | | - div:last-child { |
45 | | - display: flex; |
46 | | - flex-grow: 1; |
47 | | - justify-content: flex-end; |
48 | | - padding: 0.25rem; |
49 | | - |
50 | | - >button { |
| 50 | + .delete-file-button { |
51 | 51 | margin: 0; |
| 52 | + position: absolute; |
| 53 | + right: 0.5rem; |
| 54 | + bottom: 0.5rem; |
52 | 55 | padding: 0.25rem 0.5rem; |
53 | 56 | color: $delete-button-fg-color; |
54 | 57 | background-color: $delete-button-bg-color; |
|
59 | 62 |
|
60 | 63 | &:hover { |
61 | 64 | opacity: 1; |
| 65 | + cursor: pointer; |
62 | 66 | } |
63 | 67 | } |
64 | | - } |
| 68 | + |
65 | 69 | } |
66 | 70 | } |
67 | 71 | } |
@@ -238,88 +242,88 @@ dialog { |
238 | 242 | } |
239 | 243 |
|
240 | 244 | .browser-editor { |
241 | | - flex-direction: column; |
| 245 | + flex-direction: column; |
242 | 246 |
|
243 | | - img { |
244 | | - width: 100%; |
245 | | - &.thumbnail { |
246 | | - max-width: 175px; |
247 | | - } |
| 247 | + img { |
| 248 | + width: 100%; |
| 249 | + &.thumbnail { |
| 250 | + max-width: 175px; |
248 | 251 | } |
| 252 | + } |
249 | 253 |
|
250 | | - form { |
251 | | - display: block; |
252 | | - margin: 0.5rem 1rem; |
253 | | - .form-row { |
254 | | - label { |
255 | | - display: inline-block; |
256 | | - &:has(~ [required]) { |
257 | | - font-weight: bold; |
258 | | - } |
| 254 | + form { |
| 255 | + display: block; |
| 256 | + margin: 0.5rem 1rem; |
| 257 | + .form-row { |
| 258 | + label { |
| 259 | + display: inline-block; |
| 260 | + &:has(~ [required]) { |
| 261 | + font-weight: bold; |
259 | 262 | } |
| 263 | + } |
260 | 264 |
|
261 | | - .errorlist { |
262 | | - display: inline-block; |
263 | | - color: $error-color; |
264 | | - list-style: none; |
265 | | - margin: 0; |
266 | | - } |
| 265 | + .errorlist { |
| 266 | + display: inline-block; |
| 267 | + color: $error-color; |
| 268 | + list-style: none; |
| 269 | + margin: 0; |
| 270 | + } |
267 | 271 |
|
268 | | - input, select, textarea { |
269 | | - display: block; |
270 | | - color: $body-fg-color; |
271 | | - background-color: $body-bg-color; |
272 | | - margin-bottom: 0.5rem; |
273 | | - padding: 4px 8px; |
274 | | - border: 1px solid $border-color; |
275 | | - border-radius: 5px; |
276 | | - max-width: calc(100% - 2rem); |
277 | | - |
278 | | - &:focus-visible { |
279 | | - outline: none; |
280 | | - box-shadow: $focus-visible-box-shadow; |
281 | | - } |
| 272 | + input, select, textarea { |
| 273 | + display: block; |
| 274 | + color: $body-fg-color; |
| 275 | + background-color: $body-bg-color; |
| 276 | + margin-bottom: 0.5rem; |
| 277 | + padding: 4px 8px; |
| 278 | + border: 1px solid $border-color; |
| 279 | + border-radius: 5px; |
| 280 | + max-width: calc(100% - 2rem); |
| 281 | + |
| 282 | + &:focus-visible { |
| 283 | + outline: none; |
| 284 | + box-shadow: $focus-visible-box-shadow; |
282 | 285 | } |
| 286 | + } |
283 | 287 |
|
284 | | - @include labels.labels; |
| 288 | + @include labels.labels; |
285 | 289 |
|
286 | | - .select-labels-field [role="listbox"] { |
287 | | - top: auto; |
288 | | - bottom: 100%; |
289 | | - margin-block-end: 2px; |
290 | | - } |
| 290 | + .select-labels-field [role="listbox"] { |
| 291 | + top: auto; |
| 292 | + bottom: 100%; |
| 293 | + margin-block-end: 2px; |
291 | 294 | } |
| 295 | + } |
292 | 296 |
|
293 | | - .button-row { |
294 | | - display: flex; |
295 | | - justify-content: flex-end; |
296 | | - margin: 2rem 1rem 1rem; |
297 | | - |
298 | | - button { |
299 | | - margin-left: 1rem; |
300 | | - border: none; |
301 | | - border-radius: 5px; |
302 | | - padding: 0.5rem 1rem; |
303 | | - opacity: 0.9; |
304 | | - |
305 | | - &:hover { |
306 | | - opacity: 1; |
307 | | - cursor: pointer; |
308 | | - } |
| 297 | + .button-row { |
| 298 | + display: flex; |
| 299 | + justify-content: flex-end; |
| 300 | + margin: 2rem 1rem 1rem; |
309 | 301 |
|
310 | | - &.default { |
311 | | - background-color: #065fc8; |
312 | | - color: #fff; |
313 | | - } |
| 302 | + button { |
| 303 | + margin-left: 1rem; |
| 304 | + border: none; |
| 305 | + border-radius: 5px; |
| 306 | + padding: 0.5rem 1rem; |
| 307 | + opacity: 0.9; |
314 | 308 |
|
315 | | - &.dismiss { |
316 | | - background-color: #b15107; |
317 | | - color: #fff; |
318 | | - } |
| 309 | + &:hover { |
| 310 | + opacity: 1; |
| 311 | + cursor: pointer; |
| 312 | + } |
| 313 | + |
| 314 | + &.default { |
| 315 | + background-color: #065fc8; |
| 316 | + color: #fff; |
| 317 | + } |
| 318 | + |
| 319 | + &.dismiss { |
| 320 | + background-color: #b15107; |
| 321 | + color: #fff; |
319 | 322 | } |
320 | 323 | } |
321 | 324 | } |
322 | 325 | } |
| 326 | + } |
323 | 327 |
|
324 | 328 | @include dropdown.dropdown; |
325 | 329 |
|
|
0 commit comments