flaccy 1.5.0

Lossless music player for Linux
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
/* Flaccy for Linux — theme engine stylesheet.
   The flaccy_* and accent/*_bg_color named colors are redefined at runtime by
   theme.rs (adaptive album-art accent + presets); every rule below keys off
   those tokens so the whole app retints live. */

/* ---- ambient window wash ------------------------------------------------ */
/* Radial accent glow pooling from the corners over the tinted window base;
   shows through the transparent library grids. Cross-fades on palette change. */
.flaccy-window {
  background-image:
    radial-gradient(circle at 14% 6%, alpha(@flaccy_wash_a, 0.40), transparent 44%),
    radial-gradient(circle at 86% 2%, alpha(@flaccy_wash_b, 0.34), transparent 48%),
    radial-gradient(circle at 50% 118%, alpha(@flaccy_accent, 0.26), transparent 56%);
  transition: background-image 600ms ease, background-color 600ms ease;
}

/* ---- cover art ---------------------------------------------------------- */
.cover {
  border-radius: 10px;
  box-shadow: 0 1px 4px alpha(#000, 0.28), 0 4px 16px alpha(#000, 0.16);
}

.cover-large {
  border-radius: 14px;
  box-shadow:
    0 2px 10px alpha(#000, 0.30),
    0 12px 40px alpha(#000, 0.22),
    0 0 0 1px alpha(#fff, 0.05) inset;
}

.album-title {
  font-weight: 600;
}

.dim {
  opacity: 0.55;
}

.dim-more {
  opacity: 0.35;
}

/* ---- badges & chips ----------------------------------------------------- */
.quality-badge {
  background-image: linear-gradient(160deg, alpha(@accent_bg_color, 0.22), alpha(@accent_bg_color, 0.10));
  box-shadow: inset 0 0 0 1px alpha(@accent_bg_color, 0.30);
  color: @accent_color;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.loved-heart {
  color: #ff476b;
  -gtk-icon-shadow: 0 0 10px alpha(#ff476b, 0.55);
}

.genre-chip {
  background-color: alpha(@window_fg_color, 0.08);
  box-shadow: inset 0 0 0 1px alpha(@window_fg_color, 0.08);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.genre-chip:hover {
  background-color: alpha(@accent_bg_color, 0.16);
  box-shadow: inset 0 0 0 1px alpha(@accent_bg_color, 0.35);
}

.chip {
  padding: 2px 12px;
  font-size: 12px;
}

.wantlist-badge {
  background-image: linear-gradient(160deg, @accent_bg_color, mix(@accent_bg_color, #000, 0.18));
  color: @accent_fg_color;
  border-radius: 9999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px alpha(@accent_bg_color, 0.45);
}

/* ---- transport bar ------------------------------------------------------ */
.transport {
  padding: 10px 16px;
  background-image:
    linear-gradient(180deg, alpha(@flaccy_accent, 0.10), transparent 62%),
    linear-gradient(180deg, alpha(#fff, 0.03), transparent 8%);
  box-shadow:
    0 -1px 0 0 alpha(@window_fg_color, 0.07),
    0 -10px 30px alpha(#000, 0.18);
  transition: background-image 600ms ease;
}

.transport-title {
  font-weight: 600;
}

.track-number {
  font-variant-numeric: tabular-nums;
  opacity: 0.45;
}

.disc-header {
  margin-bottom: 2px;
}

.disc-header-icon {
  color: @accent_color;
  opacity: 0.9;
}

.disc-header-label {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: @accent_color;
}

.disc-header-meta {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.5;
}

.duration-label {
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.time-label {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  opacity: 0.6;
}

/* Glowing accent play pill; pulses only while playing to avoid idle repaint. */
.play-pill {
  border-radius: 9999px;
  min-width: 46px;
  min-height: 46px;
  box-shadow: 0 4px 14px alpha(@accent_bg_color, 0.42);
  transition: box-shadow 220ms ease, transform 150ms ease;
}

.play-pill:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px alpha(@accent_bg_color, 0.62);
}

.play-pill:active {
  transform: scale(0.95);
}

.transport.playing .play-pill {
  animation: play-pulse 2.6s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 4px 14px alpha(@accent_bg_color, 0.38); }
  50%      { box-shadow: 0 5px 24px alpha(@accent_bg_color, 0.78); }
}

/* Accent-filled seek + volume sliders with a soft glow on the filled portion. */
.transport scale > trough {
  min-height: 5px;
  border-radius: 9999px;
  background-color: alpha(@window_fg_color, 0.14);
}

.transport scale > trough > highlight {
  border-radius: 9999px;
  background-image: linear-gradient(90deg, alpha(@accent_bg_color, 0.85), @accent_bg_color);
  box-shadow: 0 0 10px alpha(@accent_bg_color, 0.5);
}

.transport scale > trough > slider {
  min-width: 13px;
  min-height: 13px;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px alpha(#000, 0.4), 0 0 0 1px alpha(@accent_bg_color, 0.3);
  transition: transform 120ms ease;
}

.transport scale:hover > trough > slider {
  transform: scale(1.12);
}

/* Now-playing equalizer overlaid on the mini artwork. */
.equalizer {
  background-color: alpha(#000, 0.42);
  border-radius: 8px 0 8px 0;
  padding: 4px 5px 3px 5px;
  min-height: 18px;
}

.eq-bar {
  min-width: 3px;
  min-height: 12px;
  border-radius: 2px;
  background-color: #ffffff;
  transform: scaleY(0.35);
  transform-origin: bottom center;
}

.transport.playing .equalizer .eq-bar {
  animation: eq-bounce 820ms ease-in-out infinite alternate;
}

.transport.playing .equalizer .eq-bar:nth-child(1) { animation-delay: 0ms; }
.transport.playing .equalizer .eq-bar:nth-child(2) { animation-delay: 260ms; }
.transport.playing .equalizer .eq-bar:nth-child(3) { animation-delay: 130ms; }

@keyframes eq-bounce {
  from { transform: scaleY(0.28); }
  to   { transform: scaleY(1.0); }
}

/* ---- sidebar ------------------------------------------------------------ */
.navigation-sidebar {
  background-color: transparent;
  padding: 6px 4px;
}

.navigation-sidebar > row {
  border-radius: 11px;
  margin: 1px 6px;
  transition: background-color 160ms ease, box-shadow 200ms ease;
}

.navigation-sidebar > row:hover {
  background-color: alpha(@window_fg_color, 0.06);
}

.navigation-sidebar > row:selected {
  background-image: linear-gradient(120deg, alpha(@accent_bg_color, 0.30), alpha(@accent_bg_color, 0.14));
  box-shadow:
    inset 0 0 0 1px alpha(@accent_bg_color, 0.34),
    0 3px 12px alpha(@accent_bg_color, 0.22);
  color: @accent_color;
}

.navigation-sidebar > row:selected image {
  color: @accent_color;
}

/* ---- transparent library surfaces --------------------------------------- */
/* The ambient .flaccy-window wash is meant to show through the library grids
   and side panels. GTK's default view/sidebar backgrounds are opaque and swap
   to a dimmed variant under :backdrop (unfocused window) — that shift is what
   reads as a stray color behind the queue, lyrics, and albums. Force these
   surfaces transparent in both focused and backdrop states so only the wash
   shows. Cards with their own explicit fills (stat-tile, guide-card, …) set
   background-color directly and are unaffected. */
.album-grid,
.album-grid:backdrop,
.side-panel,
.side-panel:backdrop,
.side-panel scrolledwindow,
.side-panel scrolledwindow:backdrop,
.side-panel viewport,
.side-panel list,
.side-panel list:backdrop,
overlay-split-view > .sidebar-pane,
overlay-split-view > .sidebar-pane:backdrop {
  background: none;
  background-color: transparent;
}

/* ---- lyrics ------------------------------------------------------------- */
.lyric-line {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.35;
  padding: 6px 4px;
  transition: opacity 240ms ease, color 240ms ease;
}

.lyric-line-current {
  font-size: 16px;
  font-weight: 700;
  opacity: 1.0;
  padding: 6px 4px;
  color: @accent_color;
  text-shadow: 0 0 16px alpha(@accent_bg_color, 0.4);
  transition: opacity 240ms ease, color 240ms ease;
}

/* ---- stats -------------------------------------------------------------- */
.stat-value {
  font-size: 30px;
  font-weight: 800;
}

.stat-caption {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.5;
  letter-spacing: 0.08em;
}

.stat-tile {
  background-color: alpha(@flaccy_surface, 0.55);
  background-image: linear-gradient(160deg, alpha(#fff, 0.06), transparent 46%);
  box-shadow:
    inset 0 0 0 1px alpha(#fff, 0.06),
    0 1px 3px alpha(#000, 0.2),
    0 8px 26px alpha(#000, 0.14);
  border-radius: 16px;
  padding: 16px 20px;
  transition: box-shadow 220ms ease;
}

.stat-tile:hover {
  box-shadow:
    inset 0 0 0 1px alpha(@accent_bg_color, 0.22),
    0 2px 6px alpha(#000, 0.24),
    0 12px 34px alpha(@accent_bg_color, 0.14);
}

.top-list-rank {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  opacity: 0.4;
}

/* ---- accents & toggles -------------------------------------------------- */
.accent-toggle {
  color: @accent_color;
}

/* ---- library tiles ------------------------------------------------------ */
.album-grid > child {
  padding: 12px 9px;
  background: none;
}

.album-grid > child:hover,
.album-grid > child:selected {
  background: none;
}

.album-tile {
  border-radius: 14px;
  padding: 8px;
  transition: background-color 180ms ease, box-shadow 240ms ease, transform 180ms ease;
}

.album-tile:hover {
  background-color: alpha(@window_fg_color, 0.06);
  box-shadow: 0 12px 34px alpha(#000, 0.24), 0 0 0 1px alpha(@accent_bg_color, 0.16);
  transform: translateY(-3px);
}

/* ---- made-for-you / suggested cards ------------------------------------- */
.suggested-card {
  background-color: alpha(@flaccy_surface, 0.5);
  background-image: linear-gradient(150deg, alpha(@accent_bg_color, 0.12), transparent 55%);
  box-shadow:
    inset 0 0 0 1px alpha(#fff, 0.06),
    0 2px 6px alpha(#000, 0.18),
    0 10px 30px alpha(#000, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  transition: box-shadow 220ms ease, transform 180ms ease;
}

.suggested-card:hover {
  box-shadow:
    inset 0 0 0 1px alpha(@accent_bg_color, 0.28),
    0 4px 10px alpha(#000, 0.22),
    0 16px 40px alpha(@accent_bg_color, 0.16);
  transform: translateY(-2px);
}

/* ---- queue -------------------------------------------------------------- */
.queue-history-row {
  opacity: 0.45;
}

.queue-current-row {
  background-image: linear-gradient(120deg, alpha(@accent_bg_color, 0.20), alpha(@accent_bg_color, 0.08));
  box-shadow: inset 0 0 0 1px alpha(@accent_bg_color, 0.24);
  border-radius: 12px;
}

/* ---- guide -------------------------------------------------------------- */
.guide-card {
  background-color: alpha(@flaccy_surface, 0.45);
  background-image: linear-gradient(160deg, alpha(#fff, 0.05), transparent 44%);
  box-shadow:
    inset 0 0 0 1px alpha(#fff, 0.05),
    0 6px 24px alpha(#000, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
}

.guide-takeaway {
  background-image: linear-gradient(120deg, alpha(@accent_bg_color, 0.20), alpha(@accent_bg_color, 0.10));
  box-shadow: inset 0 0 0 1px alpha(@accent_bg_color, 0.26);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

/* ---- year in music ------------------------------------------------------ */
.yim-value {
  font-size: 22px;
  font-weight: 800;
}

/* ---- pill buttons ------------------------------------------------------- */
button.pill.suggested-action {
  box-shadow: 0 4px 14px alpha(@accent_bg_color, 0.4);
  transition: box-shadow 200ms ease, transform 150ms ease;
}

button.pill.suggested-action:hover {
  box-shadow: 0 6px 22px alpha(@accent_bg_color, 0.6);
  transform: translateY(-1px);
}

button.pill.suggested-action:active {
  transform: translateY(0);
}

/* ---- now playing (focus player) ----------------------------------------- */
/* Blurred, scaled cover fills the page; the scrim keeps text legible and adds
   an accent wash. filter: blur renders once per track (static), so it's cheap. */
.np-backdrop {
  filter: blur(64px);
  opacity: 0.55;
  transform: scale(1.25);
}

.np-scrim {
  background-image:
    radial-gradient(circle at 50% 22%, alpha(@flaccy_accent, 0.20), transparent 55%),
    linear-gradient(180deg, alpha(@window_bg_color, 0.55), alpha(@window_bg_color, 0.86) 70%);
}

.np-art {
  border-radius: 20px;
  box-shadow:
    0 2px 10px alpha(#000, 0.35),
    0 24px 70px alpha(#000, 0.5),
    0 0 0 1px alpha(#fff, 0.06) inset;
}

.np-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.np-artist {
  font-size: 17px;
  font-weight: 600;
  color: @accent_color;
}

.np-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.np-play {
  min-width: 68px;
  min-height: 68px;
  box-shadow: 0 6px 22px alpha(@accent_bg_color, 0.5);
  transition: box-shadow 220ms ease, transform 150ms ease;
}

.np-play:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px alpha(@accent_bg_color, 0.7);
}

.np-play:active {
  transform: scale(0.96);
}

.np-skip {
  min-width: 44px;
  min-height: 44px;
}

.np-skip image {
  -gtk-icon-size: 22px;
}

.np-seek > trough {
  min-height: 6px;
  border-radius: 9999px;
  background-color: alpha(@window_fg_color, 0.18);
}

.np-seek > trough > highlight {
  border-radius: 9999px;
  background-image: linear-gradient(90deg, alpha(@accent_bg_color, 0.85), @accent_bg_color);
  box-shadow: 0 0 12px alpha(@accent_bg_color, 0.55);
}

.np-seek > trough > slider {
  min-width: 15px;
  min-height: 15px;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 5px alpha(#000, 0.45), 0 0 0 1px alpha(@accent_bg_color, 0.35);
}

/* ---- now playing: in-view lenses (Player / Lyrics / Up Next) ------------ */
/* The blurred wash is the outermost layer; the ToolbarView (header + switched
   ViewStack + persistent transport dock) floats over it fully transparent so
   the cover bleeds behind every lens. */
.np-toolbar,
.np-viewstack,
.np-view {
  background: none;
  background-color: transparent;
}

.np-view scrolledwindow,
.np-view viewport,
.np-view list {
  background: none;
  background-color: transparent;
}

/* Lyrics / Up Next columns beside the hero art — glass panels floating over
   the wash, revealed by the header toggles. */
.np-side {
  background-color: alpha(@window_bg_color, 0.44);
  border-radius: 18px;
  margin: 12px 8px 12px 8px;
  box-shadow:
    inset 0 0 0 1px alpha(#fff, 0.06),
    0 12px 40px alpha(#000, 0.28);
}

/* Header pill toggles that reveal the side columns; light up in the accent
   when their column is showing. */
.np-toggle {
  border-radius: 9999px;
  padding: 3px 14px;
  transition: background-color 160ms ease, box-shadow 200ms ease;
}

.np-toggle:checked {
  background-color: alpha(@accent_bg_color, 0.85);
  color: @accent_fg_color;
  box-shadow: 0 2px 10px alpha(@accent_bg_color, 0.4);
}

/* Persistent transport dock — a frosted bar; the ToolbarView reserves its
   height so the queue's last row is never occluded. */
.np-transport {
  background-color: alpha(@window_bg_color, 0.72);
  border-top: 1px solid alpha(@window_fg_color, 0.08);
  padding: 10px 20px 14px 20px;
}

/* Hi-res / quality chip under the title in the Player lens. */
.np-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: alpha(@accent_bg_color, 0.18);
  box-shadow: inset 0 0 0 1px alpha(@accent_bg_color, 0.30);
  color: @accent_color;
}

.mini-art {
  transition: transform 150ms ease;
}

.mini-art:hover {
  transform: scale(1.05);
}

/* ---- theme preview swatch (preferences) --------------------------------- */
.theme-swatch {
  min-width: 26px;
  min-height: 26px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px alpha(#fff, 0.22), 0 2px 6px alpha(#000, 0.3);
}

.swatch-adaptive {
  background-image: linear-gradient(135deg, #ff4d6d, #9d4edd 45%, #2dd4bf);
}
.swatch-rosewater { background-color: #ff4d6d; }
.swatch-aurora    { background-image: linear-gradient(135deg, #2dd4bf, #9d4edd); }
.swatch-nocturne  { background-color: #6e8bff; }
.swatch-verdant   { background-color: #34d399; }
.swatch-sunset    { background-image: linear-gradient(135deg, #fb8b24, #e01b24); }
.swatch-mono      { background-color: #9ca3af; }

/* ---- preferences hero --------------------------------------------------- */
/* Branded banner + live library dashboard atop Preferences. Keys off the same
   accent tokens as .flaccy-window, so it retints with the theme. */
.flaccy-hero {
  padding: 22px 22px 20px 22px;
  border-radius: 20px;
  background-image:
    radial-gradient(circle at 10% -6%, alpha(@flaccy_wash_a, 0.55), transparent 52%),
    radial-gradient(circle at 94% 4%, alpha(@flaccy_wash_b, 0.42), transparent 56%),
    linear-gradient(160deg, alpha(@flaccy_accent, 0.22), alpha(@flaccy_surface, 0.32));
  box-shadow:
    inset 0 0 0 1px alpha(#fff, 0.06),
    0 2px 6px alpha(#000, 0.18),
    0 14px 40px alpha(#000, 0.18);
  transition: background-image 600ms ease;
}

.flaccy-hero-glyph {
  min-width: 48px;
  min-height: 48px;
  border-radius: 13px;
  color: #ffffff;
  background-image: linear-gradient(135deg, #ff4d6d, #9d4edd 46%, #2dd4bf);
  box-shadow:
    0 4px 14px alpha(#000, 0.28),
    inset 0 0 0 1px alpha(#fff, 0.16);
}

.flaccy-hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.flaccy-hero-tagline {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.6;
}

.flaccy-hero-stats {
  margin-top: 2px;
}

.flaccy-hero-divider {
  min-width: 1px;
  min-height: 34px;
  background-color: alpha(@window_fg_color, 0.14);
}