audrey/resources/style.css

125 lines
2.9 KiB
CSS
Raw Normal View History

2024-11-16 08:34:32 +00:00
toolbarview#main {
2024-11-13 21:28:49 +00:00
/* from amberol */
2024-11-16 09:15:45 +00:00
background:
linear-gradient(
2024-11-25 19:18:10 +00:00
111deg,
oklch(from var(--background-color-0) l c h / 0.55),
oklch(from var(--background-color-0) l c h / 0) 65%
),
2024-11-16 09:15:45 +00:00
linear-gradient(
2024-11-25 19:18:10 +00:00
222deg,
oklch(from var(--background-color-1) l c h / 0.55),
oklch(from var(--background-color-1) l c h / 0) 65%
),
2024-11-16 09:15:45 +00:00
linear-gradient(
2024-11-25 19:18:10 +00:00
333deg,
oklch(from var(--background-color-2) l c h / 0.55),
oklch(from var(--background-color-2) l c h / 0) 65%
);
2024-11-13 21:28:49 +00:00
transition-property: background;
2024-11-25 19:18:10 +00:00
transition-duration: 450ms;
transition-timing-function: cubic-bezier(0.13, 0.6, 0.8, 0.5);
2024-11-13 21:28:49 +00:00
}
2024-10-12 18:41:03 +00:00
#seek-scale slider {
margin: 0px;
opacity: 0%;
min-width: 10px;
min-height: 10px;
}
2024-10-12 18:44:10 +00:00
2024-11-16 09:04:21 +00:00
#seek-scale trough highlight {
background-color: var(--background-color-0);
}
2024-10-12 18:44:10 +00:00
#volume-scale slider {
margin: -5px;
min-width: 15px;
min-height: 15px;
}
2024-10-19 12:04:52 +00:00
2024-11-23 14:24:33 +00:00
.mute #volume-scale trough highlight {
background-color: oklch(from var(--accent-bg-color) l 0% h);
}
2024-11-13 17:10:45 +00:00
#play-queue listview {
2024-11-25 19:18:10 +00:00
background-color: oklch(0 0 0 / 0);
2024-11-13 17:10:45 +00:00
}
2024-11-05 15:25:17 +00:00
/* make drag and drop indicator take up entire perimeter */
#play-queue listview row {
padding: 0;
}
#play-queue .playing {
2024-11-25 19:18:10 +00:00
background-color: color-mix(in oklch, var(--accent-bg-color) 40%, transparent);
}
#play-queue .playing label.title {
2024-10-19 12:04:52 +00:00
font-weight: bold;
}
2024-11-07 20:54:01 +00:00
2024-11-13 17:10:45 +00:00
gridview.albums {
2024-11-25 19:18:10 +00:00
background-color: oklch(0 0 0 / 0);
2024-11-13 17:10:45 +00:00
}
2024-11-07 20:54:01 +00:00
gridview.albums child {
margin: 10px;
}
gridview.albums child image {
margin: 10px;
}
2024-11-16 08:57:14 +00:00
#play-queue-page picture.playing-cover-art {
border-radius: 10px;
2024-11-25 19:18:10 +00:00
box-shadow: oklch(0 0 0 / 0.6) 0px 0px 7px;
2024-11-16 08:57:14 +00:00
}
2024-11-17 10:26:40 +00:00
2024-11-24 18:16:37 +00:00
.loading-cover picture.playing-cover-art {
2024-11-25 16:16:09 +00:00
transition: 500ms;
filter: contrast(110%) grayscale(100%) sepia(50%);
2024-11-24 18:16:37 +00:00
}
2024-11-17 10:26:40 +00:00
/* album carousel */
.album-carousel listview {
2024-11-25 19:18:10 +00:00
background-color: oklch(0 0 0 / 0);
2024-11-17 10:26:40 +00:00
}
.album-carousel listview row {
padding-left: 10px;
padding-right: 10px;
}
.album-carousel listview row image {
border-radius: 3px;
2024-11-25 19:18:10 +00:00
background-color: oklch(0 0 0);
2024-11-17 10:26:40 +00:00
}
.album-carousel .labels {
border-radius: 3px;
2024-11-25 19:18:10 +00:00
}
#seek-scale trough, .album-carousel .labels {
/* sort of adjusted rotation of the toolbarview idk */
2024-11-17 10:26:40 +00:00
background:
linear-gradient(
2024-11-25 19:18:10 +00:00
220deg,
oklch(from var(--background-color-0) calc(l * 1.15) calc(c * 0.85) h / 0.15) 10%,
oklch(from var(--background-color-1) calc(l * 1.15) calc(c * 0.85) calc(h + 30) / 0.06) 70%
),
linear-gradient(
40deg,
oklch(from var(--background-color-1) calc(l * 1.15) calc(c * 0.85) calc(h - 30) / 0.15) 10%,
oklch(from var(--background-color-2) calc(l * 1.15) calc(c * 0.85) calc(h - 30) / 0.06) 70%
);
box-shadow: oklch(0 0 0 / 0.25) 0px 0px 3px;
}
.album-carousel .labels:hover {
/* fancy hover */
background-color: oklch(from var(--accent-bg-color) calc(l * 0.8) calc(c * 0.8) h / 0.3);
transition: 300ms;
2024-11-17 10:26:40 +00:00
}
2024-11-25 19:18:10 +00:00
/* TODO: hover effect for whole album, not just label */