/* * ***************************************************************************** * Copyright (C) 2014-2026 Dennis Sheirer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * 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 * **************************************************************************** */ /* Main window. Colors are derived from the theme's looked-up colors so they follow every application theme. */ .main-window { -fx-background-color: -fx-background; } .main-window .main-hidden-bar { -fx-padding: 4 8 4 10; -fx-background-color: derive(-fx-background, -6%); -fx-border-color: transparent transparent derive(-fx-background, -25%) transparent; } .main-window .main-hidden-bar-icon { -fx-fill: -fx-accent; } .main-window .main-hidden-bar-label { -fx-opacity: 0.8; } .main-window .main-playlist-tab-icon { -fx-fill: -fx-accent; } /* Calls tab: a TO/FROM search field shows a selected alias (rather than typed text) in bold */ .calls-view .calls-alias-search:alias-selected { -fx-font-weight: bold; } /* Calls tab: calls that are playing on an audio channel. Left (and mono) is blue and right is orange, matching the channel tags in the audio panel. The row tint is a translucent overlay so it works with every theme and with the row selection color. Chip text is set on the label and its .text node for the dark theme. */ .calls-view { -calls-playing-left: #4a90d9; -calls-playing-right: #e8912d; } /* The channel color edge is a background layer, not a border: a border takes layout space and shifts the row's cells out of alignment with the other rows. */ .calls-view .table-row-cell:playing-left, .calls-view .table-row-cell:playing-mono { -fx-background-color: -fx-table-cell-border-color, -calls-playing-left, -fx-background, rgba(74, 144, 217, 0.20); -fx-background-insets: 0, 0 0 1 0, 0 0 1 4, 0 0 1 4; } .calls-view .table-row-cell:playing-right { -fx-background-color: -fx-table-cell-border-color, -calls-playing-right, -fx-background, rgba(232, 145, 45, 0.20); -fx-background-insets: 0, 0 0 1 0, 0 0 1 4, 0 0 1 4; } .calls-view .calls-playing-chip { -fx-background-radius: 4; -fx-padding: 0 6 0 5; -fx-graphic-text-gap: 4; -fx-font-size: 0.8em; -fx-font-weight: bold; -fx-text-fill: white; } .calls-view .calls-playing-chip .text { -fx-fill: white; } .calls-view .calls-playing-chip .calls-playing-icon { -fx-fill: white; } .calls-view .calls-playing-left, .calls-view .calls-playing-mono { -fx-background-color: -calls-playing-left; } .calls-view .calls-playing-right { -fx-background-color: -calls-playing-right; }