2016-10-17 01:03:40 +00:00
|
|
|
/*
|
|
|
|
* Breeze stylesheet.
|
|
|
|
*
|
|
|
|
* :author: Colin Duquesnoy
|
|
|
|
* :editor: Alex Huszagh
|
2016-10-26 18:12:35 +00:00
|
|
|
* :license: MIT, see LICENSE.md
|
2016-10-17 01:03:40 +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-17 01:03:40 +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-17 01:03:40 +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-17 01:03:40 +00:00
|
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
* ---------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
QToolTip
|
|
|
|
{
|
|
|
|
background-color: black;
|
|
|
|
color: white;
|
2016-10-26 18:51:01 +00:00
|
|
|
padding: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QWidget
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
selection-background-color:#33A4DF;
|
|
|
|
selection-color: #31363B;
|
|
|
|
background-clip: border;
|
|
|
|
border-image: none;
|
|
|
|
border: 0px transparent black;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QWidget:item:hover
|
|
|
|
{
|
|
|
|
background-color: #33A4DF;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QWidget:item:selected
|
|
|
|
{
|
|
|
|
background-color: #33A4DF;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QCheckBox
|
|
|
|
{
|
2016-10-26 18:51:01 +00:00
|
|
|
spacing: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
outline: none;
|
|
|
|
color: #31363B;
|
2016-10-26 18:51:01 +00:00
|
|
|
margin-bottom: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
opacity: 200;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox:disabled
|
|
|
|
{
|
|
|
|
color: #BAB9B8;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox::indicator
|
|
|
|
{
|
2016-10-26 18:51:01 +00:00
|
|
|
margin-left: 0.2ex;
|
2016-10-26 22:37:58 +00:00
|
|
|
margin-left: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked,
|
|
|
|
QCheckBox::indicator:unchecked:focus
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:hover,
|
|
|
|
QCheckBox::indicator:unchecked:pressed,
|
|
|
|
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(:/light/checkbox_unchecked-hover.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:focus,
|
|
|
|
QCheckBox::indicator:checked:pressed,
|
|
|
|
QGroupBox::indicator:checked:focus,
|
|
|
|
QGroupBox::indicator:checked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:hover,
|
|
|
|
QGroupBox::indicator:checked:hover
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_checked-hover.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_indeterminate.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate:hover
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_indeterminate-hover.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate:focus,
|
|
|
|
QCheckBox::indicator:indeterminate:pressed
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:indeterminate:disabled
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_indeterminate_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:disabled,
|
|
|
|
QGroupBox::indicator:checked:disabled
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_checked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:disabled,
|
|
|
|
QGroupBox::indicator:unchecked:disabled
|
|
|
|
{
|
2016-10-26 18:44:37 +00:00
|
|
|
border-image: url(:/light/checkbox_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton
|
|
|
|
{
|
2016-10-26 18:51:01 +00:00
|
|
|
spacing: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
outline: none;
|
|
|
|
color: #31363B;
|
2016-10-26 18:51:01 +00:00
|
|
|
margin-bottom: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton:disabled
|
|
|
|
{
|
|
|
|
color: #BAB9B8;
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked,
|
|
|
|
QRadioButton::indicator:unchecked:focus
|
|
|
|
{
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:hover,
|
|
|
|
QRadioButton::indicator:unchecked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_unchecked-hover.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:focus,
|
|
|
|
QRadioButton::indicator:checked:pressed
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:hover
|
|
|
|
{
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_checked-hover.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:disabled
|
|
|
|
{
|
|
|
|
outline: none;
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_checked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:disabled
|
|
|
|
{
|
2016-10-26 18:14:20 +00:00
|
|
|
border-image: url(:/light/radio_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar
|
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:selected
|
|
|
|
{
|
|
|
|
background: transparent;
|
2016-10-26 19:51:01 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:pressed
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #33A4DF;
|
|
|
|
color: #31363B;
|
2016-10-26 19:51:01 +00:00
|
|
|
margin-bottom: -0.1ex;
|
|
|
|
padding-bottom: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
margin: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::icon
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
margin: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
padding: 0.5ex 3ex 0.5ex 3ex;
|
|
|
|
margin-left: 0.5ex;
|
|
|
|
border: 0.1ex solid transparent; /* reserve space for selection border */
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item:selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::separator
|
|
|
|
{
|
|
|
|
height: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: lightblue;
|
2016-10-26 19:51:01 +00:00
|
|
|
margin-left: 1ex;
|
|
|
|
margin-right: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* non-exclusive indicator = check box style indicator
|
|
|
|
(see QActionGroup::setExclusive) */
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:non-exclusive:unchecked
|
|
|
|
{
|
|
|
|
border-image: url(:/light/checkbox_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:non-exclusive:unchecked:selected
|
|
|
|
{
|
|
|
|
border-image: url(:/light/checkbox_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:non-exclusive:checked
|
|
|
|
{
|
|
|
|
border-image: url(:/light/checkbox_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:non-exclusive:checked:selected
|
|
|
|
{
|
|
|
|
border-image: url(:/light/checkbox_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:exclusive:unchecked
|
|
|
|
{
|
|
|
|
border-image: url(:/light/radio_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:exclusive:unchecked:selected
|
|
|
|
{
|
|
|
|
border-image: url(:/light/radio_unchecked_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:exclusive:checked
|
|
|
|
{
|
|
|
|
border-image: url(:/light/radio_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::indicator:exclusive:checked:selected
|
|
|
|
{
|
|
|
|
border-image: url(:/light/radio_checked.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QMenu::right-arrow
|
|
|
|
{
|
|
|
|
margin: 0.5ex;
|
|
|
|
border-image: url(:/light/right_arrow.svg);
|
|
|
|
width: 0.6ex;
|
|
|
|
height: 0.9ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QWidget:disabled
|
|
|
|
{
|
|
|
|
color: #454545;
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractItemView
|
|
|
|
{
|
|
|
|
alternate-background-color: #EFF0F1;
|
|
|
|
color: #31363B;
|
2016-10-26 19:51:01 +00:00
|
|
|
border: 0.1ex solid 3A3939;
|
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QWidget:focus,
|
|
|
|
QMenuBar:focus
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border: 0.1ex solid #33A4DF;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QTabWidget:focus,
|
|
|
|
QCheckBox:focus,
|
|
|
|
QRadioButton:focus,
|
|
|
|
QSlider:focus
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit
|
|
|
|
{
|
|
|
|
background-color: #FCFCFC;
|
2016-10-26 19:51:01 +00:00
|
|
|
padding: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-style: solid;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-26 19:51:01 +00:00
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QGroupBox
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
border-radius: 0.2ex;
|
|
|
|
padding-top: 1ex;
|
|
|
|
margin-top: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 19:51:01 +00:00
|
|
|
QGroupBox::title
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-origin: margin;
|
|
|
|
subcontrol-position: top center;
|
2016-10-26 19:51:01 +00:00
|
|
|
padding-left: 0.1ex;
|
|
|
|
padding-right: 0.1ex;
|
|
|
|
margin-top: -0.7ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractScrollArea
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
border-radius: 0.2ex;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:horizontal
|
|
|
|
{
|
2016-10-26 19:51:01 +00:00
|
|
|
height: 1.5ex;
|
|
|
|
margin: 0.3ex 1.5ex 0.3ex 1.5ex;
|
|
|
|
border: 0.1ex transparent #2A2929;
|
|
|
|
border-radius: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #2A2929;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal
|
|
|
|
{
|
|
|
|
background-color: #605F5F;
|
2016-10-26 19:51:01 +00:00
|
|
|
min-width: 0.5ex;
|
|
|
|
border-radius: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
margin: 0ex 0.3ex 0ex 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/right_arrow_disabled.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1ex;
|
|
|
|
height: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:horizontal
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
margin: 0px 0.3ex 0px 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/left_arrow_disabled.svg);
|
2016-10-26 22:37:58 +00:00
|
|
|
height: 1ex;
|
|
|
|
width: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal:hover,QScrollBar::add-line:horizontal:on
|
|
|
|
{
|
|
|
|
border-image: url(:/light/right_arrow.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1ex;
|
|
|
|
height: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: right;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on
|
|
|
|
{
|
|
|
|
border-image: url(:/light/left_arrow.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1ex;
|
|
|
|
height: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: left;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal
|
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
|
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical
|
|
|
|
{
|
|
|
|
background-color: #2A2929;
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1.5ex;
|
|
|
|
margin: 1.5ex 0.3ex 1.5ex 0.3ex;
|
|
|
|
border: 0.1ex transparent #2A2929;
|
|
|
|
border-radius: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical
|
|
|
|
{
|
|
|
|
background-color: #605F5F;
|
2016-10-26 20:25:02 +00:00
|
|
|
min-height: 0.5ex;
|
|
|
|
border-radius: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::sub-line:vertical
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
margin: 0.3ex 0ex 0.3ex 0ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/up_arrow_disabled.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
height: 1ex;
|
|
|
|
width: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
margin: 0.3ex 0ex 0.3ex 0ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/down_arrow_disabled.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
height: 1ex;
|
|
|
|
width: 1ex;
|
2016-10-17 01:03:40 +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-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
border-image: url(:/light/up_arrow.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
height: 1ex;
|
|
|
|
width: 1ex;
|
2016-10-17 01:03:40 +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-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
border-image: url(:/light/down_arrow.svg);
|
2016-10-26 20:25:02 +00:00
|
|
|
height: 1ex;
|
|
|
|
width: 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::up-arrow:vertical,
|
|
|
|
QScrollBar::down-arrow:vertical
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QScrollBar::add-page:vertical,
|
|
|
|
QScrollBar::sub-page:vertical
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTextEdit
|
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
color: #31363B;
|
2016-10-26 20:25:02 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPlainTextEdit
|
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
color: #31363B;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-radius: 0.2ex;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section
|
|
|
|
{
|
|
|
|
background-color: #BAB9B8;
|
|
|
|
color: #31363B;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSizeGrip
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/sizegrip.svg);
|
|
|
|
width: 1.2ex;
|
|
|
|
height: 1.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator
|
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
color: white;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-left: 0.4ex;
|
|
|
|
spacing: 0.2ex;
|
|
|
|
border: 0.1ex dashed #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator:hover
|
|
|
|
{
|
|
|
|
|
|
|
|
background-color: #787876;
|
|
|
|
color: white;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-left: 0.4ex;
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
spacing: 0.2x;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::separator
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
height: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #BAB9B8;
|
|
|
|
color: white;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-left: 0.4ex;
|
|
|
|
margin-left: 1ex;
|
|
|
|
margin-right: 0.5ex;
|
2016-10-17 01:03:40 +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 */
|
|
|
|
QFrame[frameShape="6"] /* QFrame::StyledPanel == 0x0006 */
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-width: 0.1ex;
|
|
|
|
padding: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-style: solid;
|
|
|
|
border-color: #EFF0F1;
|
|
|
|
background-color: #bcbfc2;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-radius: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QStackedWidget
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border: 0.1ex transparent black;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QToolBar
|
|
|
|
{
|
|
|
|
border: 0.1ex transparent #393838;
|
|
|
|
background: 0.1ex solid #EFF0F1;
|
2016-10-17 01:03:40 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QToolBar::handle:horizontal
|
|
|
|
{
|
|
|
|
border-image: url(:/light/hmovetoolbar.svg);
|
|
|
|
width = 1.6ex;
|
|
|
|
height = 6.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
|
|
|
QToolBar::handle:vertical
|
|
|
|
{
|
|
|
|
border-image: url(:/light/vmovetoolbar.svg);
|
|
|
|
width = 5.4ex;
|
|
|
|
height = 1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
|
|
|
QToolBar::separator:horizontal
|
|
|
|
{
|
|
|
|
border-image: url(:/light/hsepartoolbar.svg);
|
|
|
|
width = 0.7ex;
|
|
|
|
height = 6.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
|
|
|
QToolBar::separator:vertical
|
|
|
|
{
|
|
|
|
border-image: url(:/light/vsepartoolbars.svg);
|
|
|
|
width = 6.3ex;
|
|
|
|
height = 0.7ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #EFF0F1, stop: 0.5 #eaebec);
|
2016-10-26 20:25:02 +00:00
|
|
|
border-width: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-color: #BAB9B8;
|
|
|
|
border-style: solid;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:disabled
|
|
|
|
{
|
|
|
|
background-color: #e0e1e2;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-width: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-color: #b4b4b4;
|
|
|
|
border-style: solid;
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-top: 0.5ex;
|
|
|
|
padding-bottom: 0.5ex;
|
|
|
|
padding-left: 1ex;
|
|
|
|
padding-right: 1ex;
|
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #b4b4b4;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QPushButton:focus
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox
|
|
|
|
{
|
|
|
|
selection-background-color: #33A4DF;
|
|
|
|
border-style: solid;
|
2016-10-26 20:25:02 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
border-radius: 0.2ex;
|
|
|
|
padding: 0.5ex;
|
|
|
|
min-width: 7.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QPushButton:checked
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #BAB9B8;
|
|
|
|
border-color: #6A6969;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QComboBox:hover,
|
|
|
|
QAbstractSpinBox:hover,
|
|
|
|
QLineEdit:hover,
|
|
|
|
QTextEdit:hover,
|
|
|
|
QPlainTextEdit:hover,
|
|
|
|
QAbstractView:hover,
|
|
|
|
QTreeView:hover
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border: 0.1ex solid #33A4DF;
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QComboBox:hover:pressed,
|
|
|
|
QPushButton:hover:pressed,
|
|
|
|
QAbstractSpinBox:hover:pressed,
|
|
|
|
QLineEdit:hover:pressed,
|
|
|
|
QTextEdit:hover:pressed,
|
|
|
|
QPlainTextEdit:hover:pressed,
|
|
|
|
QAbstractView:hover:pressed,
|
|
|
|
QTreeView:hover:pressed
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:on
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-top: 0.3ex;
|
|
|
|
padding-left: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
selection-background-color: #4a4a4a;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView
|
|
|
|
{
|
|
|
|
background-color: #FCFCFC;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-radius: 0.2ex;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
selection-background-color: #33A4DF;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down
|
|
|
|
{
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: top right;
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
border-left-width: 0ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-left-color: darkgray;
|
|
|
|
border-left-style: solid;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-top-right-radius: 0.3ex;
|
|
|
|
border-bottom-right-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow_disabled.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QComboBox::down-arrow:on,
|
|
|
|
QComboBox::down-arrow:hover,
|
2016-10-17 01:03:40 +00:00
|
|
|
QComboBox::down-arrow:focus
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractSpinBox
|
|
|
|
{
|
|
|
|
padding: 0.5ex;
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #D9D8D7;
|
|
|
|
color: #31363B;
|
2016-10-26 20:25:02 +00:00
|
|
|
border-radius: 0.2ex;
|
|
|
|
min-width: 7.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox:up-button
|
|
|
|
{
|
|
|
|
background-color: transparent;
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: center right;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox:down-button
|
|
|
|
{
|
|
|
|
background-color: transparent;
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: center left;
|
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractSpinBox::up-arrow,
|
|
|
|
QAbstractSpinBox::up-arrow:disabled,
|
|
|
|
QAbstractSpinBox::up-arrow:off
|
|
|
|
{
|
|
|
|
border-image: url(:/light/up_arrow_disabled.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-17 01:03:40 +00:00
|
|
|
QAbstractSpinBox::up-arrow:hover
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/up_arrow.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
QAbstractSpinBox::down-arrow,
|
|
|
|
QAbstractSpinBox::down-arrow:disabled,
|
|
|
|
QAbstractSpinBox::down-arrow:off
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow_disabled.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
2016-10-26 20:25:02 +00:00
|
|
|
|
2016-10-17 01:03:40 +00:00
|
|
|
QAbstractSpinBox::down-arrow:hover
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QLabel
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0ex solid black;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabWidget{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* BORDERS */
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabWidget::pane
|
|
|
|
{
|
|
|
|
padding: 0.5ex;
|
|
|
|
margin: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabWidget::pane:top
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
top: -0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabWidget::pane:bottom
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
bottom: -0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabWidget::pane:left
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
right: -0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabWidget::pane:right
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
left: -0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar
|
|
|
|
{
|
|
|
|
qproperty-drawBase: 0;
|
2016-10-26 22:37:58 +00:00
|
|
|
left: 0.5ex; /* move to the right by 0.5ex */
|
|
|
|
border-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar:focus
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0ex transparent black;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::close-button
|
|
|
|
{
|
|
|
|
border-image: url(:/light/close.svg);
|
|
|
|
width: 1.2ex;
|
|
|
|
height: 1.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::close-button:hover
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-image: url(:/light/close-hover.svg);
|
|
|
|
width: 1.2ex;
|
|
|
|
height: 1.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::close-button:pressed
|
|
|
|
{
|
|
|
|
border-image: url(:/light/close-pressed.svg);
|
|
|
|
width: 1.2ex;
|
|
|
|
height: 1.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TOP TABS */
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:top
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
min-width: 5ex;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:top:only-one
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-right: 0.1ex solid #BAB9B8;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
min-width: 5ex;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:top:first:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:top:!selected:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:top:!selected:first:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* BOTTOM TABS */
|
|
|
|
QTabBar::tab:bottom
|
|
|
|
{
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-bottom: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
|
|
|
min-width: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:bottom:only-one
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-right: 0.1ex solid #BAB9B8;
|
|
|
|
border-bottom: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
|
|
|
min-width: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:first:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:bottom:!selected:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:bottom:!selected:first:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* LEFT TABS */
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:left
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-right: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
|
|
|
min-height: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:left:last,
|
|
|
|
QTabBar::tab:left:only-one
|
|
|
|
{
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-bottom: 0.1ex solid #BAB9B8;
|
|
|
|
border-right: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-top-right-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
|
|
|
min-height: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:left:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-top-right-radius: 0.2ex;
|
|
|
|
border-bottom-right-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:left:!selected:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:left:!selected:first:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* RIGHT TABS */
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:right
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
min-height: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:right:last,
|
2016-10-26 18:12:35 +00:00
|
|
|
QTabBar::tab:right:only-one
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-bottom: 0.1ex solid #BAB9B8;
|
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
|
|
|
min-height: 5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:right:!selected
|
|
|
|
{
|
|
|
|
color: #31363B;
|
|
|
|
background-color: #54575B;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent black;
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
|
|
|
border-top-left-radius: 0.2ex;
|
|
|
|
border-bottom-left-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:right:!selected:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar::tab:right:!selected:first:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex rgba(61, 173, 232, 0.1);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar QToolButton::right-arrow:enabled
|
|
|
|
{
|
|
|
|
border-image: url(:/light/right_arrow.svg);
|
|
|
|
}
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar QToolButton::left-arrow:enabled
|
|
|
|
{
|
|
|
|
border-image: url(:/light/left_arrow.svg);
|
|
|
|
}
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar QToolButton::right-arrow:disabled
|
|
|
|
{
|
|
|
|
border-image: url(:/light/right_arrow_disabled.svg);
|
|
|
|
}
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTabBar QToolButton::left-arrow:disabled
|
|
|
|
{
|
|
|
|
border-image: url(:/light/left_arrow_disabled.svg);
|
|
|
|
}
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #403F3F;
|
2016-10-17 01:03:40 +00:00
|
|
|
titlebar-close-icon: url(:/light/transparent.svg);
|
|
|
|
titlebar-normal-icon: url(:/light/transparent.svg);
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::close-button,
|
|
|
|
QDockWidget::float-button
|
|
|
|
{
|
|
|
|
border: 0.1ex solid transparent;
|
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::float-button
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/undock.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::float-button:hover
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/undock-hover.svg) ;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::close-button
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/close.svg) ;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::close-button:hover
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/close-hover.svg) ;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QDockWidget::close-button:pressed
|
|
|
|
{
|
|
|
|
border-image: url(:/dark/close-pressed.svg) ;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView,
|
|
|
|
QListView
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #FCFCFC;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView::branch:has-siblings:!adjoins-item
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/stylesheet-vline.svg) 0;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView::branch:has-siblings:adjoins-item
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/stylesheet-branch-more.svg) 0;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView::branch:!has-children:!has-siblings:adjoins-item
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
border-image: url(:/light/stylesheet-branch-end.svg) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView::branch:closed:has-children:has-siblings
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2018-12-19 23:55:21 +00:00
|
|
|
border-image: url(:/light/stylesheet-branch-end-closed.svg) 0;
|
|
|
|
image: url(:/light/branch_closed.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
2016-10-26 22:37:58 +00:00
|
|
|
QTreeView::branch:open:has-children:has-siblings
|
|
|
|
{
|
2018-12-19 23:55:21 +00:00
|
|
|
border-image: url(:/light/stylesheet-branch-end-open.svg) 0;
|
|
|
|
image: url(:/light/branch_open.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTableView::item,
|
2016-10-17 23:03:19 +00:00
|
|
|
QListView::item,
|
|
|
|
QTreeView::item
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.3ex;
|
2016-10-17 23:03:19 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTableView::item:!selected:hover,
|
|
|
|
QListView::item:!selected:hover,
|
|
|
|
QTreeView::item:!selected:hover
|
2016-10-17 23:03:19 +00:00
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: rgba(61, 173, 232, 0.1);
|
|
|
|
outline: 0;
|
2016-10-17 23:03:19 +00:00
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSlider::groove:horizontal
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #EFF0F1;
|
|
|
|
height: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: #9CA0A4;
|
|
|
|
margin: 0px;
|
2016-10-26 22:37:58 +00:00
|
|
|
border-radius: 0.2ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSlider::handle:horizontal
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BABEC2;
|
|
|
|
width: 1.6ex;
|
|
|
|
height: 1.6ex;
|
|
|
|
margin: -0.8ex 0;
|
|
|
|
border-radius: 0.9ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSlider::groove:vertical
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #EFF0F1;
|
|
|
|
width: 0.4ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
background: #9CA0A4;
|
2016-10-26 22:37:58 +00:00
|
|
|
margin: 0ex;
|
|
|
|
border-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSlider::handle:vertical
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background: #D9D8D7;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BABEC2;
|
|
|
|
width: 1.6ex;
|
|
|
|
height: 1.6ex;
|
|
|
|
margin: 0 -0.8ex;
|
|
|
|
border-radius: 0.9ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal:focus,
|
|
|
|
QSlider::handle:vertical:focus
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #33A4DF;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::handle:horizontal:hover,
|
|
|
|
QSlider::handle:vertical:hover
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #51c2fc;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::sub-page:horizontal,
|
|
|
|
QSlider::add-page:vertical
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: #33A4DF;
|
2016-10-26 22:37:58 +00:00
|
|
|
border-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSlider::add-page:horizontal,
|
|
|
|
QSlider::sub-page:vertical
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: #BABEC2;
|
2016-10-26 22:37:58 +00:00
|
|
|
border-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: transparent;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
|
|
|
border-radius: 0.2ex;
|
|
|
|
margin: 0.3ex;
|
|
|
|
padding: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton[popupMode="1"] /* only for MenuButtonPopup */
|
|
|
|
{
|
|
|
|
padding-right: 2ex; /* make way for the popup button */
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton[popupMode="2"] /* only for InstantPopup */
|
|
|
|
{
|
|
|
|
padding-right: 1ex; /* make way for the popup button */
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton::menu-indicator
|
|
|
|
{
|
|
|
|
border-image: url(:/light/down_arrow.svg);
|
|
|
|
top: -0.7ex; left: -0.2ex; /* shift it a bit */
|
|
|
|
width = 0.9ex;
|
|
|
|
height = 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton::menu-arrow
|
|
|
|
{
|
|
|
|
border-image: url(:/light/down_arrow.svg);
|
|
|
|
width = 0.9ex;
|
|
|
|
height = 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton:hover,
|
|
|
|
QToolButton::menu-button:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: transparent;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #33A4DF;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton:checked,
|
|
|
|
QToolButton:pressed,
|
|
|
|
QToolButton::menu-button:pressed
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #47b8fc;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #47b8fc;
|
|
|
|
padding: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton::menu-button
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-top-right-radius: 6px;
|
|
|
|
border-bottom-right-radius: 6px;
|
2016-10-26 22:37:58 +00:00
|
|
|
/* 1ex width + 0.4ex for border + no text = 2ex allocated above */
|
|
|
|
width: 1ex;
|
|
|
|
padding: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolButton::menu-arrow:open
|
|
|
|
{
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QPushButton::menu-indicator
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom right;
|
2016-10-26 22:37:58 +00:00
|
|
|
left: 0.8ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTableView
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
gridline-color: #BAB9B8;
|
|
|
|
background-color: #FCFCFC;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTableView,
|
|
|
|
QHeaderView
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item:pressed
|
|
|
|
{
|
|
|
|
background: #33A4DF;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item:selected:active
|
|
|
|
{
|
|
|
|
background: #33A4DF;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTableView::item:selected:hover
|
|
|
|
{
|
|
|
|
background-color: #47b8f3;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QListView::item:pressed,
|
|
|
|
QTreeView::item:pressed
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: #3daee9;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QTreeView::item:selected:active,
|
|
|
|
QListView::item:selected:active
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background: #3daee9;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QListView::item:selected:hover,
|
|
|
|
QTreeView::item:selected:hover
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
background-color: #51c2fc;
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QHeaderView
|
|
|
|
{
|
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-radius: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QHeaderView::section
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
|
|
|
color: #31363B;
|
2016-10-26 22:37:58 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-radius: 0px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QHeaderView::section::vertical::first,
|
|
|
|
QHeaderView::section::vertical::only-one
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-top: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section::vertical
|
|
|
|
{
|
|
|
|
border-top: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border-left: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section::horizontal
|
|
|
|
{
|
|
|
|
border-left: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QHeaderView::section:checked
|
2016-10-26 22:37:58 +00:00
|
|
|
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
background-color: #b9dae7;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* style the sort indicator */
|
2016-10-26 22:37:58 +00:00
|
|
|
QHeaderView::down-arrow
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
image: url(:/light/down_arrow.svg);
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QHeaderView::up-arrow
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
image: url(:/light/up_arrow.svg);
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QTableCornerButton::section
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolBox
|
|
|
|
{
|
|
|
|
padding: 0.5ex;
|
|
|
|
border: 0.1ex transparent black;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolBox:selected
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
|
|
|
border-color: #33A4DF;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QToolBox:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
border-color: #33A4DF;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QStatusBar::item
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
border: 0px transparent dark;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSplitter::handle
|
|
|
|
{
|
|
|
|
border: 0.1ex dashed #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSplitter::handle:hover
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #787876;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #BAB9B8;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSplitter::handle:horizontal
|
|
|
|
{
|
|
|
|
width: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QSplitter::handle:vertical
|
|
|
|
{
|
|
|
|
height: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QProgressBar:horizontal
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #BABEC2;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #EFF0F1;
|
|
|
|
border-radius: 0.3ex;
|
|
|
|
height: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
text-align: right;
|
2016-10-26 22:37:58 +00:00
|
|
|
margin-top: 0.5ex;
|
|
|
|
margin-bottom: 0.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
margin-right: 5ex;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QProgressBar::chunk:horizontal
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #33A4DF;
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex transparent;
|
|
|
|
border-radius: 0.3ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 22:37:58 +00:00
|
|
|
QAbstractSpinBox
|
|
|
|
{
|
2016-10-17 01:03:40 +00:00
|
|
|
background-color: #EFF0F1;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox,
|
2016-10-26 18:12:35 +00:00
|
|
|
QDoubleSpinBox
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
padding-right: 1.5ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-button,
|
2016-10-26 18:12:35 +00:00
|
|
|
QDoubleSpinBox::up-button
|
2016-10-17 01:03:40 +00:00
|
|
|
{
|
|
|
|
subcontrol-origin: content;
|
2016-10-26 18:12:35 +00:00
|
|
|
subcontrol-position: right top;
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1.6ex;
|
|
|
|
border-width: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-arrow,
|
|
|
|
QDoubleSpinBox::up-arrow
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/up_arrow.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::up-arrow:hover,
|
|
|
|
QSpinBox::up-arrow:pressed,
|
|
|
|
QDoubleSpinBox::up-arrow:hover,
|
|
|
|
QDoubleSpinBox::up-arrow:pressed
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/up_arrow-hover.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSpinBox::up-arrow:disabled,
|
|
|
|
QSpinBox::up-arrow:off,
|
|
|
|
QDoubleSpinBox::up-arrow:disabled,
|
2016-10-17 01:03:40 +00:00
|
|
|
QDoubleSpinBox::up-arrow:off
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/up_arrow_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-button,
|
|
|
|
QDoubleSpinBox::down-button
|
|
|
|
{
|
|
|
|
subcontrol-origin: content;
|
2016-10-26 18:12:35 +00:00
|
|
|
subcontrol-position: right bottom;
|
2016-10-17 01:03:40 +00:00
|
|
|
|
2016-10-26 20:25:02 +00:00
|
|
|
width: 1.6ex;
|
|
|
|
border-width: 0.1ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow,
|
|
|
|
QDoubleSpinBox::down-arrow
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow:hover,
|
|
|
|
QSpinBox::down-arrow:pressed,
|
|
|
|
QDoubleSpinBox::down-arrow:hover,
|
|
|
|
QDoubleSpinBox::down-arrow:pressed
|
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow-hover.svg);
|
|
|
|
width: 0.9ex;
|
|
|
|
height: 0.6ex;
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
2016-10-26 18:12:35 +00:00
|
|
|
QSpinBox::down-arrow:disabled,
|
|
|
|
QSpinBox::down-arrow:off,
|
|
|
|
QDoubleSpinBox::down-arrow:disabled,
|
2016-10-17 01:03:40 +00:00
|
|
|
QDoubleSpinBox::down-arrow:off
|
2016-10-26 18:12:35 +00:00
|
|
|
{
|
2016-10-26 20:25:02 +00:00
|
|
|
border-image: url(:/light/down_arrow_disabled.svg);
|
2016-10-17 01:03:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover
|
|
|
|
{
|
2016-10-26 22:37:58 +00:00
|
|
|
border: 0.1ex solid #3daef3;
|
2016-10-17 01:03:40 +00:00
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:focus
|
|
|
|
{
|
|
|
|
background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #4cbdff, stop: 0.5 #33a4e8);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:focus:hover
|
|
|
|
{
|
|
|
|
background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #bedfec, stop: 0.5 #b9dae7);
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:focus:pressed,
|
|
|
|
QPushButton:pressed
|
|
|
|
{
|
|
|
|
background-color: qlineargradient(x1: 0.5, y1: 0.5 x2: 0.5, y2: 1, stop: 0 #bedfec, stop: 0.5 #b9dae7);
|
|
|
|
color: #31363B;
|
|
|
|
}
|
|
|
|
|