0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

545 lines
16 KiB
CSS
Raw Normal View History

2017-11-16 22:32:28 +03:00
/**********************************
* *
* Light theme for EasyProfiler. *
* *
2017-11-20 23:34:45 +03:00
* Automatically generated from *
* default.scss by pysassc tool *
* *
2017-11-16 22:32:28 +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 *
* *
***************************************************************************/
2017-11-16 22:32:28 +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-22 21:36:18 +03:00
font-size: 10pt;
color: #504040; }
2017-11-16 22:32:28 +03:00
*:disabled {
2018-05-22 21:36:18 +03:00
color: #c4c4c4; }
RoundProgressIndicator {
2018-05-22 21:36:18 +03:00
qproperty-color: #3297FD;
qproperty-background: #c4c4c4;
qproperty-indicatorWidth: 2qex;
2018-05-22 21:36:18 +03:00
background: transparent; }
RoundProgressDialog {
qproperty-background: rgba(255, 255, 255, 0.7);
qproperty-borderRadius: 10qex; }
RoundProgressDialog#LoadProgress {
qproperty-background: rgba(0, 0, 0, 0.5); }
RoundProgressDialog#LoadProgress RoundProgressWidget RoundProgressIndicator {
qproperty-buttonColor: white;
qproperty-buttonStyle: cross;
qproperty-buttonRole: reject;
qproperty-buttonSize: 0.4;
qproperty-crossWidth: 1;
color: white; }
RoundProgressDialog#LoadProgress RoundProgressWidget RoundProgressIndicator[pressed=true] {
qproperty-buttonColor: red; }
RoundProgressDialog#LoadProgress RoundProgressWidget QLabel {
color: white; }
RoundProgressDialog#CaptureProgress, RoundProgressDialog#ReceiveProgress {
qproperty-background: rgba(0, 0, 0, 0.5); }
RoundProgressDialog#CaptureProgress RoundProgressWidget RoundProgressIndicator, RoundProgressDialog#ReceiveProgress RoundProgressWidget RoundProgressIndicator {
qproperty-style: infinite;
qproperty-buttonColor: red;
qproperty-buttonStyle: stop;
qproperty-buttonRole: accept;
qproperty-buttonSize: 0.35;
color: white; }
RoundProgressDialog#CaptureProgress RoundProgressWidget RoundProgressIndicator[pressed=true], RoundProgressDialog#ReceiveProgress RoundProgressWidget RoundProgressIndicator[pressed=true] {
qproperty-buttonColor: darkRed; }
RoundProgressDialog#CaptureProgress RoundProgressWidget QLabel, RoundProgressDialog#ReceiveProgress RoundProgressWidget 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; }
MainWindow, QToolBar, QDialog {
border-style: solid;
border-color: white;
background-color: white; }
2017-11-23 22:01:44 +03:00
QToolTip {
2018-05-22 21:36:18 +03:00
background-color: #ffeccc;
border: 1px solid #c4c4c4;
color: #504040; }
ArbitraryValueToolTip {
2018-05-22 21:36:18 +03:00
margin: 0;
border: none;
background-color: #ffeccc; }
ArbitraryValueToolTip QWidget#cnt {
border: 1px solid #c4c4c4;
2019-11-27 19:07:37 +03:00
background: transparent;
2018-05-22 21:36:18 +03:00
margin: 0; }
ArbitraryValueToolTip QLabel {
2019-11-27 19:07:37 +03:00
background: transparent;
2018-05-22 21:36:18 +03:00
border: none;
color: #504040; }
ArbitraryValueToolTip QTextEdit {
2019-11-27 19:07:37 +03:00
background: transparent;
2018-05-22 21:36:18 +03:00
border: none;
color: #504040;
selection-color: white;
selection-background-color: #3297FD; }
QWidget#DiagramPopup, QWidget#ThreadsPopup, QLabel#BookmarkPopup {
2018-05-22 21:36:18 +03:00
background-color: #ffeccc;
border: 1px solid #c4c4c4; }
2017-11-16 22:32:28 +03:00
QLabel#BookmarkPopup {
padding: 4ex; }
2017-11-27 22:02:15 +03:00
QGraphicsView {
border: 1px solid #c4c4c4;
2019-11-27 19:07:37 +03:00
background-color: white; }
2017-11-27 22:02:15 +03:00
QSplitter::handle:hover {
2018-05-22 21:36:18 +03:00
background-color: #3297FD; }
QSplitter::handle:pressed {
2018-05-22 21:36:18 +03:00
background-color: #0264c7; }
QLabel#BlocksTreeWidget_HintLabel {
2018-05-22 21:36:18 +03:00
color: gray;
font-size: 12pt; }
QLabel#BlocksTreeWidget_HintLabel[hovered=true] {
color: black; }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
QLineEdit, QSpinBox {
2018-05-22 21:36:18 +03:00
border: 1px solid #c4c4c4;
background-color: white;
selection-background-color: #3297FD;
selection-color: white;
height: 15ex; }
QComboBox {
2018-05-22 21:36:18 +03:00
border: 1px solid #c4c4c4;
background-color: white;
selection-background-color: #B4D5FE;
selection-color: #504040;
height: 15ex;
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 {
2018-05-22 21:36:18 +03:00
background-color: #f0f0f0;
color: #c4c4c4;
selection-background-color: #B4D5FE;
selection-color: #c4c4c4; }
2017-11-20 23:34:45 +03:00
QLineEdit:focus {
2018-05-22 21:36:18 +03:00
border: 1px solid #3297FD; }
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-22 21:36:18 +03:00
subcontrol-origin: border;
subcontrol-position: center right;
border: none;
width: 10ex; }
2017-11-20 23:34:45 +03:00
2019-11-27 19:07:37 +03:00
QTextEdit {
background-color: white; }
2017-11-20 23:34:45 +03:00
QComboBox::down-arrow {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down");
width: 5ex;
height: 5ex; }
2017-11-20 23:34:45 +03:00
2017-11-23 22:01:44 +03:00
QComboBox::down-arrow:hover {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down-hover"); }
2017-11-23 22:01:44 +03:00
2017-11-20 23:34:45 +03:00
QComboBox::down-arrow:disabled {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down-disabled"); }
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
QSpinBox::up-button {
2018-05-22 21:36:18 +03:00
subcontrol-origin: padding;
subcontrol-position: top right;
border: none;
width: 10ex; }
2017-11-23 22:01:44 +03:00
QSpinBox::down-button {
2018-05-22 21:36:18 +03:00
subcontrol-origin: padding;
subcontrol-position: bottom right;
border: none;
width: 10ex; }
2017-11-23 22:01:44 +03:00
QSpinBox::up-arrow {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-up");
width: 5ex;
height: 5ex; }
2017-11-23 22:01:44 +03:00
QSpinBox::up-arrow:hover {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-up-hover"); }
QSpinBox::up-arrow:pressed {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-up-pressed"); }
2017-11-23 22:01:44 +03:00
QSpinBox::up-arrow:disabled {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-up-disabled"); }
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down");
width: 5ex;
height: 5ex; }
2017-11-20 23:34:45 +03:00
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow:hover {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down-hover"); }
QSpinBox::down-arrow:pressed {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down-pressed"); }
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow:disabled {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/arrow-down-disabled"); }
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
2017-11-20 23:34:45 +03:00
QPushButton {
2018-05-22 21:36:18 +03:00
height: 15ex;
min-width: 35ex;
border: 1px solid #c4c4c4;
background-color: white;
padding-left: 5ex;
padding-right: 5ex; }
2017-11-20 23:34:45 +03:00
2017-11-23 22:01:44 +03:00
QPushButton:disabled {
2018-05-22 21:36:18 +03:00
background-color: #f0f0f0;
color: #c4c4c4; }
2017-11-23 22:01:44 +03:00
2017-11-20 23:34:45 +03:00
QPushButton:hover {
2018-05-23 00:22:12 +03:00
border-color: #3297FD; }
2017-11-20 23:34:45 +03:00
QPushButton:pressed {
2018-05-23 00:22:12 +03:00
border-color: #3297FD;
background-color: #3297FD;
color: white; }
2017-11-16 22:32:28 +03:00
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
QListView {
2018-05-22 21:36:18 +03:00
background-color: white;
border: 1px solid #c4c4c4; }
2017-11-27 22:02:15 +03:00
QListView, QTableView, QTreeView {
2019-11-27 19:07:37 +03:00
background-color: white;
2018-05-22 21:36:18 +03:00
alternate-background-color: #e4e4ec;
selection-background-color: #B4D5FE;
selection-color: #504040; }
2017-11-23 22:01:44 +03:00
2018-02-25 21:04:32 +03:00
QTreeView::branch {
2018-05-22 21:36:18 +03:00
padding: 5ex 0 5ex 0;
selection-background-color: #B4D5FE;
border-bottom: 1px solid #c4c4c4; }
2018-02-25 21:04:32 +03:00
QTreeView::branch:selected {
2018-05-22 21:36:18 +03:00
background-color: #B4D5FE; }
2018-02-25 21:04:32 +03:00
QTreeView::branch:open:has-children {
2018-05-22 21:36:18 +03:00
border-image: none;
image: url(":/images/default/arrow-down"); }
2018-02-25 21:04:32 +03:00
QTreeView::branch:closed:has-children {
2018-05-22 21:36:18 +03:00
border-image: none;
image: url(":/images/default/arrow-right"); }
2018-02-25 21:04:32 +03:00
2017-11-27 22:02:15 +03:00
QListView::item, QTableView::item, QTreeView::item {
2018-05-22 21:36:18 +03:00
height: 15ex;
border-bottom: 1px solid #c4c4c4; }
2017-11-27 22:02:15 +03:00
QListView::item:selected, QTableView::item:selected, QTreeView::item:selected {
2018-05-22 21:36:18 +03:00
background-color: #B4D5FE; }
2017-11-16 22:32:28 +03:00
QTreeView::indicator {
2018-05-22 21:36:18 +03:00
width: 9ex;
height: 9ex;
2019-11-27 19:07:37 +03:00
background: transparent;
2018-05-22 21:36:18 +03:00
border: 1px solid transparent;
padding: 1px;
margin: 0; }
QTreeView::indicator:hover {
background-color: white;
border: 1px solid #c4c4c4; }
QTreeView::indicator:checked {
2018-05-22 21:36:18 +03:00
background-color: #3297FD;
border: 1px solid #198afd;
image: url(":/images/default/check"); }
QTreeView::indicator:checked:disabled {
2018-05-22 21:36:18 +03:00
background-color: #B4D5FE;
border: 1px solid #9bc7fe;
image: url(":/images/default/check-disabled"); }
QTreeView::indicator:indeterminate {
2018-05-22 21:36:18 +03:00
background-color: #3297FD;
border: 1px solid #198afd;
image: url(":/images/default/partial-check"); }
QTreeView::indicator:indeterminate:disabled {
2018-05-22 21:36:18 +03:00
background-color: #B4D5FE;
border: 1px solid #9bc7fe;
image: url(":/images/default/partial-check-disabled"); }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
QMenu {
2018-05-22 21:36:18 +03:00
background-color: white;
border: 1px solid #c4c4c4;
padding: 2ex 1ex 2ex 1ex; }
2017-11-16 22:32:28 +03:00
QMenu::item {
2018-05-22 21:36:18 +03:00
height: 15ex;
padding-left: 17ex;
2019-10-27 14:27:53 +03:00
padding-right: 10ex;
2018-05-22 21:36:18 +03:00
border: 1px solid transparent;
/* reserve space for selection border */ }
2017-11-16 22:32:28 +03:00
QMenu::item:selected {
2018-05-22 21:36:18 +03:00
border: 1px solid transparent;
background-color: #B4D5FE;
color: #504040; }
2017-11-16 22:32:28 +03:00
QMenu::icon {
2018-05-22 21:36:18 +03:00
width: 8ex;
height: 8ex;
background: none;
border: 1px inset transparent;
padding: 0;
margin: 0 1ex 0 2ex; }
2017-11-20 23:34:45 +03:00
QMenu::icon:checked {
/* appearance of a 'checked' icon */
2018-05-22 21:36:18 +03:00
background-color: #dddddd;
border: 1px inset #aaaaaa; }
2017-11-16 22:32:28 +03:00
QMenu::separator {
2018-05-22 21:36:18 +03:00
height: 1px;
background: #c4c4c4;
margin-left: 4ex;
margin-right: 4ex; }
2017-11-16 22:32:28 +03:00
QMenu::indicator {
2018-05-22 21:36:18 +03:00
width: 9ex;
height: 9ex;
background-color: white;
border: 1px solid #c4c4c4;
padding: 1px;
margin: 0 0 0 2ex; }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:non-exclusive:checked {
2018-05-22 21:36:18 +03:00
background-color: #3297FD;
border: 1px solid #198afd;
image: url(":/images/default/check"); }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:non-exclusive:checked:disabled {
2018-05-22 21:36:18 +03:00
background-color: #B4D5FE;
border: 1px solid #9bc7fe;
image: url(":/images/default/check-disabled"); }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:exclusive {
2018-05-22 21:36:18 +03:00
border-radius: 5ex; }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:exclusive:checked {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/radio-check"); }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:exclusive:checked:disabled {
2018-05-22 21:36:18 +03:00
image: url(":/images/default/radio-check-disabled"); }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
QHeaderView::section {
height: 15ex;
min-height: 15ex;
max-height: 15ex;
background: #eeeeee;
/*{lin}font-weight: bold;*/ }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
DockWidget QWidget#EasyDockWidgetTitle {
2018-05-22 21:36:18 +03:00
background-color: #686464; }
DockWidget QWidget#EasyDockWidgetTitle QLabel {
color: white;
2019-11-27 19:07:37 +03:00
margin-left: 4px;
background: transparent; }
2018-05-22 21:36:18 +03:00
DockWidget QWidget#EasyDockWidgetTitle QPushButton {
background: none;
border: none;
max-height: 8ex;
min-width: 8ex;
max-width: 8ex;
margin-right: 3ex;
padding: 0; }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton {
image: url(":/images/default/dock-maximize-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:hover {
image: url(":/images/default/dock-maximize-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:pressed {
image: url(":/images/default/dock-maximize-white-pressed"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true] {
image: url(":/images/default/dock-minimize-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:hover {
image: url(":/images/default/dock-minimize-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:pressed {
image: url(":/images/default/dock-minimize-white-pressed"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton {
image: url(":/images/default/dock-close-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:hover {
image: url(":/images/default/dock-close-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:pressed {
image: url(":/images/default/dock-close-white-pressed"); }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
/* ****************************************************************************************************************** */
QProgressBar {
2018-05-22 21:36:18 +03:00
background-color: #a4a4b4;
border: none;
color: white;
text-align: center;
height: 14ex; }
2017-11-20 23:34:45 +03:00
QProgressBar::chunk {
2018-05-22 21:36:18 +03:00
background-color: #3297FD;
width: 2px;
margin: 0; }
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
QScrollBar {
2019-11-27 19:07:37 +03:00
background: transparent;
2018-05-22 21:36:18 +03:00
border: none;
padding: 0; }
2017-11-23 22:01:44 +03:00
QScrollBar:hover {
2018-05-22 21:36:18 +03:00
background-color: rgba(0, 0, 0, 0.1); }
2017-11-23 22:01:44 +03:00
QScrollBar:horizontal {
2018-05-22 21:36:18 +03:00
margin: 0;
height: 5ex; }
2017-11-23 22:01:44 +03:00
QScrollBar:vertical {
2018-05-22 21:36:18 +03:00
margin: 0;
width: 5ex; }
2017-11-23 22:01:44 +03:00
QScrollBar::handle {
2018-05-22 21:36:18 +03:00
background-color: rgba(0, 0, 0, 0.4);
border: none;
margin: 0;
padding: 0; }
2017-11-23 22:01:44 +03:00
QScrollBar::handle:pressed {
2018-05-22 21:36:18 +03:00
background-color: rgba(0, 0, 0, 0.6); }
2017-11-23 22:01:44 +03:00
QScrollBar::handle:vertical {
2018-05-22 21:36:18 +03:00
min-height: 20ex;
margin-left: 3ex; }
2017-11-23 22:01:44 +03:00
QScrollBar::handle:vertical:hover, QScrollBar::handle:vertical:pressed {
2018-05-22 21:36:18 +03:00
margin-left: 0; }
2017-11-23 22:01:44 +03:00
QScrollBar::handle:horizontal {
2018-05-22 21:36:18 +03:00
min-width: 20ex;
margin-top: 3ex; }
2017-11-23 22:01:44 +03:00
QScrollBar::handle:horizontal:hover, QScrollBar::handle:horizontal:pressed {
2018-05-22 21:36:18 +03:00
margin-top: 0; }
2017-11-23 22:01:44 +03:00
QScrollBar::add-line, QScrollBar::sub-line {
2018-05-22 21:36:18 +03:00
background: none;
border: none; }
WindowHeader {
background-color: white;
height: 15.6ex;
min-height: 15.6ex;
max-height: 15.6ex;
margin: 0;
padding: 0 0 0 6ex;
border: none; }
WindowHeader QPushButton {
margin: 0;
padding: 0;
border: none;
border-bottom: 1px solid transparent; }
WindowHeader QPushButton:hover {
border: none; }
WindowHeader QPushButton#WindowHeader_CloseButton {
image: url(":/images/default/close");
padding: 1ex; }
WindowHeader QPushButton#WindowHeader_CloseButton:hover {
image: url(":/images/default/close-hover");
background-color: #f44336;
border-bottom: 1px solid #f44336; }
WindowHeader QPushButton#WindowHeader_CloseButton:pressed {
background-color: #ea1c0d;
border-bottom: 1px solid #ea1c0d; }
WindowHeader QPushButton#WindowHeader_MinButton {
image: url(":/images/default/minimize");
padding: 2ex; }
WindowHeader QPushButton#WindowHeader_MinButton:hover {
background-color: #e8e8e8;
border-bottom: 1px solid #e8e8e8; }
WindowHeader QPushButton#WindowHeader_MinButton:pressed {
background-color: #c4c4c4;
border-bottom: 1px solid #c4c4c4; }
WindowHeader QPushButton#WindowHeader_MaxButton {
image: url(":/images/default/to-fullscreen");
padding: 1ex; }
WindowHeader QPushButton#WindowHeader_MaxButton[max=true] {
image: url(":/images/default/to-window");
padding: 1ex; }
WindowHeader QPushButton#WindowHeader_MaxButton:hover {
background-color: #e8e8e8;
border-bottom: 1px solid #e8e8e8; }
WindowHeader QPushButton#WindowHeader_MaxButton:pressed {
background-color: #c4c4c4;
border-bottom: 1px solid #c4c4c4; }
WindowHeader[left=true] {
padding: 0; }
BookmarkEditor {
background-color: white;
border: 1px solid #c4c4c4; }
BookmarkEditor QWidget#BookmarkEditor_ColorBox {
margin: 0;
2019-11-27 19:07:37 +03:00
padding: 0;
background: transparent; }
BookmarkEditor QWidget#BookmarkEditor_ColorBox QPushButton#BookmarkEditor_ColorButton {
min-width: 15ex;
max-width: 15ex;
width: 15ex;
margin: 0;
padding: 0; }
BookmarkEditor QWidget#BookmarkEditor_ButtonBox {
border: none; }
Dialog {
border: 1px solid #c4c4c4;
background-color: white; }