2017-11-20 23:34:45 +03:00
|
|
|
/**********************************
|
|
|
|
* *
|
|
|
|
* Light theme for EasyProfiler. *
|
|
|
|
* *
|
|
|
|
* Automatically generated from *
|
|
|
|
* default.scss by pysassc tool *
|
|
|
|
* *
|
|
|
|
***********************************/
|
|
|
|
|
|
|
|
@function rgb_a($color, $opacity) {
|
|
|
|
@return fade_out($color, 1.0 - $opacity);
|
|
|
|
}
|
|
|
|
|
2019-10-22 19:07:01 +03:00
|
|
|
/**************************************************************************
|
|
|
|
* Legend *
|
|
|
|
* *
|
|
|
|
* ex - 'pt' analog for widgets. It is converted to 'px' on program start. *
|
|
|
|
* Example: '10ex' will be converted to '21px'. *
|
|
|
|
* *
|
|
|
|
* qex - same as 'ex' but with removed 'px' in resulting text. *
|
|
|
|
* It is used for 'qproperty' properties. *
|
|
|
|
* Example: '10qex' will be converted to '21'. *
|
|
|
|
* *
|
|
|
|
* OS dependent properties: *
|
|
|
|
* *
|
|
|
|
* {lin}font-weight: bold; *
|
|
|
|
* {win}height: 12ex; *
|
|
|
|
* {osx}backgound: transparent; *
|
|
|
|
* *
|
|
|
|
* Such properties will be uncommented on program start for specified OS *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
// CONSTANTS ----------------------------------------------
|
|
|
|
$FontSize: 10pt;
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
$TextColor: #504040;
|
2018-05-19 23:40:01 +03:00
|
|
|
$DisabledTextColor: #c4c4c4;
|
|
|
|
$SelectedTextColor: $TextColor;
|
|
|
|
$DarkSelectedTextColor: white;
|
|
|
|
$DisabledSelectedTextColor: $DisabledTextColor;
|
|
|
|
|
2018-04-02 01:50:53 +03:00
|
|
|
$BorderColor: #c4c4c4;
|
2017-11-20 23:34:45 +03:00
|
|
|
$MainColor: #f44336;
|
2018-05-19 23:40:01 +03:00
|
|
|
|
|
|
|
$DarkSelectionColor: #3297FD;
|
|
|
|
|
|
|
|
$SelectionBorderColor: transparent;
|
|
|
|
$SelectionColor: #B4D5FE;
|
|
|
|
$DisabledSelectionColor: #B4D5FE;
|
|
|
|
$TreeViewSelectionColor: $SelectionColor;
|
|
|
|
$TreeViewSelectionTextColor: $TextColor;
|
|
|
|
|
2017-11-20 23:34:45 +03:00
|
|
|
$BackgroundColor: white;
|
2017-11-23 22:01:44 +03:00
|
|
|
$DisabledBackgroundColor: #f0f0f0;
|
2018-05-19 23:40:01 +03:00
|
|
|
|
2018-05-22 21:36:18 +03:00
|
|
|
$IndicatorBackgroundColor: $DarkSelectionColor;
|
|
|
|
$IndicatorBorderColor: darken($DarkSelectionColor, 5%);
|
|
|
|
|
|
|
|
$DisabledIndicatorBackgroundColor: $SelectionColor;
|
|
|
|
$DisabledIndicatorBorderColor: darken($SelectionColor, 5%);
|
|
|
|
|
2019-10-20 16:12:37 +03:00
|
|
|
$FocusBorderColor: $DarkSelectionColor; // #ffbcbc;
|
2018-03-29 01:56:21 +03:00
|
|
|
$TooltipColor: #ffeccc;
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
$InputHeight: 15ex;
|
2019-10-20 16:12:37 +03:00
|
|
|
$WindowHeaderSize: 15.6ex;
|
|
|
|
$WindowHeaderHoverColor: lighten($BorderColor, 14%); // #e8e8e8
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
// STYLES -------------------------------------------------
|
2017-11-20 23:34:45 +03:00
|
|
|
* {
|
2019-11-27 19:07:37 +03:00
|
|
|
/*{lin}font-family: "DejaVu Sans";*/
|
|
|
|
/*{win}font-family: "DejaVu Sans";*/
|
|
|
|
/*{osx}font-family: "Menlo";*/
|
2018-05-19 23:40:01 +03:00
|
|
|
font-size: $FontSize;
|
2017-11-20 23:34:45 +03:00
|
|
|
color: $TextColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
*:disabled {
|
|
|
|
color: $DisabledTextColor;
|
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
RoundProgressIndicator {
|
|
|
|
qproperty-color: $DarkSelectionColor;
|
|
|
|
qproperty-background: $BorderColor;
|
2019-10-22 19:07:01 +03:00
|
|
|
qproperty-indicatorWidth: 2qex;
|
2018-05-19 23:40:01 +03:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2019-10-22 09:58:25 +03:00
|
|
|
RoundProgressDialog {
|
2019-10-22 19:07:01 +03:00
|
|
|
qproperty-background: rgb_a(#ffffff, 0.7);
|
|
|
|
qproperty-borderRadius: 10qex;
|
|
|
|
}
|
|
|
|
|
|
|
|
RoundProgressDialog#LoadProgress {
|
|
|
|
qproperty-background: rgb_a(#000000, 0.5);
|
|
|
|
|
|
|
|
RoundProgressWidget {
|
|
|
|
RoundProgressIndicator {
|
|
|
|
qproperty-buttonColor: white;
|
|
|
|
qproperty-buttonStyle: cross;
|
|
|
|
qproperty-buttonRole: reject;
|
|
|
|
qproperty-buttonSize: 0.4;
|
|
|
|
qproperty-crossWidth: 1;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
RoundProgressIndicator[pressed=true] {
|
|
|
|
qproperty-buttonColor: red;
|
|
|
|
}
|
|
|
|
QLabel {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RoundProgressDialog#CaptureProgress, RoundProgressDialog#ReceiveProgress {
|
|
|
|
qproperty-background: rgb_a(#000000, 0.5);
|
|
|
|
|
|
|
|
RoundProgressWidget {
|
|
|
|
RoundProgressIndicator {
|
|
|
|
qproperty-style: infinite;
|
|
|
|
qproperty-buttonColor: red;
|
|
|
|
qproperty-buttonStyle: stop;
|
|
|
|
qproperty-buttonRole: accept;
|
|
|
|
qproperty-buttonSize: 0.35;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
RoundProgressIndicator[pressed=true] {
|
|
|
|
qproperty-buttonColor: darkRed;
|
|
|
|
}
|
|
|
|
QLabel {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
RoundProgressDialog#ReceiveProgress RoundProgressWidget RoundProgressIndicator {
|
|
|
|
qproperty-buttonColor: white;
|
|
|
|
qproperty-buttonStyle: cross;
|
|
|
|
qproperty-buttonRole: reject;
|
|
|
|
qproperty-buttonSize: 0.4;
|
|
|
|
qproperty-crossWidth: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
RoundProgressDialog#ReceiveProgress RoundProgressWidget RoundProgressIndicator[pressed=true] {
|
|
|
|
qproperty-buttonColor: red;
|
2019-10-22 09:58:25 +03:00
|
|
|
}
|
|
|
|
|
2018-01-28 20:52:17 +03:00
|
|
|
MainWindow, QToolBar, QDialog {
|
2019-11-27 00:10:43 +03:00
|
|
|
border-style: solid;
|
2019-11-27 19:07:37 +03:00
|
|
|
border-color: $BackgroundColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
background-color: $BackgroundColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
QToolTip {
|
2018-03-29 01:56:21 +03:00
|
|
|
background-color: $TooltipColor;
|
2017-11-23 22:01:44 +03:00
|
|
|
border: 1px solid $BorderColor;
|
2018-03-26 21:38:41 +03:00
|
|
|
color: $TextColor;
|
|
|
|
}
|
|
|
|
|
2018-03-29 01:56:21 +03:00
|
|
|
ArbitraryValueToolTip {
|
2018-04-02 01:50:53 +03:00
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2018-03-29 01:56:21 +03:00
|
|
|
background-color: $TooltipColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
|
2018-04-02 01:50:53 +03:00
|
|
|
QWidget#cnt {
|
|
|
|
border: 1px solid $BorderColor;
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2018-04-02 01:50:53 +03:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-05-19 23:40:01 +03:00
|
|
|
|
2018-03-29 01:56:21 +03:00
|
|
|
QLabel {
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2018-03-29 01:56:21 +03:00
|
|
|
border: none;
|
|
|
|
color: $TextColor;
|
|
|
|
}
|
2018-05-19 23:40:01 +03:00
|
|
|
|
2018-03-29 01:56:21 +03:00
|
|
|
QTextEdit {
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2018-03-29 01:56:21 +03:00
|
|
|
border: none;
|
|
|
|
color: $TextColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
selection-color: $DarkSelectedTextColor;
|
|
|
|
selection-background-color: $DarkSelectionColor;
|
2018-03-29 01:56:21 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-13 21:43:16 +03:00
|
|
|
QWidget#DiagramPopup, QWidget#ThreadsPopup, QLabel#BookmarkPopup {
|
2018-03-29 01:56:21 +03:00
|
|
|
background-color: $TooltipColor;
|
2018-03-26 21:38:41 +03:00
|
|
|
border: 1px solid $BorderColor;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2018-06-13 21:43:16 +03:00
|
|
|
QLabel#BookmarkPopup {
|
|
|
|
padding: 4ex;
|
|
|
|
}
|
|
|
|
|
2017-11-27 22:02:15 +03:00
|
|
|
QGraphicsView {
|
2017-11-27 22:43:01 +03:00
|
|
|
border: 1px solid $BorderColor;
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2017-11-27 22:02:15 +03:00
|
|
|
}
|
|
|
|
|
2018-01-21 19:37:44 +03:00
|
|
|
QSplitter::handle:hover {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: $FocusBorderColor;
|
2018-01-21 19:37:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QSplitter::handle:pressed {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: darken($FocusBorderColor, 20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
QLabel#BlocksTreeWidget_HintLabel {
|
|
|
|
color: gray;
|
2019-10-20 16:12:37 +03:00
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLabel#BlocksTreeWidget_HintLabel[hovered=true] {
|
|
|
|
color: black;
|
2018-01-21 19:37:44 +03:00
|
|
|
}
|
|
|
|
|
2017-11-20 23:34:45 +03:00
|
|
|
/* ****************************************************************************************************************** */
|
2018-05-19 23:40:01 +03:00
|
|
|
QLineEdit, QSpinBox {
|
2017-11-20 23:34:45 +03:00
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
background-color: $BackgroundColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
selection-background-color: $DarkSelectionColor;
|
|
|
|
selection-color: $DarkSelectedTextColor;
|
|
|
|
height: $InputHeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox {
|
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
background-color: $BackgroundColor;
|
|
|
|
selection-background-color: $SelectionColor;
|
|
|
|
selection-color: $SelectedTextColor;
|
|
|
|
height: $InputHeight;
|
|
|
|
padding-right: 11ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
QLineEdit:disabled, QComboBox:disabled, QSpinBox:disabled {
|
2017-11-20 23:34:45 +03:00
|
|
|
background-color: $DisabledBackgroundColor;
|
|
|
|
color: $DisabledTextColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
selection-background-color: $DisabledSelectionColor;
|
|
|
|
selection-color: $DisabledSelectedTextColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
QLineEdit:focus { border: 1px solid $FocusBorderColor; }
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
/* ****************************************************************************************************************** */
|
2017-11-20 23:34:45 +03:00
|
|
|
QComboBox::drop-down {
|
2018-05-19 23:40:01 +03:00
|
|
|
subcontrol-origin: border;
|
|
|
|
subcontrol-position: center right;
|
2017-11-23 22:01:44 +03:00
|
|
|
border: none;
|
2018-05-19 23:40:01 +03:00
|
|
|
width: 10ex;
|
|
|
|
}
|
|
|
|
|
2019-11-27 00:01:30 +03:00
|
|
|
QTextEdit {
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2019-11-27 00:01:30 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QComboBox::down-arrow {
|
|
|
|
image: url(":/images/default/arrow-down");
|
|
|
|
width: 5ex;
|
|
|
|
height: 5ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow:hover {
|
|
|
|
image: url(":/images/default/arrow-down-hover");
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QComboBox::down-arrow:disabled {
|
|
|
|
image: url(":/images/default/arrow-down-disabled");
|
|
|
|
}
|
2017-11-23 22:01:44 +03:00
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QSpinBox::up-button {
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: top right;
|
2018-05-19 23:40:01 +03:00
|
|
|
border: none;
|
|
|
|
width: 10ex;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-button {
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom right;
|
2018-05-19 23:40:01 +03:00
|
|
|
border: none;
|
|
|
|
width: 10ex;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QSpinBox::up-arrow {
|
|
|
|
image: url(":/images/default/arrow-up");
|
|
|
|
width: 5ex;
|
|
|
|
height: 5ex;
|
2018-04-02 01:50:53 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QSpinBox::up-arrow:hover {
|
|
|
|
image: url(":/images/default/arrow-up-hover");
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QSpinBox::up-arrow:pressed {
|
|
|
|
image: url(":/images/default/arrow-up-pressed");
|
|
|
|
}
|
2017-11-23 22:01:44 +03:00
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QSpinBox::up-arrow:disabled {
|
|
|
|
image: url(":/images/default/arrow-up-disabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow {
|
|
|
|
image: url(":/images/default/arrow-down");
|
|
|
|
width: 5ex;
|
|
|
|
height: 5ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow:hover {
|
|
|
|
image: url(":/images/default/arrow-down-hover");
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow:pressed {
|
|
|
|
image: url(":/images/default/arrow-down-pressed");
|
|
|
|
}
|
|
|
|
|
|
|
|
QSpinBox::down-arrow:disabled {
|
|
|
|
image: url(":/images/default/arrow-down-disabled");
|
|
|
|
}
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
/* ****************************************************************************************************************** */
|
2017-11-20 23:34:45 +03:00
|
|
|
QPushButton {
|
2018-05-19 23:40:01 +03:00
|
|
|
height: $InputHeight;
|
2018-05-22 21:36:18 +03:00
|
|
|
min-width: 35ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
background-color: $BackgroundColor;
|
2018-05-22 21:36:18 +03:00
|
|
|
padding-left: 5ex;
|
|
|
|
padding-right: 5ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
QPushButton:disabled {
|
|
|
|
background-color: $DisabledBackgroundColor;
|
|
|
|
color: $DisabledTextColor;
|
|
|
|
}
|
|
|
|
|
2017-11-20 23:34:45 +03:00
|
|
|
QPushButton:hover {
|
2018-05-23 00:22:12 +03:00
|
|
|
border-color: $FocusBorderColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
2018-05-23 00:22:12 +03:00
|
|
|
border-color: $FocusBorderColor;
|
|
|
|
background-color: $FocusBorderColor;
|
|
|
|
color: white;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-23 22:01:44 +03:00
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QListView {
|
2017-11-20 23:34:45 +03:00
|
|
|
background-color: $BackgroundColor;
|
|
|
|
border: 1px solid $BorderColor;
|
2017-11-27 22:02:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QListView, QTableView, QTreeView {
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2017-11-27 22:02:15 +03:00
|
|
|
alternate-background-color: #e4e4ec;
|
2018-05-19 23:40:01 +03:00
|
|
|
selection-background-color: $TreeViewSelectionColor;
|
|
|
|
selection-color: $TreeViewSelectionTextColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-02-25 21:04:32 +03:00
|
|
|
QTreeView::branch {
|
2018-05-19 23:40:01 +03:00
|
|
|
padding: 5ex 0 5ex 0;
|
|
|
|
selection-background-color: $TreeViewSelectionColor;
|
2018-02-25 21:04:32 +03:00
|
|
|
border-bottom: 1px solid $BorderColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:selected {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: $TreeViewSelectionColor;
|
2018-02-25 21:04:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:open:has-children {
|
|
|
|
border-image: none;
|
|
|
|
image: url(":/images/default/arrow-down");
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::branch:closed:has-children {
|
|
|
|
border-image: none;
|
|
|
|
image: url(":/images/default/arrow-right");
|
|
|
|
}
|
|
|
|
|
2017-11-27 22:02:15 +03:00
|
|
|
QListView::item, QTableView::item, QTreeView::item {
|
2018-05-19 23:40:01 +03:00
|
|
|
height: $InputHeight;
|
2017-11-27 22:02:15 +03:00
|
|
|
border-bottom: 1px solid $BorderColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
QListView::item:selected, QTableView::item:selected, QTreeView::item:selected {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: $TreeViewSelectionColor;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
2017-12-28 00:23:14 +03:00
|
|
|
|
|
|
|
QTreeView::indicator {
|
2018-05-19 23:40:01 +03:00
|
|
|
width: 9ex;
|
|
|
|
height: 9ex;
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2017-12-28 00:23:14 +03:00
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: 1px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-05-22 21:36:18 +03:00
|
|
|
QTreeView::indicator:hover {
|
2017-12-28 00:23:14 +03:00
|
|
|
background-color: $BackgroundColor;
|
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QTreeView::indicator:checked {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $IndicatorBackgroundColor;
|
|
|
|
border: 1px solid $IndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/check");
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::indicator:checked:disabled {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $DisabledIndicatorBackgroundColor;
|
|
|
|
border: 1px solid $DisabledIndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/check-disabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
QTreeView::indicator:indeterminate {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $IndicatorBackgroundColor;
|
|
|
|
border: 1px solid $IndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/partial-check");
|
|
|
|
}
|
2017-12-28 00:23:14 +03:00
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QTreeView::indicator:indeterminate:disabled {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $DisabledIndicatorBackgroundColor;
|
|
|
|
border: 1px solid $DisabledIndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/partial-check-disabled");
|
|
|
|
}
|
2018-03-07 20:52:39 +03:00
|
|
|
|
2017-11-20 23:34:45 +03:00
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QMenu {
|
|
|
|
background-color: $BackgroundColor;
|
|
|
|
border: 1px solid $BorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
padding: 2ex 1ex 2ex 1ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item {
|
2018-05-19 23:40:01 +03:00
|
|
|
height: $InputHeight;
|
2018-06-13 21:43:16 +03:00
|
|
|
padding-left: 17ex;
|
2019-10-27 14:27:53 +03:00
|
|
|
padding-right: 10ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
border: 1px solid transparent; /* reserve space for selection border */
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::item:selected {
|
2018-05-19 23:40:01 +03:00
|
|
|
border: 1px solid $SelectionBorderColor;
|
|
|
|
background-color: $SelectionColor;
|
|
|
|
color: $SelectedTextColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::icon {
|
2018-05-19 23:40:01 +03:00
|
|
|
width: 8ex;
|
|
|
|
height: 8ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
background: none;
|
|
|
|
border: 1px inset transparent;
|
2018-05-22 21:36:18 +03:00
|
|
|
padding: 0;
|
|
|
|
margin: 0 1ex 0 2ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
|
|
|
background-color: #dddddd;
|
|
|
|
border: 1px inset #aaaaaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::separator {
|
|
|
|
height: 1px;
|
|
|
|
background: $BorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
margin-left: 4ex;
|
|
|
|
margin-right: 4ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QMenu::indicator {
|
2018-05-19 23:40:01 +03:00
|
|
|
width: 9ex;
|
|
|
|
height: 9ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
background-color: $BackgroundColor;
|
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
padding: 1px;
|
2018-05-19 23:40:01 +03:00
|
|
|
margin: 0 0 0 2ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QMenu::indicator:non-exclusive:checked {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $IndicatorBackgroundColor;
|
|
|
|
border: 1px solid $IndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/check");
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QMenu::indicator:non-exclusive:checked:disabled {
|
2018-05-22 21:36:18 +03:00
|
|
|
background-color: $DisabledIndicatorBackgroundColor;
|
|
|
|
border: 1px solid $DisabledIndicatorBorderColor;
|
2018-05-19 23:40:01 +03:00
|
|
|
image: url(":/images/default/check-disabled");
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QMenu::indicator:exclusive {
|
|
|
|
border-radius: 5ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QMenu::indicator:exclusive:checked {
|
|
|
|
image: url(":/images/default/radio-check");
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QMenu::indicator:exclusive:checked:disabled {
|
|
|
|
image: url(":/images/default/radio-check-disabled");
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QHeaderView::section {
|
2019-10-22 09:58:25 +03:00
|
|
|
height: $InputHeight;
|
|
|
|
min-height: $InputHeight;
|
|
|
|
max-height: $InputHeight;
|
2017-11-20 23:34:45 +03:00
|
|
|
background: #eeeeee;
|
2019-10-20 16:12:37 +03:00
|
|
|
/*{lin}font-weight: bold;*/
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
2018-02-01 23:17:01 +03:00
|
|
|
DockWidget
|
2017-11-20 23:34:45 +03:00
|
|
|
{
|
|
|
|
QWidget#EasyDockWidgetTitle
|
|
|
|
{
|
|
|
|
background-color: #686464;
|
|
|
|
|
|
|
|
QLabel {
|
|
|
|
color: white;
|
|
|
|
margin-left: 4px;
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2018-05-19 23:40:01 +03:00
|
|
|
max-height: 8ex;
|
|
|
|
min-width: 8ex;
|
|
|
|
max-width: 8ex;
|
|
|
|
margin-right: 3ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-26 15:37:39 +03:00
|
|
|
QPushButton#EasyDockWidgetFloatButton { image: url(":/images/default/dock-maximize-white"); }
|
|
|
|
QPushButton#EasyDockWidgetFloatButton:hover { image: url(":/images/default/dock-maximize-white-hover"); }
|
|
|
|
QPushButton#EasyDockWidgetFloatButton:pressed { image: url(":/images/default/dock-maximize-white-pressed"); }
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2017-11-26 15:37:39 +03:00
|
|
|
QPushButton#EasyDockWidgetFloatButton[floating=true] { image: url(":/images/default/dock-minimize-white"); }
|
|
|
|
QPushButton#EasyDockWidgetFloatButton[floating=true]:hover { image: url(":/images/default/dock-minimize-white-hover"); }
|
|
|
|
QPushButton#EasyDockWidgetFloatButton[floating=true]:pressed { image: url(":/images/default/dock-minimize-white-pressed"); }
|
2017-11-20 23:34:45 +03:00
|
|
|
|
2017-11-26 15:37:39 +03:00
|
|
|
QPushButton#EasyDockWidgetCloseButton { image: url(":/images/default/dock-close-white"); }
|
|
|
|
QPushButton#EasyDockWidgetCloseButton:hover { image: url(":/images/default/dock-close-white-hover"); }
|
|
|
|
QPushButton#EasyDockWidgetCloseButton:pressed { image: url(":/images/default/dock-close-white-pressed"); }
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QProgressBar {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: #a4a4b4;
|
|
|
|
border: none;
|
|
|
|
color: white;
|
2017-11-20 23:34:45 +03:00
|
|
|
text-align: center;
|
2018-05-19 23:40:01 +03:00
|
|
|
height: 14ex;
|
2017-11-20 23:34:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QProgressBar::chunk {
|
2018-05-19 23:40:01 +03:00
|
|
|
background-color: $DarkSelectionColor;
|
2017-11-20 23:34:45 +03:00
|
|
|
width: 2px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-11-23 22:01:44 +03:00
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
|
|
QScrollBar {
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2017-11-23 22:01:44 +03:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:hover {
|
|
|
|
background-color: rgb_a(#000000, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:horizontal {
|
|
|
|
margin: 0;
|
2018-05-19 23:40:01 +03:00
|
|
|
height: 5ex;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar:vertical {
|
|
|
|
margin: 0;
|
2018-05-19 23:40:01 +03:00
|
|
|
width: 5ex;
|
2017-11-23 22:01:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle {
|
|
|
|
background-color: rgb_a(#000000, 0.4);
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
QScrollBar::handle:pressed {
|
|
|
|
background-color: rgb_a(#000000, 0.6);
|
|
|
|
}
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QScrollBar::handle:vertical { min-height: 20ex; margin-left: 3ex; }
|
2017-11-23 22:01:44 +03:00
|
|
|
QScrollBar::handle:vertical:hover, QScrollBar::handle:vertical:pressed { margin-left: 0; }
|
|
|
|
|
2018-05-19 23:40:01 +03:00
|
|
|
QScrollBar::handle:horizontal { min-width: 20ex; margin-top: 3ex; }
|
2017-11-23 22:01:44 +03:00
|
|
|
QScrollBar::handle:horizontal:hover, QScrollBar::handle:horizontal:pressed { margin-top: 0; }
|
|
|
|
|
|
|
|
QScrollBar::add-line, QScrollBar::sub-line {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
}
|
2018-06-09 02:18:39 +03:00
|
|
|
|
|
|
|
WindowHeader {
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
height: $WindowHeaderSize;
|
|
|
|
min-height: $WindowHeaderSize;
|
|
|
|
max-height: $WindowHeaderSize;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 6ex;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
QPushButton {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_CloseButton {
|
|
|
|
image: url(":/images/default/close");
|
|
|
|
padding: 1ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_CloseButton:hover {
|
|
|
|
image: url(":/images/default/close-hover");
|
|
|
|
background-color: $MainColor;
|
|
|
|
border-bottom: 1px solid $MainColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_CloseButton:pressed {
|
|
|
|
background-color: darken($MainColor, 10%);
|
|
|
|
border-bottom: 1px solid darken($MainColor, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MinButton {
|
|
|
|
image: url(":/images/default/minimize");
|
|
|
|
padding: 2ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MinButton:hover {
|
2019-10-20 16:12:37 +03:00
|
|
|
background-color: $WindowHeaderHoverColor;
|
|
|
|
border-bottom: 1px solid $WindowHeaderHoverColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MinButton:pressed {
|
|
|
|
background-color: $BorderColor;
|
|
|
|
border-bottom: 1px solid $BorderColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MaxButton {
|
|
|
|
image: url(":/images/default/to-fullscreen");
|
|
|
|
padding: 1ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MaxButton[max=true] {
|
|
|
|
image: url(":/images/default/to-window");
|
|
|
|
padding: 1ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MaxButton:hover {
|
2019-10-20 16:12:37 +03:00
|
|
|
background-color: $WindowHeaderHoverColor;
|
|
|
|
border-bottom: 1px solid $WindowHeaderHoverColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton#WindowHeader_MaxButton:pressed {
|
|
|
|
background-color: $BorderColor;
|
|
|
|
border-bottom: 1px solid $BorderColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
WindowHeader[left=true] {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
BookmarkEditor {
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
border: 1px solid $BorderColor;
|
|
|
|
|
|
|
|
QWidget#BookmarkEditor_ColorBox {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-11-27 19:07:37 +03:00
|
|
|
background: transparent;
|
2018-06-09 02:18:39 +03:00
|
|
|
|
|
|
|
QPushButton#BookmarkEditor_ColorButton {
|
|
|
|
min-width: $InputHeight;
|
|
|
|
max-width: $InputHeight;
|
|
|
|
width: $InputHeight;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
QWidget#BookmarkEditor_ButtonBox {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Dialog {
|
|
|
|
border: 1px solid $BorderColor;
|
2019-11-27 19:07:37 +03:00
|
|
|
background-color: $BackgroundColor;
|
2018-06-09 02:18:39 +03:00
|
|
|
}
|