2016-10-16 19:18:55 +00:00
|
|
|
/*
|
2016-10-16 22:55:17 +00:00
|
|
|
* BreezeDark stylesheet.
|
2016-10-16 19:18:55 +00:00
|
|
|
*
|
|
|
|
* :author: Colin Duquesnoy
|
|
|
|
* :editor: Alex Huszagh
|
2016-10-26 18:12:35 +00:00
|
|
|
* :license: MIT, see LICENSE.md
|
2016-10-16 19:18:55 +00:00
|
|
|
*
|
|
|
|
* This is originally a fork of QDarkStyleSheet, and is based on Breeze/
|
|
|
|
* BreezeDark color scheme, but is in no way affiliated with KDE.
|
2016-10-26 18:12:35 +00:00
|
|
|
*
|
2016-10-16 19:18:55 +00:00
|
|
|
* ---------------------------------------------------------------------
|
|
|
|
* The MIT License (MIT)
|
|
|
|
*
|
|
|
|
* Copyright (c) <2013-2014> <Colin Duquesnoy>
|
|
|
|
* Copyright (c) <2015-2016> <Alex Huszagh>
|
|
|
|
*
|
2016-10-26 18:12:35 +00:00
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
2016-10-16 19:18:55 +00:00
|
|
|
* the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
2016-10-26 18:12:35 +00:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
|
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
2016-10-16 19:18:55 +00:00
|
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
* ---------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
QToolTip
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
/* 0.2ex is the smallest value that's not ignored on Windows. */
|
|
|
|
border: 0.04em solid #eff0f1;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-16 19:30:46 +00:00
|
|
|
alternate-background-color: #31363b;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
padding: 0.1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
opacity: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
QWidget
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
selection-background-color: #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
selection-color: #eff0f1;
|
|
|
|
background-clip: border;
|
|
|
|
border-image: none;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QWidget:disabled
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
color: #454545;
|
|
|
|
background-color: #31363b;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
spacing: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
outline: none;
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
margin-bottom: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
opacity: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:disabled
|
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
color: #b0b0b0;
|
2021-07-15 23:27:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox
|
|
|
|
{
|
|
|
|
/* Need to make sure the groupbox doesn't compress below the title. */
|
|
|
|
min-height: 1.2em;
|
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
/**
|
|
|
|
* This gives us enough space at the top to ensure we can move the
|
|
|
|
* title to be inside the guidelines, and the padding at the top
|
|
|
|
* ensures we have space below the title.
|
|
|
|
*/
|
|
|
|
margin-top: 0.5em;
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox:focus
|
|
|
|
{
|
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox::title
|
|
|
|
{
|
|
|
|
/* We need to move 0.6em up to be inside the lines, +1em for padding. */
|
|
|
|
top: -1.6em;
|
|
|
|
subcontrol-origin: content;
|
|
|
|
subcontrol-position: top center;
|
|
|
|
background: #31363b;
|
|
|
|
padding-left: 0.2em;
|
|
|
|
padding-right: 0.2em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 02:09:27 +00:00
|
|
|
QCheckBox::indicator,
|
|
|
|
QTreeView::indicator
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked,
|
2021-07-16 02:09:27 +00:00
|
|
|
QCheckBox::indicator:unchecked:focus,
|
|
|
|
QTreeView::indicator:unchecked,
|
|
|
|
QTreeView::indicator:unchecked:focus
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:hover,
|
|
|
|
QCheckBox::indicator:unchecked:pressed,
|
2021-07-16 02:09:27 +00:00
|
|
|
QTreeView::indicator:unchecked:hover,
|
|
|
|
QTreeView::indicator:unchecked:pressed,
|
2021-07-15 23:27:07 +00:00
|
|
|
QGroupBox::indicator:unchecked,
|
2016-10-16 19:18:55 +00:00
|
|
|
QGroupBox::indicator:unchecked:hover,
|
|
|
|
QGroupBox::indicator:unchecked:focus,
|
|
|
|
QGroupBox::indicator:unchecked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_unchecked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QCheckBox::indicator:checked,
|
2021-07-16 02:09:27 +00:00
|
|
|
QTreeView::indicator:checked,
|
2021-07-15 23:27:07 +00:00
|
|
|
QGroupBox::indicator:checked
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:hover,
|
|
|
|
QCheckBox::indicator:checked:focus,
|
|
|
|
QCheckBox::indicator:checked:pressed,
|
2021-07-16 02:09:27 +00:00
|
|
|
QTreeView::indicator:checked:hover,
|
|
|
|
QTreeView::indicator:checked:focus,
|
|
|
|
QTreeView::indicator:checked:pressed,
|
2016-10-16 19:18:55 +00:00
|
|
|
QGroupBox::indicator:checked:hover,
|
|
|
|
QGroupBox::indicator:checked:focus,
|
|
|
|
QGroupBox::indicator:checked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 02:09:27 +00:00
|
|
|
QCheckBox::indicator:indeterminate,
|
|
|
|
QTreeView::indicator:indeterminate
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_indeterminate.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate:focus,
|
|
|
|
QCheckBox::indicator:indeterminate:hover,
|
2021-07-16 02:09:27 +00:00
|
|
|
QCheckBox::indicator:indeterminate:pressed,
|
|
|
|
QTreeView::indicator:indeterminate:focus,
|
|
|
|
QTreeView::indicator:indeterminate:hover,
|
|
|
|
QTreeView::indicator:indeterminate:pressed
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_indeterminate.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 02:09:27 +00:00
|
|
|
QCheckBox::indicator:indeterminate:disabled,
|
|
|
|
QTreeView::indicator:indeterminate:disabled
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_indeterminate_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:disabled,
|
2021-07-16 02:09:27 +00:00
|
|
|
QTreeView::indicator:checked:disabled,
|
2016-10-16 19:18:55 +00:00
|
|
|
QGroupBox::indicator:checked:disabled
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_checked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:disabled,
|
2021-07-16 02:09:27 +00:00
|
|
|
QTreeView::indicator:unchecked:disabled,
|
2016-10-16 19:18:55 +00:00
|
|
|
QGroupBox::indicator:unchecked:disabled
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/dark/checkbox_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
spacing: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
outline: none;
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
margin-bottom: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton:disabled
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QRadioButton::indicator
|
|
|
|
{
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QRadioButton::indicator:unchecked,
|
|
|
|
QRadioButton::indicator:unchecked:focus
|
|
|
|
{
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:hover,
|
|
|
|
QRadioButton::indicator:unchecked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_unchecked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:hover,
|
|
|
|
QRadioButton::indicator:checked:focus,
|
|
|
|
QRadioButton::indicator:checked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:disabled
|
|
|
|
{
|
|
|
|
outline: none;
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_checked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:disabled
|
|
|
|
{
|
2016-10-26 18:12:35 +00:00
|
|
|
border-image: url(:/dark/radio_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar
|
|
|
|
{
|
|
|
|
background-color: #31363b;
|
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:selected
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:pressed
|
|
|
|
{
|
|
|
|
background-color: #3daee9;
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
margin-bottom: -0.09em;
|
|
|
|
padding-bottom: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::icon
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Add extra padding on the right for the QMenu arrow */
|
|
|
|
padding: 0.23em 1.5em 0.23em 1.3em;
|
|
|
|
border: 0.09em solid transparent;
|
|
|
|
background: transparent;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item:selected
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QMenu::item:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
background-color: #3daee9;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator
|
|
|
|
{
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:non-exclusive:unchecked
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/checkbox_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:non-exclusive:unchecked:selected
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/checkbox_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:non-exclusive:checked
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/checkbox_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:non-exclusive:checked:selected
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/checkbox_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:exclusive:unchecked
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/radio_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:exclusive:unchecked:selected
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/radio_unchecked_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:exclusive:checked
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/radio_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::indicator:exclusive:checked:selected
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-image: url(:/dark/radio_checked.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QMenu::right-arrow
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0.23em;
|
|
|
|
border-image: url(:/dark/right_arrow.svg);
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractItemView
|
|
|
|
{
|
|
|
|
alternate-background-color: #31363b;
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.09em solid #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenuBar:focus
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:44:37 +00:00
|
|
|
QTabWidget:focus,
|
|
|
|
QCheckBox:focus,
|
|
|
|
QRadioButton:focus,
|
|
|
|
QSlider:focus
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
border-style: solid;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractScrollArea
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border: 0.09em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
/**
|
|
|
|
* This is the background for the box in the bottom-right corner
|
|
|
|
* whene both scrollbars are active.
|
|
|
|
*/
|
|
|
|
QAbstractScrollArea::corner
|
|
|
|
{
|
|
|
|
background: #31363b;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Can't do the KDE style of where the scrollbar handle
|
|
|
|
* becomes light on the hover, and only when the handle
|
|
|
|
* is hovered does it become stylized. This is because
|
|
|
|
* both the handle and the background events are treated
|
|
|
|
* together.
|
|
|
|
*/
|
2016-10-16 19:18:55 +00:00
|
|
|
QScrollBar:horizontal
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
height: 0.65em;
|
|
|
|
margin: 0.13em 0.65em 0.13em 0.65em;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em transparent #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.17em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QScrollBar:horizontal:hover
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #76797c;
|
2021-07-15 23:27:07 +00:00
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QScrollBar::handle:horizontal
|
|
|
|
{
|
2016-10-26 19:51:53 +00:00
|
|
|
background-color: #3daee9;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
min-width: 0.5em;
|
|
|
|
border-radius: 0.17em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QScrollBar::handle:horizontal:hover
|
|
|
|
{
|
|
|
|
background-color: #3daee9;
|
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QScrollBar::add-line:horizontal
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0em 0.13em 0em 0.13em;
|
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
width: 0.41em;
|
|
|
|
height: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:horizontal
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0em 0.13em 0em 0.13em;
|
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
width: 0.41em;
|
|
|
|
height: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::add-line:horizontal:hover,
|
|
|
|
QScrollBar::add-line:horizontal:on
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
width: 0.41em;
|
|
|
|
height: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::sub-line:horizontal:hover,
|
|
|
|
QScrollBar::sub-line:horizontal:on
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
width: 0.41em;
|
|
|
|
height: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::up-arrow:horizontal,
|
|
|
|
QScrollBar::down-arrow:horizontal
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::add-page:horizontal,
|
|
|
|
QScrollBar::sub-page:horizontal
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.65em;
|
|
|
|
margin: 0.65em 0.13em 0.65em 0.13em;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em transparent #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.17em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical:hover
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
background-color: #3daee9;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
min-height: 0.5em;
|
|
|
|
border-radius: 0.17em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QScrollBar::handle:vertical:hover
|
|
|
|
{
|
|
|
|
background-color: #3daee9;
|
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QScrollBar::sub-line:vertical
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0.13em 0em 0.13em 0em;
|
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
height: 0.41em;
|
|
|
|
width: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: 0.13em 0em 0.13em 0em;
|
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
height: 0.41em;
|
|
|
|
width: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::sub-line:vertical:hover,
|
|
|
|
QScrollBar::sub-line:vertical:on
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
height: 0.41em;
|
|
|
|
width: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::add-line:vertical:hover,
|
|
|
|
QScrollBar::add-line:vertical:on
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/transparent.svg);
|
|
|
|
height: 0.41em;
|
|
|
|
width: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QScrollBar::up-arrow:vertical,
|
|
|
|
QScrollBar::down-arrow:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QScrollBar::add-page:vertical,
|
|
|
|
QScrollBar::sub-page:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTextEdit
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPlainTextEdit
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSizeGrip
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/sizegrip.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.15em solid #76797c;
|
|
|
|
margin-left: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.15em solid #8a8d8f;
|
|
|
|
margin-left: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::separator
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
height: 0.09em;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #76797c;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding-left: 0.2em;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
margin-bottom: 0.2em;
|
|
|
|
margin-left: 0.41em;
|
|
|
|
margin-right: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QFrame[frameShape="2"], /* QFrame::Panel == 0x0003 */
|
|
|
|
QFrame[frameShape="3"], /* QFrame::WinPanel == 0x0003 */
|
|
|
|
QFrame[frameShape="4"], /* QFrame::HLine == 0x0004 */
|
|
|
|
QFrame[frameShape="5"], /* QFrame::VLine == 0x0005 */
|
2016-10-16 22:55:17 +00:00
|
|
|
QFrame[frameShape="6"] /* QFrame::StyledPanel == 0x0006 */
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-width: 0.04em;
|
|
|
|
padding: 0.09em;
|
2016-10-16 22:55:17 +00:00
|
|
|
border-style: solid;
|
|
|
|
border-color: #31363b;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #76797c;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.23em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Provide highlighting for frame objects. */
|
|
|
|
QFrame[frameShape="2"]:hover,
|
|
|
|
QFrame[frameShape="3"]:hover,
|
|
|
|
QFrame[frameShape="4"]:hover,
|
|
|
|
QFrame[frameShape="5"]:hover,
|
|
|
|
QFrame[frameShape="6"]:hover
|
|
|
|
{
|
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Don't provide an outline if we have a widget that takes up the space. */
|
|
|
|
QFrame[frameShape] QAbstractItemView:hover
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
/**
|
|
|
|
* Note: I can't really change the background of the toolbars
|
|
|
|
* independently, since KDE Breeze has different colors for the
|
|
|
|
* window bar and the rest of the UI. The top toolbar uses
|
|
|
|
* the window style, and the rest use the application style,
|
|
|
|
* which we can't do.
|
|
|
|
*/
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolBar
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
font-weight: bold;
|
2021-07-16 19:30:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar:horizontal
|
|
|
|
{
|
|
|
|
background: 0.09em solid #31363b;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar:vertical
|
|
|
|
{
|
|
|
|
background: 0.09em solid #31363b;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolBar::handle:horizontal
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/hmovetoolbar.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolBar::handle:vertical
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/vmovetoolbar.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolBar::separator:horizontal
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/hseptoolbar.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolBar::separator:vertical
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/vseptoolbar.svg);
|
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QToolBar QToolButton
|
|
|
|
{
|
|
|
|
font-weight: bold;
|
|
|
|
min-height: 1em;
|
|
|
|
min-width: 2em;
|
|
|
|
border: 0.04em transparent black;
|
|
|
|
padding-left: 0.2em;
|
|
|
|
padding-right: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar QToolButton:hover
|
2021-07-15 23:27:07 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QToolBar QToolButton:pressed
|
2021-07-15 23:27:07 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
/* The padding doesn't inherit from `QToolBar QToolButton`, so leave it in. */
|
|
|
|
padding-left: 0.2em;
|
|
|
|
padding-right: 0.3em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #31363b;
|
|
|
|
border: 0.04em solid #76797c;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
border-radius: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
outline: none;
|
2021-07-16 19:30:46 +00:00
|
|
|
min-height: 1.1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QComboBox:open,
|
|
|
|
QPushButton:open
|
|
|
|
{
|
|
|
|
border-width: 0.04em;
|
|
|
|
border-color: #76797c;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:closed,
|
|
|
|
QPushButton:closed
|
|
|
|
{
|
|
|
|
border-width: 0.04em;
|
|
|
|
border-color: #76797c;
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QPushButton:disabled
|
|
|
|
{
|
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-width: 0.04em;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-color: #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
border-style: solid;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding-top: 0.23em;
|
|
|
|
padding-bottom: 0.23em;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-left: 1ex;
|
|
|
|
padding-right: 1ex;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.04em;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #454545;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QPushButton:focus
|
|
|
|
{
|
2021-07-16 22:03:26 +00:00
|
|
|
color: #eff0f1;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #454a4f;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding-top: -0.65em;
|
|
|
|
padding-bottom: -0.74em;
|
2021-07-16 22:03:26 +00:00
|
|
|
color: #eff0f1;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
padding: 0.23em;
|
|
|
|
min-width: 2.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QComboBox:editable
|
|
|
|
{
|
|
|
|
background-color: #1d2023;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QPushButton:checked
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #626568;
|
|
|
|
border: 0.04em solid #76797c;
|
2021-07-16 22:03:26 +00:00
|
|
|
color: #eff0f1;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:checked:hover
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #626568;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QComboBox:hover,
|
2021-07-16 19:30:46 +00:00
|
|
|
QComboBox:focus,
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractSpinBox:hover,
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractSpinBox:focus,
|
2016-10-26 20:25:02 +00:00
|
|
|
QLineEdit:hover,
|
2021-07-16 19:30:46 +00:00
|
|
|
QLineEdit:focus,
|
2016-10-26 20:25:02 +00:00
|
|
|
QTextEdit:hover,
|
2021-07-15 23:27:07 +00:00
|
|
|
QTextEdit:focus,
|
2016-10-26 20:25:02 +00:00
|
|
|
QPlainTextEdit:hover,
|
2021-07-15 23:27:07 +00:00
|
|
|
QPlainTextEdit:focus,
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractView:hover,
|
2021-07-16 19:30:46 +00:00
|
|
|
QTreeView:hover,
|
|
|
|
QTreeView:focus
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QComboBox:hover:pressed:!editable,
|
2016-10-26 20:25:02 +00:00
|
|
|
QPushButton:hover:pressed,
|
|
|
|
QAbstractSpinBox:hover:pressed,
|
|
|
|
QLineEdit:hover:pressed,
|
|
|
|
QTextEdit:hover:pressed,
|
|
|
|
QPlainTextEdit:hover:pressed,
|
|
|
|
QAbstractView:hover:pressed,
|
|
|
|
QTreeView:hover:pressed
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background-color: #31363b;
|
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QComboBox:hover:pressed:editable
|
|
|
|
{
|
|
|
|
background-color: #1d2023;
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QComboBox QAbstractItemView
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
/* This happens for the drop-down menu always, whether editable or not.*/
|
|
|
|
background-color: #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
selection-background-color: #2a79a3;
|
|
|
|
outline-color: 0em;
|
|
|
|
border-radius: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down
|
|
|
|
{
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: top right;
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.65em;
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
border-left-width: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
border-left-style: solid;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-top-right-radius: 0.13em;
|
|
|
|
border-bottom-right-radius: 0.13em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/down_arrow_disabled.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
|
|
|
margin-right: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QComboBox::down-arrow:on,
|
|
|
|
QComboBox::down-arrow:hover,
|
2016-10-16 19:18:55 +00:00
|
|
|
QComboBox::down-arrow:focus
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/down_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
|
|
|
margin-right: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QAbstractSpinBox
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
border: 0.09em solid #76797c;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
2021-07-16 01:28:48 +00:00
|
|
|
min-width: 3em;
|
2021-07-15 23:27:07 +00:00
|
|
|
min-height: 1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractSpinBox:hover
|
|
|
|
{
|
|
|
|
border: 0.09em solid #3daee9;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox:up-button,
|
|
|
|
QAbstractSpinBox:up-button:hover
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background-color: transparent;
|
2021-07-16 01:28:48 +00:00
|
|
|
subcontrol-origin: padding;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: center right;
|
2021-07-16 01:28:48 +00:00
|
|
|
padding-right: 0.1em;
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractSpinBox:down-button,
|
|
|
|
QAbstractSpinBox:down-button:hover
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background-color: transparent;
|
2021-07-16 01:28:48 +00:00
|
|
|
subcontrol-origin: padding;
|
2016-10-16 19:18:55 +00:00
|
|
|
subcontrol-position: center left;
|
2021-07-16 01:28:48 +00:00
|
|
|
padding-left: 0.1em;
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractSpinBox::up-arrow
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/up_arrow.svg);
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QAbstractSpinBox::up-arrow:disabled,
|
|
|
|
QAbstractSpinBox::up-arrow:off
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/up_arrow_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QAbstractSpinBox::up-arrow:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/up_arrow_hover.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox::down-arrow
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/down_arrow.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractSpinBox::down-arrow:disabled,
|
|
|
|
QAbstractSpinBox::down-arrow:off
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/dark/down_arrow_disabled.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2021-07-16 22:03:26 +00:00
|
|
|
QAbstractSpinBox::down-arrow:!off:!disabled:hover
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/down_arrow_hover.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QDoubleSpinBox
|
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
min-width: 4em;
|
2021-07-15 23:27:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* `QCalendarWidget QAbstractItemView:enabled` sets the color, background
|
|
|
|
* color, and selection color for active dates in the view.
|
|
|
|
* `QCalendarWidget QAbstractItemView:enabled` sets the disabled dates.
|
|
|
|
*/
|
|
|
|
QCalendarWidget QAbstractItemView:enabled
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
|
|
|
selection-color: #eff0f1;
|
|
|
|
selection-background-color: #3daee9;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Won't take hover events. */
|
|
|
|
QCalendarWidget QToolButton#qt_calendar_nextmonth
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/calendar_next.svg);
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
|
|
|
icon-size: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QToolButton#qt_calendar_prevmonth
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/calendar_previous.svg);
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
|
|
|
icon-size: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QSpinBox
|
|
|
|
{
|
|
|
|
max-height: 1.5em;
|
|
|
|
min-width: 3.5em;
|
|
|
|
margin: 0em;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
padding: 0em;
|
|
|
|
outline: 0em;
|
|
|
|
padding-left: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QLabel
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-16 22:55:17 +00:00
|
|
|
/* BORDERS */
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabWidget::pane
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
margin: 0.04em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabWidget::pane:top
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
top: -0.04em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabWidget::pane:bottom
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
bottom: -0.04em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabWidget::pane:left
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
left: -0.04em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabWidget::pane:right
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
right: -0.04em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QTabBar
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
qproperty-drawBase: 0em;
|
|
|
|
left: 0.23em;
|
|
|
|
border-radius: 0.13em;
|
2021-07-16 19:30:46 +00:00
|
|
|
/**
|
|
|
|
* Note: this is the underline for each tab title. It's not
|
|
|
|
* documented, and this took forever to track down. At least
|
|
|
|
* 10 hours have been wasted trying to turn off this line,
|
|
|
|
* do not deleted this comment.
|
|
|
|
*/
|
|
|
|
selection-color: transparent;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar:focus
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em transparent black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::close-button
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Doesn't seem possible to resize these buttons */
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/close.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::close-button:hover,
|
|
|
|
QTabBar::close-button:pressed
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/close_hover.svg);
|
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
QTabBar::close-button:hover
|
|
|
|
{
|
2021-07-14 06:14:04 +00:00
|
|
|
border-image: url(:/dark/close_hover.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::close-button:pressed
|
|
|
|
{
|
2021-07-14 06:14:04 +00:00
|
|
|
border-image: url(:/dark/close_pressed.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* TOP TABS */
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:top,
|
2016-10-16 22:55:17 +00:00
|
|
|
QTabBar::tab:top:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:top:only-one
|
2016-10-16 22:55:17 +00:00
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-left: 0.04em solid #76797c;
|
|
|
|
border-right: 0.04em solid #76797c;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.09em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
min-width: 50px;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top:!selected
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-right: 0.04em solid #76797c;
|
|
|
|
border-bottom: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:top:previous-selected
|
2016-10-16 22:55:17 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border-left: 0.04em solid #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:top:!selected:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:top:!selected:first:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
/* BOTTOM TABS */
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:bottom,
|
2016-10-16 22:55:17 +00:00
|
|
|
QTabBar::tab:bottom:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:bottom:only-one
|
2016-10-16 22:55:17 +00:00
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-left: 0.04em solid #76797c;
|
|
|
|
border-right: 0.04em solid #76797c;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-bottom: 0.09em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
min-width: 50px;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-top-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:!selected
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-top: 0.04em solid #76797c;
|
|
|
|
border-right: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-top-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:bottom:next-selected
|
2016-10-16 22:55:17 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border-right: 0.04em solid #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-top-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:bottom:!selected:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-top-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:bottom:!selected:first:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-top-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-16 19:18:55 +00:00
|
|
|
/* LEFT TABS */
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:left,
|
2016-10-16 22:55:17 +00:00
|
|
|
QTabBar::tab:left:last,
|
|
|
|
QTabBar::tab:left:only-one
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.09em solid #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-bottom: 0.04em solid #76797c;
|
|
|
|
border-left: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
min-height: 50px;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-right-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:left:!selected
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-top: 0.04em solid #76797c;
|
|
|
|
border-right: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-right-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:left:previous-selected
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.04em solid #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-top-right-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:left:!selected:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-right-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTabBar::tab:left:!selected:first:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-right-radius: 0em;
|
|
|
|
border-bottom-right-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
/* RIGHT TABS */
|
|
|
|
QTabBar::tab:right,
|
2016-10-16 22:55:17 +00:00
|
|
|
QTabBar::tab:right:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:right:only-one
|
2016-10-16 22:55:17 +00:00
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.09em solid #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-bottom: 0.04em solid #76797c;
|
|
|
|
border-right: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
min-height: 50px;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-bottom-left-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:right:!selected
|
|
|
|
{
|
|
|
|
color: #eff0f1;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent black;
|
|
|
|
border-top: 0.04em solid #76797c;
|
|
|
|
border-left: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-bottom-left-radius: 0em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:right:previous-selected
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.04em solid #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-bottom-left-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:right:!selected:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-bottom-left-radius: 0em;
|
2016-10-16 22:55:17 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:right:!selected:first:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
border: 0.04em rgba(61, 173, 232, 0.1);
|
|
|
|
border-radius: 0.09em;
|
|
|
|
border-top-left-radius: 0em;
|
|
|
|
border-bottom-left-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar QToolButton::right-arrow:enabled
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/right_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar QToolButton::left-arrow:enabled
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/left_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar QToolButton::right-arrow:disabled
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/right_arrow_disabled.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar QToolButton::left-arrow:disabled
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/left_arrow_disabled.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.8em;
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background: #31363b;
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.09em solid #2c3034;
|
2016-10-16 19:18:55 +00:00
|
|
|
titlebar-close-icon: url(:/dark/transparent.svg);
|
|
|
|
titlebar-normal-icon: url(:/dark/transparent.svg);
|
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
QDockWidget::title
|
|
|
|
{
|
|
|
|
background: #31363b;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::close-button,
|
|
|
|
QDockWidget::float-button
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid transparent;
|
|
|
|
border-radius: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
background: transparent;
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Maximum icon size for buttons */
|
|
|
|
icon-size: 14px;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget::float-button
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/dark/undock.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget::float-button:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/undock_hover.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget::close-button
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/close.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget::close-button:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/close_hover.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QDockWidget::close-button:pressed
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/close_pressed.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTreeView,
|
2016-10-17 23:03:19 +00:00
|
|
|
QListView
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView:selected,
|
|
|
|
QTreeView:!selected,
|
|
|
|
QListView:selected,
|
|
|
|
QListView:!selected
|
|
|
|
{
|
|
|
|
border: 0em solid black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:has-siblings
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/vline.svg);
|
|
|
|
image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* These branch indicators don't scale */
|
|
|
|
TreeView::branch:!has-siblings
|
|
|
|
{
|
|
|
|
border-image: none;
|
|
|
|
image: none;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTreeView::branch:has-siblings:adjoins-item
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/branch_more.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTreeView::branch:!has-children:!has-siblings:adjoins-item
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-image: url(:/dark/branch_end.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTreeView::branch:closed:has-children:has-siblings
|
|
|
|
{
|
2018-12-03 13:04:04 +00:00
|
|
|
image: url(:/dark/branch_closed.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:has-children:!has-siblings:closed:hover,
|
|
|
|
QTreeView::branch:closed:has-children:has-siblings:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
image: url(:/dark/branch_closed_hover.svg);
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/branch_end_arrow.svg);
|
2018-12-19 23:55:21 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:closed:has-children:has-siblings,
|
|
|
|
QTreeView::branch:open:has-children:has-siblings
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/branch_more_arrow.svg);
|
2018-12-19 23:55:21 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
|
|
|
QTreeView::branch:open:has-children:has-siblings
|
|
|
|
{
|
|
|
|
image: url(:/dark/branch_open.svg);
|
2018-12-19 23:55:21 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTreeView::branch:open:has-children:!has-siblings:hover,
|
|
|
|
QTreeView::branch:open:has-children:has-siblings:hover
|
|
|
|
{
|
|
|
|
image: url(:/dark/branch_open_hover.svg);
|
2018-12-19 23:55:21 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QListView
|
|
|
|
{
|
|
|
|
/* Give space for elements aligned left or right. */
|
|
|
|
padding: 0.2em;
|
2018-12-19 23:55:21 +00:00
|
|
|
}
|
|
|
|
|
2016-10-17 23:03:19 +00:00
|
|
|
QTableView::item,
|
|
|
|
QListView::item,
|
|
|
|
QTreeView::item
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.13em;
|
|
|
|
color: #eff0f1;
|
2016-10-17 23:03:19 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTableView::item:!selected:hover,
|
2016-10-17 23:03:19 +00:00
|
|
|
QListView::item:!selected:hover,
|
|
|
|
QTreeView::item:!selected:hover
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-16 19:18:55 +00:00
|
|
|
outline: 0;
|
2016-10-17 23:03:19 +00:00
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.13em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QSlider::handle:horizontal,
|
|
|
|
QSlider::handle:vertical
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background: #1d2023;
|
|
|
|
border: 0.04em solid #626568;
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.7em;
|
|
|
|
height: 0.7em;
|
|
|
|
border-radius: 0.35em;
|
|
|
|
}
|
2018-12-19 23:55:21 +00:00
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QSlider:horizontal
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider:vertical
|
|
|
|
{
|
|
|
|
width: 2em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::handle:horizontal
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
margin: -0.23em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:vertical
|
|
|
|
{
|
|
|
|
margin: 0 -0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QSlider::groove:horizontal,
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::groove:vertical
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
background: #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid #31363b;
|
|
|
|
border-radius: 0.19em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QSlider::groove:horizontal
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
height: 0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::groove:vertical
|
|
|
|
{
|
|
|
|
width: 0.4em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal:hover,
|
|
|
|
QSlider::handle:horizontal:focus,
|
|
|
|
QSlider::handle:vertical:hover,
|
|
|
|
QSlider::handle:vertical:focus
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal:!focus:!hover,
|
|
|
|
QSlider::handle:vertical:!focus:!hover
|
|
|
|
{
|
|
|
|
border: 0.04em solid #626568;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::sub-page:horizontal,
|
|
|
|
QSlider::add-page:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.19em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::add-page:horizontal,
|
|
|
|
QSlider::sub-page:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
|
|
|
background: #626568;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0.19em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolButton
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: transparent;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
|
|
|
border-radius: 0.09em;
|
|
|
|
margin: 0.23em;
|
|
|
|
padding: 0.23em;
|
2021-07-16 19:30:46 +00:00
|
|
|
padding-top: 0.1em;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding-right: 1.2em;
|
2021-07-16 19:30:46 +00:00
|
|
|
min-height: 1.1em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolButton::right-arrow,
|
|
|
|
QToolButton::left-arrow,
|
|
|
|
QToolButton::up-arrow,
|
|
|
|
QToolButton::down-arrow
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Undo the padding when we have an arrow */
|
|
|
|
padding-right: -1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::right-arrow
|
|
|
|
{
|
|
|
|
image: url(:/dark/right_arrow.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::left-arrow
|
|
|
|
{
|
|
|
|
image: url(:/dark/left_arrow.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::up-arrow
|
|
|
|
{
|
|
|
|
image: url(:/dark/up_arrow.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::down-arrow
|
|
|
|
{
|
|
|
|
image: url(:/dark/down_arrow.svg);
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolButton:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolButton::menu-indicator
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: none;
|
2016-10-16 19:18:55 +00:00
|
|
|
image: url(:/dark/down_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
2016-10-26 22:37:58 +00:00
|
|
|
top: -0.7ex;
|
2021-07-15 23:27:07 +00:00
|
|
|
left: -0.09em;
|
|
|
|
padding-right: 0.09em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolButton::menu-arrow
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: none;
|
2016-10-16 19:18:55 +00:00
|
|
|
image: url(:/dark/down_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
|
|
|
subcontrol-position: bottom right;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::menu-button
|
|
|
|
{
|
|
|
|
border-top-right-radius: 0.5em;
|
|
|
|
border-bottom-right-radius: 0.5em;
|
|
|
|
/* 1ex width + 0.4ex for border + no text = 2ex allocated above */
|
|
|
|
width: 1.3em;
|
|
|
|
padding: 0.23em;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton::menu-button::menu-arrow
|
|
|
|
{
|
|
|
|
left: -0.09em;
|
|
|
|
subcontrol-position: bottom right;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton::menu-button:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QToolButton:checked,
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolButton:pressed
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #3daee9;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
padding-right: 1.2em;
|
|
|
|
min-height: 1.3em;
|
|
|
|
outline: none;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolButton::menu-button:pressed
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0.23em;
|
2016-10-16 19:18:55 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTableView
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
|
|
|
gridline-color: #31363b;
|
2021-07-16 19:30:46 +00:00
|
|
|
background-color: #1d2023;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTableView:!selected,
|
|
|
|
QTableView:selected
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractItemView::item
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
color: #eff0f1;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractItemView::item:pressed
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-16 02:09:27 +00:00
|
|
|
background: #2a79a3;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractItemView::item:selected:!active
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
background: rgba(61, 173, 232, 0.1);
|
2021-07-15 23:27:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Use background with qlineargradient to avoid ugly border on widget. */
|
|
|
|
QAbstractItemView::item:selected:active
|
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
background: qlineargradient(
|
|
|
|
x1: 0.5, y1: 0.5
|
|
|
|
x2: 0.5, y2: 1,
|
|
|
|
stop: 0 #2a79a3,
|
|
|
|
stop: 1 #2a79a3
|
|
|
|
);
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QAbstractItemView::item:selected:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
background: qlineargradient(
|
|
|
|
x1: 0.5, y1: 0.5
|
|
|
|
x2: 0.5, y2: 1,
|
2021-07-16 19:30:46 +00:00
|
|
|
stop: 0 #2f88b7,
|
|
|
|
stop: 1 #2f88b7
|
2021-07-16 01:28:48 +00:00
|
|
|
);
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView
|
|
|
|
{
|
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent;
|
|
|
|
border-radius: 0em;
|
|
|
|
margin: 0em;
|
|
|
|
padding: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QHeaderView::section
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
color: #eff0f1;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
padding-top: 0.3em;
|
|
|
|
border-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QHeaderView::section::vertical::first,
|
|
|
|
QHeaderView::section::vertical::only-one
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-top: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section::vertical
|
|
|
|
{
|
|
|
|
border-top: transparent;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QHeaderView::section::horizontal::first,
|
|
|
|
QHeaderView::section::horizontal::only-one
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-left: 0.04em solid #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section::horizontal
|
|
|
|
{
|
|
|
|
border-left: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section:checked
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-16 01:28:48 +00:00
|
|
|
color: #ffffff;
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #334e5e;
|
2016-10-26 18:12:35 +00:00
|
|
|
}
|
2016-10-16 19:18:55 +00:00
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
/* Note that this doesn't work for QTreeView unless the header is clickable */
|
|
|
|
QHeaderView::section:hover,
|
|
|
|
QHeaderView::section::horizontal::first:hover,
|
|
|
|
QHeaderView::section::horizontal::only-one:hover,
|
|
|
|
QHeaderView::section::vertical::first:hover,
|
|
|
|
QHeaderView::section::vertical::only-one:hover
|
|
|
|
{
|
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QHeaderView::down-arrow
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
image: url(:/dark/down_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: top center;
|
|
|
|
padding-top: 0.2em;
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QHeaderView::up-arrow
|
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
image: url(:/dark/up_arrow.svg);
|
2021-07-15 23:27:07 +00:00
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: top center;
|
|
|
|
padding-top: 0.2em;
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTableView QTableCornerButton::section
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-16 19:18:55 +00:00
|
|
|
background-color: #31363b;
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent #76797c;
|
2021-07-16 19:30:46 +00:00
|
|
|
border-top: 0.04em solid #76797c;
|
|
|
|
border-left: 0.04em solid #76797c;
|
2021-07-15 23:27:07 +00:00
|
|
|
border-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
/* No hover event */
|
|
|
|
QTableView QTableCornerButton:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em transparent #76797c;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QTableView QTableCornerButton::section:pressed
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0.04em solid #3daee9;
|
|
|
|
border-radius: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolBox
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
padding: 0.23em;
|
|
|
|
border: 0.09em transparent black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolBox::tab
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-bottom: 0.09em solid #76797c;
|
|
|
|
margin-left: 1.5em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QToolBox::tab:selected,
|
|
|
|
QToolBox::tab:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border-bottom: 0.09em solid #3daee9;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSplitter::handle
|
|
|
|
{
|
2021-07-16 19:30:46 +00:00
|
|
|
border: 0.09em solid #2c3034;
|
|
|
|
background: -0.5em solid #2c3034;
|
2021-07-15 23:27:07 +00:00
|
|
|
max-width: 0em;
|
|
|
|
max-height: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-16 19:30:46 +00:00
|
|
|
/**
|
|
|
|
* It's not possible to get satisfactory rounded borders here.
|
|
|
|
* If you set the border to be negative, while adjusting the
|
|
|
|
* widths, you get an asymmetrical curve which produces an
|
|
|
|
* unappealing border.
|
|
|
|
*/
|
2021-07-15 23:27:07 +00:00
|
|
|
QProgressBar:horizontal,
|
|
|
|
QProgressBar:vertical
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: #626568;
|
|
|
|
border: 0.9em solid #31363b;
|
|
|
|
border-radius: 0.13em;
|
|
|
|
padding: 0em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QProgressBar:horizontal
|
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
height: 0.2em;
|
|
|
|
min-width: 6em;
|
2016-10-16 19:18:55 +00:00
|
|
|
text-align: right;
|
2021-07-15 23:27:07 +00:00
|
|
|
padding-left: -0.03em;
|
|
|
|
padding-right: -0.03em;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
margin-bottom: 0.2em;
|
2021-07-16 20:16:35 +00:00
|
|
|
margin-right: 1.3em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QProgressBar:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
width: 0.2em;
|
|
|
|
min-height: 6em;
|
|
|
|
text-align: bottom;
|
|
|
|
padding-top: -0.03em;
|
|
|
|
padding-bottom: -0.03em;
|
|
|
|
margin-left: 0.2em;
|
|
|
|
margin-right: 0.2em;
|
|
|
|
margin-bottom: 0.41em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QProgressBar::chunk:horizontal,
|
|
|
|
QProgressBar::chunk:vertical
|
2016-10-16 19:18:55 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
background-color: #3daee9;
|
|
|
|
border: 0.9em transparent;
|
|
|
|
border-radius: 0.08em;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
|
|
|
|
2021-07-15 23:27:07 +00:00
|
|
|
QScrollArea,
|
|
|
|
QScrollArea:focus,
|
|
|
|
QScrollArea:hover
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2021-07-15 23:27:07 +00:00
|
|
|
border: 0em solid black;
|
2016-10-16 19:18:55 +00:00
|
|
|
}
|
2021-07-17 03:07:12 +00:00
|
|
|
|
|
|
|
/* ICONS */
|
|
|
|
/**
|
|
|
|
* Qt's built-in icons can look pretty bad if the system theme
|
|
|
|
* is a different color than the current one. For example, when
|
|
|
|
* using a dark theme, with a light UI, the `Ok` button is greyed
|
|
|
|
* out for an about dialog.
|
|
|
|
*
|
|
|
|
* QDialogButtonBox will apply for all standard buttons in all standard
|
|
|
|
* widgets, such as QMessageBox, etc. However, we do need to override
|
|
|
|
* standard icons elsewhere.
|
|
|
|
*
|
|
|
|
* The rest of the icons make little sense to implement:
|
|
|
|
* Qt uses native window decorations.
|
|
|
|
* Qt normally uses native file dialogs, which look nicer.
|
|
|
|
* Media controls are used in custom widgets, which aren't standard.
|
|
|
|
*/
|
|
|
|
QDialogButtonBox
|
|
|
|
{
|
|
|
|
dialogbuttonbox-buttons-have-icons: true;
|
|
|
|
|
|
|
|
dialog-cancel-icon: url(:/dark/dialog-cancel.svg);
|
|
|
|
dialog-close-icon: url(:/dark/dialog-close.svg);
|
|
|
|
dialog-ok-icon: url(:/dark/dialog-ok.svg);
|
|
|
|
dialog-open-icon: url(:/dark/dialog-open.svg);
|
|
|
|
dialog-reset-icon: url(:/dark/dialog-reset.svg);
|
|
|
|
dialog-save-icon: url(:/dark/dialog-save.svg);
|
|
|
|
/**
|
|
|
|
* No support yet for overriding saveall.
|
|
|
|
* dialog-saveall-icon: url(:/dark/dialog-saveall.svg);
|
|
|
|
*/
|
|
|
|
dialog-yes-icon: url(:/dark/dialog-ok.svg);
|
|
|
|
dialog-help-icon: url(:/dark/dialog-help.svg);
|
|
|
|
dialog-no-icon: url(:/dark/dialog-no.svg);
|
|
|
|
dialog-apply-icon: url(:/dark/dialog-ok.svg);
|
|
|
|
dialog-discard-icon: url(:/dark/dialog-discard.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QMessageBox
|
|
|
|
{
|
|
|
|
messagebox-critical-icon: url(:/dark/message-critical.svg);
|
|
|
|
messagebox-information-icon: url(:/dark/message-information.svg);
|
|
|
|
messagebox-question-icon: url(:/dark/message-question.svg);
|
|
|
|
messagebox-warning-icon: url(:/dark/message-warning.svg);
|
|
|
|
}
|