- Add explicit QTabBar::tab styles to olive-dark/style.css so inactive KDDockWidgets tabs render with a dark background and white text instead of falling back to the native macOS light tab appearance. - Update macOS CD to stage Oak.app alongside an Applications symlink before creating the DMG, matching standard macOS installer disk images.
57 lines
1.4 KiB
CSS
57 lines
1.4 KiB
CSS
/***
|
|
|
|
Olive - Non-Linear Video Editor
|
|
Copyright (C) 2023 Olive Studios LLC
|
|
|
|
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 <http://www.gnu.org/licenses/>.
|
|
|
|
***/
|
|
|
|
/* Hack that forces checked QPushButtons to use dark color */
|
|
QPushButton:checked {
|
|
background: #191919;
|
|
}
|
|
|
|
/* Make tab bar a little less chunky */
|
|
QTabBar {
|
|
font-size: 9pt;
|
|
}
|
|
|
|
/* Force KDDockWidgets / QTabBar tabs to use dark palette colors.
|
|
On macOS the native tab style can otherwise render light backgrounds
|
|
with light text, making inactive tabs unreadable. */
|
|
QTabBar::tab {
|
|
background: #353535;
|
|
color: #FFFFFF;
|
|
border: 1px solid #2a2a2a;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
QTabBar::tab:selected {
|
|
background: #2A82DA;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
QTabBar::tab:hover {
|
|
background: #404040;
|
|
}
|
|
|
|
QTabBar::tab:!selected {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
QTabBar::close-button {
|
|
image: none;
|
|
}
|