100 lines
2.0 KiB
CSS
100 lines
2.0 KiB
CSS
/***
|
|
|
|
Olive - Non-Linear Video Editor
|
|
Copyright (C) 2019 Olive Team
|
|
|
|
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/>.
|
|
|
|
***/
|
|
|
|
/***
|
|
|
|
Olive Light - Qt CSS Theme
|
|
|
|
A fairly basic CSS style for the Olive Video Editor/Qt Fusion.
|
|
|
|
The primary colors are:
|
|
|
|
Main: #d0d0d0
|
|
Text: #000000
|
|
Disabled Text: #808080
|
|
Highlights: #2a82da
|
|
Highlight Text: #ffffff
|
|
Dark: #f0f0f0
|
|
|
|
**/
|
|
|
|
/* Default widget colors */
|
|
QWidget {
|
|
background: #d0d0d0;
|
|
color: #000000;
|
|
}
|
|
|
|
/* Default highlight colors */
|
|
QWidget::selected {
|
|
background: #2a82da;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Default disabled colors */
|
|
QWidget::disabled {
|
|
color: #808080;
|
|
}
|
|
|
|
/* Default link color */
|
|
a {
|
|
color: #2a82da;
|
|
}
|
|
|
|
/* Item views use a darker background color */
|
|
QAbstractItemView {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* Other children of QAbstractItemView (e.g. headers) should use the original background however */
|
|
QAbstractItemView * {
|
|
background: #d0d0d0;
|
|
}
|
|
|
|
/* QLineEdit background is dark */
|
|
QLineEdit {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* QMenu background is dark */
|
|
QMenu {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* QProgressBar background is dark */
|
|
QProgressBar {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* Ensure QPushButtons look dark when checked */
|
|
QPushButton::checked {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* Ensure QMenu separators stand out */
|
|
QMenu::separator {
|
|
background: #d0d0d0;
|
|
}
|
|
|
|
/* ToolTips use dark */
|
|
QToolTip {
|
|
background: #f0f0f0;;
|
|
color: #000000;
|
|
}
|