2019-08-27 09:41:14 +07:00
|
|
|
QWidget
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
2019-08-27 09:41:14 +07:00
|
|
|
background: transparent;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2022-10-26 10:35:54 +07:00
|
|
|
QLabel, QCheckBox, QRadioButton, QMenu::item
|
2022-10-06 19:18:38 +02:00
|
|
|
{
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
2021-11-09 11:55:36 +07:00
|
|
|
QWindow, QMainWindow, QMdiSubWindow, QDialog, QAbstractScrollArea, QFocusFrame, QWizardPage, QDockWidget, QDockWidgetGroupWindow, QTabWidget, QGroupBox
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
|
|
|
color: @text;
|
|
|
|
background-color: @background;
|
|
|
|
}
|
|
|
|
|
2021-11-09 11:55:36 +07:00
|
|
|
QDockWidget, QDockWidgetGroupWindow {
|
|
|
|
padding: 0.2em;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QWidget:item:selected
|
|
|
|
{
|
|
|
|
background-color: @selection;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
2019-09-05 08:44:55 +07:00
|
|
|
QWebView, QTextBrowser
|
|
|
|
{
|
|
|
|
color: #000000;
|
|
|
|
background-color: #ffffff;
|
|
|
|
}
|
|
|
|
|
2019-08-27 09:41:14 +07:00
|
|
|
QToolTip
|
|
|
|
{
|
|
|
|
border: 1px solid #222;
|
2023-04-08 08:23:40 +02:00
|
|
|
background: @itembackground;
|
2019-08-27 09:41:14 +07:00
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QMenuBar {
|
|
|
|
background-color: @itemdarkbackground;
|
|
|
|
color: @itembackground;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:selected
|
|
|
|
{
|
|
|
|
background: @background;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenuBar::item:pressed
|
|
|
|
{
|
|
|
|
background: @background;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
2023-08-01 10:48:31 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* SPIN BOX */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QAbstractSpinBox {
|
2023-08-01 10:48:31 +07:00
|
|
|
padding: 0.12em;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: @itemdarkbackground;
|
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2023-08-01 10:48:31 +07:00
|
|
|
background-color:@itembackground;
|
2019-01-23 18:56:35 +07:00
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @itemdarkbackground;
|
2023-08-01 10:48:31 +07:00
|
|
|
color: @text;
|
2018-12-27 11:24:57 +07:00
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
2018-12-27 11:24:57 +07:00
|
|
|
QAbstractSpinBox::up-button {
|
2018-12-24 11:20:54 +07:00
|
|
|
subcontrol-origin: border;
|
2018-12-27 11:24:57 +07:00
|
|
|
subcontrol-position: top right;
|
2023-08-01 10:48:31 +07:00
|
|
|
margin-top:2px;
|
|
|
|
margin-right:2px;
|
|
|
|
margin-bottom:-1px;
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
2023-08-01 10:48:31 +07:00
|
|
|
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #535353, stop: 1 #464646);
|
|
|
|
border: 0;
|
|
|
|
border-top-right-radius: 0.15em;
|
|
|
|
border-top-left-radius: 0.15em;
|
2018-12-27 11:24:57 +07:00
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
2018-12-27 11:24:57 +07:00
|
|
|
QAbstractSpinBox::down-button {
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: bottom right;
|
2023-08-01 10:48:31 +07:00
|
|
|
margin-bottom:2px;
|
|
|
|
margin-right:2px;
|
|
|
|
margin-top:-1px;
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
2023-08-01 10:48:31 +07:00
|
|
|
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #464646, stop: 1 #373737);
|
|
|
|
border: 0;
|
|
|
|
border-bottom-right-radius: 0.15em;
|
|
|
|
border-bottom-left-radius: 0.15em;
|
2018-12-27 11:24:57 +07:00
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
2023-08-01 10:48:31 +07:00
|
|
|
QAbstractSpinBox::up-arrow
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/arrow-up.svg);
|
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
2019-08-28 11:12:31 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox::down-arrow
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
|
|
|
|
2023-08-01 10:48:31 +07:00
|
|
|
QAbstractSpinBox::up-button:hover, QAbstractSpinBox::down-button:hover {
|
|
|
|
background-color: @darkalternativegradient;
|
|
|
|
}
|
|
|
|
QAbstractSpinBox::up-button:disabled, QAbstractSpinBox::down-button:disabled {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractSpinBox::drop-down {
|
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: top right;
|
|
|
|
margin-top:1px;
|
|
|
|
margin-right:1px;
|
|
|
|
margin-bottom:1px;
|
|
|
|
width: 0.8em;
|
|
|
|
background-color: @darkgradient;
|
|
|
|
color:@itembackground;
|
|
|
|
border-style: solid;
|
|
|
|
border: 1px solid @itembackground;
|
|
|
|
border-radius: 0.1em;
|
|
|
|
}
|
|
|
|
QAbstractSpinBox::drop-down:hover {
|
|
|
|
background-color: @darkalternativegradient;
|
|
|
|
}
|
|
|
|
QAbstractSpinBox::drop-down:disabled {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
2019-08-28 11:12:31 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* CALENDAR
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
/* header row */
|
|
|
|
QCalendarWidget QWidget {
|
|
|
|
color: @itembackground;
|
|
|
|
alternate-background-color: @background;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QWidget#qt_calendar_navigationbar
|
|
|
|
{
|
|
|
|
color: @text;
|
|
|
|
background-color: @background;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QWidget#qt_calendar_navigationbar QWidget
|
|
|
|
{
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* normal days */
|
|
|
|
QCalendarWidget QAbstractItemView:enabled
|
|
|
|
{
|
|
|
|
color: @text;
|
|
|
|
background-color: @itembackground;
|
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
QCalendarWidget QAbstractItemView:disabled
|
|
|
|
{
|
|
|
|
color: @itemalternativebackground;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
|
|
|
/* ==================================================================================== */
|
|
|
|
/* MENU */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QMenu
|
|
|
|
{
|
|
|
|
background: #444;
|
|
|
|
border: 1px solid #222;
|
2019-01-01 11:42:51 +07:00
|
|
|
padding: 0.2em;
|
|
|
|
padding-right: 0em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2021-02-23 11:53:55 +07:00
|
|
|
QMenu::icon
|
|
|
|
{
|
|
|
|
padding-left: 0.3em;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QMenu::item
|
|
|
|
{
|
|
|
|
background: transparent;
|
2021-02-23 11:53:55 +07:00
|
|
|
padding: 0.2em 1.3em 0.2em 0.4em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item:disabled
|
|
|
|
{
|
|
|
|
color: #555;
|
|
|
|
background: transparent;
|
2021-02-23 11:53:55 +07:00
|
|
|
padding: 0.2em 1.3em 0.2em 0.4em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item:selected
|
|
|
|
{
|
|
|
|
background-color: @selection;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
2019-01-12 11:53:40 +07:00
|
|
|
QMenu::item:checked
|
|
|
|
{
|
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
|
2021-02-23 11:53:55 +07:00
|
|
|
QMenu::indicator
|
|
|
|
{
|
|
|
|
width: 0em;
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:53:55 +07:00
|
|
|
QWidget:disabled, QWidget:editable:disabled
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
2019-01-15 09:42:00 +07:00
|
|
|
color: @itemalternativebackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: @background;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit, QTextEdit, QPlainTextEdit
|
|
|
|
{
|
2019-01-04 09:17:00 +07:00
|
|
|
padding: 0.12em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border-width: 1px;
|
|
|
|
border-color: @itemdarkbackground;
|
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color:@itembackground;
|
2019-01-23 18:56:35 +07:00
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton
|
|
|
|
{
|
2019-02-19 18:48:36 +07:00
|
|
|
padding: 0.21em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border-width: 1px;
|
|
|
|
border-color: @itemdarkbackground;
|
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2019-02-03 13:07:59 +07:00
|
|
|
background-color:@lightgradient;
|
2018-12-24 11:20:54 +07:00
|
|
|
color:@text;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton
|
|
|
|
{
|
2019-01-04 09:17:00 +07:00
|
|
|
padding: 0.12em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border-width: 1px;
|
|
|
|
border-color: @itemdarkbackground;
|
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2019-02-03 13:07:59 +07:00
|
|
|
background-color:@lightgradient;
|
2018-12-24 11:20:54 +07:00
|
|
|
color:@text;
|
|
|
|
}
|
2019-01-12 15:24:41 +07:00
|
|
|
|
2022-01-26 17:23:52 +07:00
|
|
|
QPushButton[flat=true], QPushButton[autoRaise=true], QToolButton[autoRaise=true] {
|
2019-02-06 17:26:58 +07:00
|
|
|
border:1px solid rgba(0,0,0,0);
|
2019-02-06 17:52:27 +07:00
|
|
|
background-color:transparent;
|
2019-02-06 17:26:58 +07:00
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QToolButton[popupMode="1"]
|
|
|
|
{
|
2019-01-01 11:42:51 +07:00
|
|
|
padding-right: 0.9em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
QToolButton::menu-button {
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
2023-08-01 11:56:38 +07:00
|
|
|
border: 1px solid rgba(0,0,0,0);
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2018-12-27 11:24:57 +07:00
|
|
|
background:@itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
2019-02-06 17:52:27 +07:00
|
|
|
QToolButton:hover, QToolButton::menu-button:hover
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
|
|
|
border-width: 1px;
|
2019-02-06 17:26:58 +07:00
|
|
|
border-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.2em;
|
2019-01-12 15:24:41 +07:00
|
|
|
background-color: transparent;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
QToolButton:checked
|
|
|
|
{
|
|
|
|
border: 1px solid @selection;
|
|
|
|
}
|
2020-04-06 12:27:49 +07:00
|
|
|
QToolButton:checked:disabled
|
|
|
|
{
|
|
|
|
border: 1px solid rgba(240,240,240,100);
|
|
|
|
}
|
2022-08-22 11:56:42 +07:00
|
|
|
QToolButton::menu-arrow
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
2022-08-22 11:56:42 +07:00
|
|
|
QToolButton::menu-arrow:disabled
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/arrow-down-disabled.svg);
|
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
|
|
|
QToolButton::menu-indicator
|
|
|
|
{
|
|
|
|
top: 0.2em;
|
|
|
|
right: -0.2em;
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
|
|
|
QToolButton::menu-indicator:disabled
|
|
|
|
{
|
|
|
|
top: 0.2em;
|
|
|
|
right: -0.2em;
|
|
|
|
image: url(@theme_path/icons/arrow-down-disabled.svg);
|
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
QToolBar QToolButton, QToolButton::menu-button
|
|
|
|
{
|
2018-12-27 15:03:49 +07:00
|
|
|
border-color: rgba(0,0,0,0);
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: none;
|
|
|
|
}
|
|
|
|
|
2019-02-06 17:52:27 +07:00
|
|
|
QPushButton:hover, QToolButton:hover {
|
2019-02-03 13:07:59 +07:00
|
|
|
background-color: @lightalternativegradient;
|
2019-01-12 15:24:41 +07:00
|
|
|
}
|
|
|
|
|
2020-05-08 11:40:11 +07:00
|
|
|
QPushButton:pressed, QPushButton:open, QToolButton:pressed, QTabWidget::top-bar QToolButton:pressed {
|
2019-01-12 15:24:41 +07:00
|
|
|
background-color: @darkalternativegradient;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* COMBO BOX */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QComboBox {
|
|
|
|
selection-background-color: @selection;
|
2019-01-23 18:56:35 +07:00
|
|
|
selection-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: @darkgradient;
|
|
|
|
color:@itembackground;
|
|
|
|
border-style: solid;
|
2019-01-01 11:42:51 +07:00
|
|
|
border: 1px solid #1e1e1e;
|
|
|
|
border-radius: 0.2em;
|
2019-02-08 12:11:25 +07:00
|
|
|
padding: 0.12em 1.2em 0.12em 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-08-01 10:48:31 +07:00
|
|
|
QComboBox:hover {
|
2019-01-12 15:24:41 +07:00
|
|
|
background-color: @darkalternativegradient;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:on {
|
2019-01-04 09:17:00 +07:00
|
|
|
padding: 0.12em;
|
2019-01-01 11:42:51 +07:00
|
|
|
padding-left: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,
|
|
|
|
stop: 0 #555,
|
|
|
|
stop: 0.1 #4C4C4C,
|
|
|
|
stop: 0.5 #464646,
|
|
|
|
stop: 0.9 #414141,
|
|
|
|
stop: 1 #444);
|
|
|
|
selection-background-color: @selection;
|
2019-01-23 18:56:35 +07:00
|
|
|
selection-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-02-08 11:05:14 +07:00
|
|
|
QComboBox::icon {
|
|
|
|
padding-left:0.3em;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QComboBox QAbstractItemView, QComboBox QListView {
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
2019-01-04 09:17:00 +07:00
|
|
|
padding: 0.12em;
|
2018-12-24 11:20:54 +07:00
|
|
|
background: @itemdarkbackground;
|
|
|
|
color: @itembackground;
|
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @text;
|
|
|
|
}
|
|
|
|
QComboBox::drop-down {
|
2023-08-01 10:48:31 +07:00
|
|
|
subcontrol-origin: border;
|
2018-12-24 11:20:54 +07:00
|
|
|
subcontrol-position: top right;
|
2023-08-01 10:48:31 +07:00
|
|
|
margin-right: 2px;
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border: 0px;
|
|
|
|
}
|
2023-07-19 15:07:31 +07:00
|
|
|
QComboBox::drop-down:editable {
|
2023-08-01 10:48:31 +07:00
|
|
|
subcontrol-origin: border;
|
2023-07-19 15:07:31 +07:00
|
|
|
subcontrol-position: top right;
|
2023-08-01 10:48:31 +07:00
|
|
|
margin-top:1px;
|
|
|
|
margin-right:1px;
|
|
|
|
margin-bottom:1px;
|
2023-07-19 15:07:31 +07:00
|
|
|
width: 0.8em;
|
|
|
|
background-color: @darkgradient;
|
|
|
|
color:@itembackground;
|
|
|
|
border-style: solid;
|
|
|
|
border: 1px solid @itembackground;
|
|
|
|
border-radius: 0.1em;
|
|
|
|
}
|
2023-08-01 10:48:31 +07:00
|
|
|
QComboBox::drop-down:editable:hover {
|
|
|
|
background-color: @darkalternativegradient;
|
|
|
|
}
|
2023-07-19 15:07:31 +07:00
|
|
|
QComboBox::drop-down:editable:disabled {
|
|
|
|
background-color: transparent !important;
|
|
|
|
border-color: transparent !important;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
QComboBox::down-arrow
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.8em;
|
|
|
|
height: 1.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-01-01 12:59:07 +07:00
|
|
|
QComboBox:item {
|
2021-02-23 11:53:55 +07:00
|
|
|
padding-left: 0.1em;
|
2019-01-04 09:17:00 +07:00
|
|
|
height:1.25em;
|
2019-01-01 12:59:07 +07:00
|
|
|
}
|
|
|
|
QComboBox:item:selected {
|
2021-02-23 11:53:55 +07:00
|
|
|
padding-left: 0.1em;
|
2019-01-04 09:17:00 +07:00
|
|
|
height:1.25em;
|
2019-01-01 12:59:07 +07:00
|
|
|
}
|
|
|
|
QComboBox:item:checked {
|
2021-02-23 11:53:55 +07:00
|
|
|
padding-left: 0.1em;
|
2019-01-04 09:17:00 +07:00
|
|
|
height:1.25em;
|
2019-01-12 11:53:40 +07:00
|
|
|
text-decoration:underline;
|
2019-01-01 12:59:07 +07:00
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
2019-02-05 14:01:02 +07:00
|
|
|
QComboBox::indicator {
|
|
|
|
background-color:transparent;
|
|
|
|
selection-background-color:transparent;
|
|
|
|
color:transparent;
|
|
|
|
selection-color:transparent;
|
2023-07-19 15:07:31 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:editable {
|
|
|
|
padding: 0.12em;
|
|
|
|
border-width: 1px;
|
2023-08-01 11:47:43 +07:00
|
|
|
border-color: #1e1e1e;
|
2023-07-19 15:07:31 +07:00
|
|
|
border-style: solid;
|
|
|
|
border-radius: 0.2em;
|
|
|
|
background-color:@itembackground;
|
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @itemdarkbackground;
|
|
|
|
color: @text;
|
2019-02-05 14:01:02 +07:00
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* SCROLL BAR */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QScrollBar:horizontal {
|
2019-01-12 11:53:40 +07:00
|
|
|
background-color: @itemdarkbackground;
|
2019-01-01 11:42:51 +07:00
|
|
|
height: 0.5em;
|
2018-12-24 11:20:54 +07:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2021-10-20 13:43:37 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:horizontal {
|
2019-01-12 11:53:40 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
background: @background;
|
2019-02-11 10:25:19 +07:00
|
|
|
min-width: 0.8em;
|
2021-10-20 13:43:37 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
|
|
width: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical {
|
2019-01-12 11:53:40 +07:00
|
|
|
background-color: @itemdarkbackground;
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.5em;
|
2018-12-24 11:20:54 +07:00
|
|
|
margin: 0;
|
2021-10-20 13:43:37 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:vertical {
|
2019-01-12 11:53:40 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
background: @background;
|
2019-02-11 10:25:19 +07:00
|
|
|
min-height: 0.8em;
|
2021-10-20 13:43:37 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
|
|
height: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2021-10-20 13:43:37 +07:00
|
|
|
QAbstractScrollArea::corner {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
|
|
|
QSizeGrip
|
|
|
|
{
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.1em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget
|
|
|
|
{
|
|
|
|
titlebar-close-icon: url(@theme_path/icons/close.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::separator
|
|
|
|
{
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::title
|
|
|
|
{
|
|
|
|
text-align: center;
|
2019-01-01 11:42:51 +07:00
|
|
|
spacing: 0.1em; /* spacing between items in the tool bar */
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: @background;
|
2019-01-01 11:42:51 +07:00
|
|
|
font-weight: bold;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button, QDockWidget::float-button
|
|
|
|
{
|
|
|
|
text-align: center;
|
|
|
|
spacing: 1px; /* spacing between items in the tool bar */
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button:hover, QDockWidget::float-button:hover
|
|
|
|
{
|
|
|
|
background: #242424;
|
|
|
|
}
|
|
|
|
|
|
|
|
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed
|
|
|
|
{
|
|
|
|
padding: 1px -1px -1px 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator
|
|
|
|
{
|
|
|
|
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #161616, stop: 0.5 #151515, stop: 0.6 #212121, stop:1 #343434);*/
|
|
|
|
color: white;
|
2019-01-01 11:42:51 +07:00
|
|
|
padding-left: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border: 0px solid #4c4c4c;
|
2019-01-01 11:42:51 +07:00
|
|
|
spacing: 0.1em; /* spacing between items in the tool bar */
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QMainWindow::separator:hover
|
|
|
|
{
|
|
|
|
|
|
|
|
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:0 #d7801a, stop:0.5 #b56c17 stop:1 #ffa02f);*/
|
|
|
|
color: white;
|
2019-01-01 11:42:51 +07:00
|
|
|
padding-left: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
border: 1px solid #6c6c6c;
|
2019-01-01 11:42:51 +07:00
|
|
|
spacing: 0.1em; /* spacing between items in the tool bar */
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar {
|
|
|
|
background: @background;
|
|
|
|
border: 1px solid @background;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::handle:horizontal
|
|
|
|
{
|
2018-12-29 11:10:02 +07:00
|
|
|
image: url(@theme_path/icons/handle-horizontal.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.2em;
|
|
|
|
height: 0.5em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::handle:vertical
|
|
|
|
{
|
2018-12-29 11:10:02 +07:00
|
|
|
image: url(@theme_path/icons/handle-vertical.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::separator:horizontal
|
|
|
|
{
|
2018-12-29 11:10:02 +07:00
|
|
|
image: url(@theme_path/icons/separator-horizontal.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.2em;
|
|
|
|
height: 0.5em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QToolBar::separator:vertical
|
|
|
|
{
|
2018-12-29 11:10:02 +07:00
|
|
|
image: url(@theme_path/icons/separator-vertical.svg);
|
2019-01-01 11:42:51 +07:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::separator
|
|
|
|
{
|
|
|
|
height: 2px;
|
|
|
|
border:none;
|
|
|
|
border-bottom:1px solid @itemdarkbackground;
|
|
|
|
padding-left: 4px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QProgressBar
|
|
|
|
{
|
2019-01-12 16:56:40 +07:00
|
|
|
height: 1.3em;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: @itemdarkbackground;
|
|
|
|
border-style: solid;
|
|
|
|
border-radius: 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
text-align: center;
|
2019-01-12 16:56:40 +07:00
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QProgressBar::chunk
|
|
|
|
{
|
|
|
|
background-color: @selection;
|
|
|
|
width: 3px;
|
|
|
|
}
|
|
|
|
|
2019-01-04 09:17:00 +07:00
|
|
|
QTabWidget::pane {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
2019-01-04 10:08:43 +07:00
|
|
|
top:-1px;
|
2019-01-04 09:17:00 +07:00
|
|
|
}
|
|
|
|
|
2020-06-11 11:28:54 +07:00
|
|
|
QTabWidget[tabPosition="0"] QTabBar {
|
|
|
|
border-bottom: 1px solid @itemdarkbackground;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QTabBar::tab {
|
|
|
|
color: @text;
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-bottom: none;
|
2020-06-11 11:28:54 +07:00
|
|
|
background-color: transparent;
|
2019-01-01 11:42:51 +07:00
|
|
|
padding-left: 0.8em;
|
|
|
|
padding-right: 0.8em;
|
|
|
|
padding-top: 0.1em;
|
|
|
|
padding-bottom: 0.1em;
|
|
|
|
margin-right: -0.05em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-03-12 15:06:44 +07:00
|
|
|
QTabBar::tab:disabled {
|
|
|
|
color: @itemalternativebackground
|
|
|
|
}
|
|
|
|
|
2021-12-18 16:10:53 +07:00
|
|
|
QTabBar::tab:last, QTabBar::tab::only-one
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
2021-12-18 16:10:53 +07:00
|
|
|
margin-right: 0;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:first:!selected
|
|
|
|
{
|
2021-12-18 16:10:53 +07:00
|
|
|
margin-left: 0px;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom {
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: 1px solid @itemdarkbackground;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:!selected
|
|
|
|
{
|
2019-01-01 11:42:51 +07:00
|
|
|
margin-top: 0.3em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:selected
|
|
|
|
{
|
|
|
|
margin-bottom: 0px;
|
2020-06-11 11:28:54 +07:00
|
|
|
background-color: @background;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2020-05-03 10:04:45 +07:00
|
|
|
QTabBar::tab:bottom:!selected
|
2018-12-24 11:20:54 +07:00
|
|
|
{
|
2020-05-03 10:04:45 +07:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTabBar::tab:bottom:selected
|
|
|
|
{
|
|
|
|
margin-top: 0px;
|
2020-06-11 11:28:54 +07:00
|
|
|
background-color: @background;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox::indicator:hover,
|
|
|
|
QCheckBox::indicator:hover,
|
|
|
|
QRadioButton::indicator:hover
|
|
|
|
{
|
2019-01-15 09:42:00 +07:00
|
|
|
border: 1px solid @hover;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ==================================================================================== */
|
2022-06-17 12:06:14 +07:00
|
|
|
/* GROUP / FRAME */
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
|
2019-02-09 13:03:12 +07:00
|
|
|
QGroupBox {
|
|
|
|
padding-top: 1.05em;
|
|
|
|
border:1px solid rgba(0,0,0,0);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QGroupBox::title {
|
2019-05-09 10:46:05 +07:00
|
|
|
color: @textlight;
|
|
|
|
}
|
|
|
|
|
|
|
|
QGroupBox::title:disabled {
|
|
|
|
color: @itemalternativebackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-02-07 10:53:23 +07:00
|
|
|
QGroupBox::indicator {
|
|
|
|
width: 0.9em;
|
|
|
|
height: 0.9em;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QGroupBox::indicator:unchecked {
|
|
|
|
border: 1px solid @background;
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QGroupBox::indicator:unchecked:disabled {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked-disabled.svg);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QGroupBox::indicator:checked {
|
|
|
|
border: 1px solid @background;
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg);
|
|
|
|
}
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QGroupBox::indicator:checked:disabled {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked-disabled.svg);
|
|
|
|
}
|
|
|
|
|
2022-06-17 12:06:14 +07:00
|
|
|
QFrame, QFrame:disabled {
|
|
|
|
border:1px solid rgba(0,0,0,0);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* RADIO BUTTON */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QRadioButton::indicator
|
|
|
|
{
|
2020-09-17 13:30:23 +07:00
|
|
|
border: 1px solid rgba(0,0,0,0);
|
2019-01-01 11:42:51 +07:00
|
|
|
width:0.8em;
|
|
|
|
height:0.8em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QRadioButton::indicator:unchecked
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/qradiobox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:unchecked:disabled
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/qradiobox-unchecked-disabled.svg);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QRadioButton::indicator:checked {
|
|
|
|
image: url(@theme_path/icons/qradiobox-checked.svg);
|
2019-05-09 10:46:05 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QRadioButton::indicator:checked:disabled {
|
|
|
|
image: url(@theme_path/icons/qradiobox-checked-disabled.svg);
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2020-09-17 13:30:23 +07:00
|
|
|
QRadioButton:disabled {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* CHECKBOX */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QCheckBox::indicator
|
|
|
|
{
|
2020-09-17 13:30:23 +07:00
|
|
|
border: 1px solid rgba(0,0,0,0);
|
2019-01-01 11:42:51 +07:00
|
|
|
width:0.8em;
|
|
|
|
height:0.8em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-05-09 10:46:05 +07:00
|
|
|
QCheckBox::indicator:unchecked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:unchecked:disabled {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked-disabled.svg);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QCheckBox::indicator:checked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg);
|
2019-05-09 10:46:05 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QCheckBox::indicator:checked:disabled {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked-disabled.svg);
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2020-09-17 13:30:23 +07:00
|
|
|
QCheckBox:disabled {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* SLIDER */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
2019-01-12 11:53:40 +07:00
|
|
|
QSlider::groove:horizontal {
|
2018-12-24 11:20:54 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
2020-05-21 09:34:39 +07:00
|
|
|
border-radius: 0.15em;
|
2019-01-01 11:42:51 +07:00
|
|
|
height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
2019-01-12 11:53:40 +07:00
|
|
|
background-color: @itemdarkbackground;
|
2020-05-21 09:34:39 +07:00
|
|
|
margin: 0.15em 1px;
|
2019-01-12 11:53:40 +07:00
|
|
|
}
|
2020-10-20 10:52:10 +07:00
|
|
|
QSlider::groove:horizontal[invertedAppearance="true"] {
|
|
|
|
background-color: @itembackground;
|
|
|
|
}
|
2019-01-12 11:53:40 +07:00
|
|
|
QSlider::groove:vertical {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
2020-05-21 09:34:39 +07:00
|
|
|
border-radius: 0.15em;
|
2019-01-12 11:53:40 +07:00
|
|
|
width: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
2020-10-20 10:52:10 +07:00
|
|
|
background-color: @itembackground;
|
2020-05-21 09:34:39 +07:00
|
|
|
margin: 1px 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
2020-10-20 10:52:10 +07:00
|
|
|
QSlider::groove:vertical[invertedAppearance="true"] {
|
|
|
|
background-color: @itemdarkbackground;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
|
|
|
QSlider::handle:horizontal {
|
2019-01-12 11:53:40 +07:00
|
|
|
background: @gradient;
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
width: 1.3em;
|
2020-05-21 09:34:39 +07:00
|
|
|
margin: -0.15em -1px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
QSlider::handle:vertical {
|
2019-01-12 11:53:40 +07:00
|
|
|
background: @gradient;
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
height: 1.3em;
|
2020-05-21 09:34:39 +07:00
|
|
|
margin: -1px -0.15em; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
|
|
border-radius: 0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSlider::sub-page:horizontal {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-radius: 0.15em;
|
|
|
|
height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|
|
|
background-color: @itembackground;
|
|
|
|
margin: 0.15em 1px;
|
|
|
|
}
|
2020-10-20 10:52:10 +07:00
|
|
|
QSlider::sub-page:horizontal[invertedAppearance="true"] {
|
|
|
|
background-color: @itemdarkbackground;
|
|
|
|
}
|
2020-05-21 09:34:39 +07:00
|
|
|
QSlider::sub-page:vertical {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.15em;
|
2020-05-21 09:34:39 +07:00
|
|
|
height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
2020-10-20 10:52:10 +07:00
|
|
|
background-color: @itemdarkbackground;
|
2020-05-21 09:34:39 +07:00
|
|
|
margin: 1px 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
2020-10-20 10:52:10 +07:00
|
|
|
QSlider::sub-page:vertical[invertedAppearance="true"] {
|
|
|
|
background-color: @itembackground;
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
|
|
|
/* ==================================================================================== */
|
|
|
|
/* OTHER */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QAbstractItemView, QListView
|
|
|
|
{
|
|
|
|
background-color: @itembackground;
|
|
|
|
alternate-background-color: @itemalternativebackground;
|
|
|
|
color: @text;
|
2019-02-11 11:13:04 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
2019-01-01 11:42:51 +07:00
|
|
|
border-radius: 0.15em;
|
2018-12-24 11:20:54 +07:00
|
|
|
padding: 1px;
|
2018-12-27 15:03:49 +07:00
|
|
|
selection-background-color: @selection;
|
2019-01-23 18:56:35 +07:00
|
|
|
selection-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-09-18 18:06:07 +07:00
|
|
|
QAbstractItemView:disabled, QListView:disabled
|
|
|
|
{
|
|
|
|
color: @itemalternativebackground;
|
2022-06-19 15:38:20 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-radius: 0.15em;
|
2019-09-18 18:06:07 +07:00
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QAbstractItemView::selected, QListView::selected {
|
|
|
|
border: 0px;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2020-07-04 12:43:08 +07:00
|
|
|
QAbstractItemView::indicator:checked, QListView::indicator:checked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
|
|
|
|
}
|
|
|
|
QAbstractItemView::indicator:unchecked, QListView::indicator:unchecked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
2018-12-24 11:20:54 +07:00
|
|
|
|
|
|
|
/* ==================================================================================== */
|
|
|
|
/* TREE VIEW */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QTreeView {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
alternate-background-color: @itemalternativebackground;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::item, QTreeView::branch {
|
|
|
|
background: transparent;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
2019-09-18 18:06:07 +07:00
|
|
|
QTreeView::item:disabled {
|
|
|
|
color: @itemalternativebackground;
|
|
|
|
}
|
|
|
|
|
2023-07-19 10:56:40 +07:00
|
|
|
QTreeView::item:selected, QTreeView::branch:selected {
|
2018-12-24 11:20:54 +07:00
|
|
|
background-color: @selection;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:has-children:!has-siblings:closed,
|
|
|
|
QTreeView::branch:closed:has-children:has-siblings {
|
|
|
|
border-image: none;
|
|
|
|
image: url(@theme_path/icons/caret-right.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:open:has-children:!has-siblings,
|
|
|
|
QTreeView::branch:open:has-children:has-siblings {
|
|
|
|
border-image: none;
|
|
|
|
image: url(@theme_path/icons/caret-down.svg);
|
|
|
|
}
|
|
|
|
|
2020-06-04 17:46:23 +07:00
|
|
|
QTreeView::indicator
|
|
|
|
{
|
|
|
|
border: 1px solid transparent;
|
|
|
|
width:0.8em;
|
|
|
|
height:0.8em;
|
|
|
|
}
|
|
|
|
QTreeView::indicator:intermediary {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-intermediary.svg);
|
|
|
|
}
|
|
|
|
QTreeView::indicator:checked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
|
|
|
|
}
|
|
|
|
QTreeView::indicator:unchecked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QgsLayerTreeView::item,
|
|
|
|
QTreeView#viewGraduated::item,
|
|
|
|
QTreeView#viewCategories::item,
|
|
|
|
QTreeView#viewRules::item
|
|
|
|
{
|
2019-01-01 11:42:51 +07:00
|
|
|
padding: 0.1em 0em 0.1em 0em;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
QgsLayerTreeView::indicator:unchecked,
|
|
|
|
QTreeView#viewGraduated::indicator:unchecked,
|
|
|
|
QTreeView#viewCategories::indicator:unchecked,
|
|
|
|
QTreeView#viewRules::indicator:unchecked
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QgsLayerTreeView::indicator:checked,
|
|
|
|
QTreeView#viewGraduated::indicator:checked,
|
|
|
|
QTreeView#viewCategories::indicator:checked,
|
|
|
|
QTreeView#viewRules::indicator:checked
|
|
|
|
{
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ==================================================================================== */
|
|
|
|
/* TABLE VIEW */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QTableView {
|
|
|
|
color: @text;
|
2019-01-23 19:39:54 +07:00
|
|
|
selection-background-color: @selection;
|
|
|
|
selection-color: @itemdarkbackground;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-09-18 18:06:07 +07:00
|
|
|
QTableView:disabled {
|
|
|
|
color: @itemalternativebackground;
|
2022-06-19 15:38:20 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-radius: 0.15em;
|
2019-09-18 18:06:07 +07:00
|
|
|
}
|
|
|
|
|
2020-06-04 17:46:23 +07:00
|
|
|
QTableView::indicator
|
|
|
|
{
|
|
|
|
border: 1px solid transparent;
|
|
|
|
width:0.8em;
|
|
|
|
height:0.8em;
|
|
|
|
}
|
|
|
|
QTableView::indicator:intermediary {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-intermediary.svg);
|
|
|
|
}
|
|
|
|
QTableView::indicator:checked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-checked.svg) !important;
|
|
|
|
}
|
|
|
|
QTableView::indicator:unchecked {
|
|
|
|
image: url(@theme_path/icons/qcheckbox-unchecked.svg);
|
|
|
|
}
|
|
|
|
|
2019-02-11 11:13:04 +07:00
|
|
|
QTableView QTableCornerButton::section {
|
|
|
|
background-color: @background;
|
|
|
|
border: 1px solid @itembackground;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView {
|
|
|
|
background-color:transparent;
|
|
|
|
border:0;
|
|
|
|
}
|
|
|
|
|
2022-06-19 15:38:20 +07:00
|
|
|
QHeaderView:disabled {
|
|
|
|
background-color:transparent;
|
|
|
|
border:0;
|
|
|
|
}
|
|
|
|
|
2019-02-11 11:13:04 +07:00
|
|
|
QHeaderView::section, QHeaderView::section:vertical {
|
|
|
|
padding: 0.1m 0.2em 0.1em 0.2em;
|
2018-12-24 11:20:54 +07:00
|
|
|
background: transparent;
|
|
|
|
background-color: @background;
|
|
|
|
color: @text;
|
2019-02-11 11:13:04 +07:00
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-left: 0;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section:vertical {
|
|
|
|
border: 1px solid @itemdarkbackground;
|
|
|
|
border-left: 0;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section:last:vertical {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::section:last:horizontal {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::down-arrow {
|
|
|
|
width: 1.2em;
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QHeaderView::up-arrow {
|
|
|
|
width: 1.2em;
|
|
|
|
image: url(@theme_path/icons/arrow-up.svg);
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-02-09 14:28:22 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* FOCUS */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QToolButton:focus, QPushButton:focus, QCheckBox:focus, QRadioButton:focus, QGroupBox:focus {
|
|
|
|
outline:1px solid @focusdark;
|
|
|
|
outline-radius: 0.2em;
|
|
|
|
}
|
|
|
|
|
2022-01-26 17:23:52 +07:00
|
|
|
QPushButton[flat=true], QPushButton[autoRaise=true], QToolButton[autoRaise=true] {
|
|
|
|
outline:1px solid rgba(0,0,0,0);
|
|
|
|
outline-radius: 0.2em;
|
|
|
|
}
|
|
|
|
|
2019-02-09 14:28:22 +07:00
|
|
|
QComboBox:focus, QAbstractSpinBox:focus, QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus {
|
|
|
|
border:1px solid @focus;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton[autoRaise=true]:focus:!pressed {
|
|
|
|
border:1px solid @focusdark;
|
|
|
|
}
|
|
|
|
|
|
|
|
QToolButton[autoRaise=false]:focus:!pressed {
|
|
|
|
border:1px solid @focus;
|
|
|
|
}
|
|
|
|
|
2019-02-11 11:34:01 +07:00
|
|
|
QSlider::handle:horizontal:focus, QSlider::handle:vertical:focus {
|
|
|
|
border: 1px solid @focus;
|
|
|
|
}
|
|
|
|
|
2023-01-26 10:54:37 +07:00
|
|
|
QVideoWidget QWidget {
|
|
|
|
background-color: #000000 !important;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
/* ==================================================================================== */
|
|
|
|
/* QGIS-SPECIFIC TWEAKS */
|
|
|
|
/* ==================================================================================== */
|
|
|
|
|
|
|
|
QgsColorButton, QgsColorRampButton, QgsSymbolButton, QgsFontButton {
|
|
|
|
background-color: @darkgradient;
|
2019-01-01 13:38:19 +07:00
|
|
|
color:@itembackground;
|
2023-08-01 11:47:43 +07:00
|
|
|
border: 1px solid #1e1e1e;
|
2018-12-24 11:20:54 +07:00
|
|
|
}
|
|
|
|
|
2019-01-12 15:24:41 +07:00
|
|
|
QgsColorButton:hover, QgsColorRampButton:hover, QgsSymbolButton:hover, QgsFontButton:hover {
|
|
|
|
background-color: @darkalternativegradient;
|
|
|
|
color:@itembackground;
|
|
|
|
}
|
|
|
|
|
2019-02-09 14:28:22 +07:00
|
|
|
QgsColorButton:focus, QgsColorRampButton:focus, QgsSymbolButton:focus, QgsFontButton:focus {
|
|
|
|
border:1px solid @focus;
|
|
|
|
}
|
|
|
|
|
2018-12-24 11:20:54 +07:00
|
|
|
QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2019-01-24 09:24:48 +07:00
|
|
|
QgsMessageBar QScrollBar:vertical {
|
|
|
|
border-left:1px solid #000000;
|
|
|
|
border-right:1px solid #000000;
|
|
|
|
background-color: rgba(0,0,0,0);
|
|
|
|
width: 0.7em;
|
|
|
|
margin: 0.7em 0px 0.7em 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QgsMessageBar QScrollBar::add-line:vertical {
|
|
|
|
height: 0.7em;
|
|
|
|
border:1px solid #000000;
|
|
|
|
background-color: rgba(0,0,0,0);
|
|
|
|
color: #000000;
|
|
|
|
subcontrol-position: bottom;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QgsMessageBar QScrollBar::sub-line:vertical {
|
|
|
|
height: 0.7em;
|
|
|
|
border:1px solid #000000;
|
|
|
|
background-color: rgba(0,0,0,0);
|
|
|
|
color: #000000;
|
|
|
|
subcontrol-position: top;
|
|
|
|
subcontrol-origin: margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
QgsMessageBar QScrollBar::up-arrow:vertical {
|
|
|
|
height: 0.7em;
|
|
|
|
image: url(@theme_path/icons/arrow-up.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
QgsMessageBar QScrollBar::down-arrow:vertical {
|
|
|
|
height: 0.7em;
|
|
|
|
image: url(@theme_path/icons/arrow-down.svg);
|
|
|
|
}
|
|
|
|
|
2019-02-09 14:28:22 +07:00
|
|
|
QgsPropertyOverrideButton, QgsPropertyOverrideButton:hover, QgsPropertyOverrideButton:pressed {
|
|
|
|
background: none;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0%);
|
2018-12-24 11:20:54 +07:00
|
|
|
padding: 0px;
|
|
|
|
}
|
2018-12-27 11:24:57 +07:00
|
|
|
|
2019-02-09 14:28:22 +07:00
|
|
|
QgsPropertyOverrideButton:focus {
|
|
|
|
border:1px solid @focusdark;
|
|
|
|
border-radius: 0.2em;
|
|
|
|
}
|
|
|
|
|
2018-12-27 11:24:57 +07:00
|
|
|
QListWidget#mOptionsListWidget {
|
|
|
|
background-color: @itemdarkbackground;
|
|
|
|
color: @itembackground;
|
|
|
|
}
|
|
|
|
|
|
|
|
QListWidget#mOptionsListWidget::item {
|
2019-01-01 11:42:51 +07:00
|
|
|
padding: 0.1em;
|
2018-12-27 11:24:57 +07:00
|
|
|
}
|
2019-02-09 11:13:19 +07:00
|
|
|
|
|
|
|
QWidget#QgsTextFormatWidgetBase QTabWidget#mOptionsTab QTabBar::tab,
|
|
|
|
QWidget#QgsRendererMeshPropsWidgetBase QTabWidget#mStyleOptionsTab QTabBar::tab {
|
|
|
|
width: 1.2em;
|
|
|
|
}
|
2019-03-01 14:19:21 +07:00
|
|
|
|
|
|
|
QWidget#QgsRasterCalcDialogBase QWidget#mOperatorsGroupBox QPushButton {
|
|
|
|
min-width:2.3em;
|
|
|
|
}
|
2020-10-19 10:06:40 +07:00
|
|
|
|
|
|
|
QFrame#mUserInputContainer {
|
|
|
|
background-color: @background;
|
|
|
|
}
|