helvum/data/ui/style.css
2026-05-04 16:34:07 +02:00

69 lines
1.6 KiB
CSS

/* Copyright 2021 Tom A. Wagner <tom.a.wagner@protonmail.com>
Copyright 2026 Jaŭhien Lavonćjeŭ <jauhien.lavoncjeu@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: GPL-3.0-only
*/
.audio {
background: var(--accent-blue);
color: var(--accent-blue);
}
.video {
background: var(--accent-yellow);
color: var(--accent-yellow);
}
.midi {
background: var(--accent-red);
color: var(--accent-red);
}
node {
/* Compared to the default card color, this is not transparent in dark-mode
and provides a better contrast to the background in light mode */
background-color: var(--headerbar-bg-color);
}
node .node-title {
padding: 4px 7px;
}
port label {
padding: 4px 6px;
}
port-handle {
border-radius: 50%;
background-color: var(--accent-slate);
color: var(--accent-slate);
}
button.rounded {
padding: 6px;
border-radius: 9999px;
}
entry.rounded {
border-radius: 9999px;
}
entry.rounded > :first-child {
padding-left: 12px;
}
entry.rounded > :nth-child(2) {
padding-right: 12px;
}