2022-04-19 10:14:01 +02:00
|
|
|
/* Copyright 2021 Tom A. Wagner <tom.a.wagner@protonmail.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
|
|
|
|
|
*/
|
|
|
|
|
|
2023-07-30 12:09:08 +02:00
|
|
|
@define-color media-type-audio rgb( 50, 100, 240);
|
|
|
|
|
@define-color media-type-video rgb(200, 200, 0);
|
|
|
|
|
@define-color media-type-midi rgb(200, 0, 50);
|
|
|
|
|
@define-color media-type-unknown rgb(128, 128, 128);
|
2021-11-13 20:08:47 +01:00
|
|
|
|
2021-05-09 21:34:47 +02:00
|
|
|
.audio {
|
2023-07-30 12:09:08 +02:00
|
|
|
background: @media-type-audio;
|
2021-05-09 21:34:47 +02:00
|
|
|
color: black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video {
|
2023-07-30 12:09:08 +02:00
|
|
|
background: @media-type-video;
|
2021-05-09 21:34:47 +02:00
|
|
|
color: black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.midi {
|
2023-07-30 12:09:08 +02:00
|
|
|
background: @media-type-midi;
|
2021-05-09 21:34:47 +02:00
|
|
|
color: black;
|
2021-11-23 17:09:46 +01:00
|
|
|
}
|
|
|
|
|
|
2023-08-28 20:57:11 +02:00
|
|
|
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: @headerbar_bg_color;
|
2023-07-17 02:45:25 +02:00
|
|
|
}
|
|
|
|
|
|
2023-10-11 11:17:30 +03:00
|
|
|
node .node-title {
|
2023-09-18 17:55:23 +02:00
|
|
|
padding: 4px 7px;
|
2023-08-28 13:14:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
port label {
|
2023-09-18 17:55:23 +02:00
|
|
|
padding: 4px 6px;
|
2023-07-17 02:45:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
port-handle {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: @media-type-unknown;
|
|
|
|
|
}
|
2023-10-10 18:16:23 +00:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|