File: style.css

package info (click to toggle)
mousai 0.7.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,560 kB
  • sloc: xml: 26; makefile: 25; sh: 16
file content (154 lines) | stat: -rw-r--r-- 3,315 bytes parent folder | download | duplicates (2)
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
:root {
  --tile-hover-oklch: calc(l * 1.08) c h;
  --tile-active-oklch: calc(l * 0.95) calc(c * 0.95) h;
}

waveform {
  color: var(--accent-color);
  transition: 200ms linear color;
}

waveform.red {
  color: var(--error-color);
}

/* ExternalLinkTile */

.external-link-tile {
  transition-property: background;
}

.external-link-tile.applemusic {
	background: linear-gradient(180deg, #fb5b73 30%, #fa243c 100%);
	color: white;
}
.external-link-tile.applemusic:hover {
	background: linear-gradient(180deg, oklch(from #fb5b73 var(--tile-hover-oklch)) 30%, oklch(from #fa243c var(--tile-hover-oklch)) 100%);
}
.external-link-tile.applemusic:active {
	background: linear-gradient(180deg, oklch(from #fb5b73 var(--tile-active-oklch)) 30%, oklch(from #fa243c var(--tile-active-oklch)) 100%);
}

.external-link-tile.audd {
	background: linear-gradient(180deg, #ee1c52 30%, #c12279 100%);
	color: white;
}
.external-link-tile.audd:hover {
	background: linear-gradient(180deg, oklch(from #ee1c52 var(--tile-hover-oklch)) 30%, oklch(from #c12279 var(--tile-hover-oklch)) 100%);
}
.external-link-tile.audd:active {
	background: linear-gradient(180deg, oklch(from #ee1c52 var(--tile-active-oklch)) 30%, oklch(from #c12279 var(--tile-active-oklch)) 100%);
}

.external-link-tile.spotify {
	background: #1dd05d;
	color: white;
}
.external-link-tile.spotify:hover {
	background: oklch(from #1dd05d var(--tile-hover-oklch));
}
.external-link-tile.spotify:active {
	background: oklch(from #1dd05d var(--tile-active-oklch));
}

.external-link-tile.youtube {
	background: #FF0000;
	color: white;
}
.external-link-tile.youtube:hover {
	background: oklch(from #FF0000 var(--tile-hover-oklch));
}
.external-link-tile.youtube:active {
	background: oklch(from #FF0000 var(--tile-active-oklch));
}

/* HistoryView */

.history-view {
  padding: 12px;
}

.history-view > child {
  margin: 9px;
  padding: 0px;
}

/* LyricsPage */

.lyrics-label {
  line-height: 1.8em;
}

/* RecognizedPageTile */
/* Note: Must be synced with libadwaita flat button style */

recognizedpagetile songtile {
  border-radius: 6px;
  padding: 6px;
}

recognizedpagetile songtile:hover {
  background-color: color-mix(in srgb, currentColor 7%, transparent);
}

recognizedpagetile songtile:active {
  background-color: color-mix(in srgb, currentColor 16%, transparent);
}

/* RecognizerStatus */

.show-results-button {
  padding: 5px 8px;
}

.show-results-button > label {
  padding: 2px 6px;

  color: var(--accent-fg-color);
  background-color: var(--accent-bg-color);
  border-radius: 99999px;

  font-feature-settings: "tnum";
  font-size: 0.8em;
}

/* SongBar */

.activate-song-button {
  padding: 6px;
  padding-right: 12px;
}

.playback-position-scale {
  padding: 0;
  min-height: 6px;
}

.playback-position-scale trough,
.playback-position-scale highlight {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: 6px;
  transition: min-height 100ms ease-out;
}

.playback-position-scale:hover trough,
.playback-position-scale:hover highlight,
.playback-position-scale:active trough,
.playback-position-scale:active highlight {
  min-height: 12px;
}

/* SongTile */

label.new {
  padding: 3px 8px;

  color: var(--accent-fg-color);
  background-color: var(--accent-bg-color);
  border-radius: 99999px;

  font-weight: bold;
}