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

365 lines
10 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
***********************************/
/* ****************************************************************************************************************** */
2017-11-20 23:34:45 +03:00
/* Functions */
/* ****************************************************************************************************************** */
/* Constants */
/* ****************************************************************************************************************** */
/* StyleSheet */
2017-11-16 22:32:28 +03:00
* {
2017-11-20 23:34:45 +03:00
font-family: "DejaVu Sans";
font-size: 13px;
2017-11-23 22:01:44 +03:00
color: #504040; }
2017-11-16 22:32:28 +03:00
*:disabled {
2017-11-23 22:01:44 +03:00
color: #a08888; }
2017-11-16 22:32:28 +03:00
MainWindow, QToolBar, QDialog {
2017-11-23 22:01:44 +03:00
background-color: #f8f2f2; }
QToolTip {
2017-11-27 22:02:15 +03:00
background-color: #ffeccc;
2017-11-23 22:01:44 +03:00
border: 1px solid #cccccc; }
2017-11-16 22:32:28 +03:00
2017-11-27 22:02:15 +03:00
QGraphicsView {
border: 1px solid #cccccc; }
2017-11-27 22:02:15 +03:00
QSplitter::handle:hover {
background-color: rgba(244, 67, 54, 0.5); }
QSplitter::handle:pressed {
background-color: #f44336; }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
2017-11-23 22:01:44 +03:00
QLineEdit, QComboBox, QSpinBox {
2017-11-20 23:34:45 +03:00
height: 24px;
border: 1px solid #cccccc;
background-color: white;
2017-11-27 22:02:15 +03:00
selection-background-color: rgba(152, 222, 152, 0.5);
2017-11-23 22:01:44 +03:00
selection-color: #504040; }
2017-11-20 23:34:45 +03:00
2017-11-23 22:01:44 +03:00
QLineEdit:disabled, QComboBox:disabled, QSpinBox:disabled {
background-color: #f0f0f0;
color: #a08888;
2017-11-27 22:02:15 +03:00
selection-background-color: rgba(152, 222, 152, 0.5);
2017-11-23 22:01:44 +03:00
selection-color: #a08888; }
2017-11-20 23:34:45 +03:00
QLineEdit:focus {
border: 1px solid #ffbcbc; }
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
2017-11-20 23:34:45 +03:00
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
2017-11-23 22:01:44 +03:00
width: 24px;
border: none;
2017-11-20 23:34:45 +03:00
margin-left: 0; }
QComboBox::down-arrow {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-down");
2017-11-20 23:34:45 +03:00
height: 8px;
width: 8px; }
2017-11-23 22:01:44 +03:00
QComboBox::down-arrow:hover {
2017-11-26 15:37:39 +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 {
2017-11-26 15:37:39 +03:00
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;
margin-left: 5px;
width: 24px;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc; }
QSpinBox::down-button {
subcontrol-origin: padding;
subcontrol-position: bottom right;
margin-left: 5px;
width: 24px;
border-left: 1px solid #cccccc; }
QSpinBox::up-button:pressed, QSpinBox::down-button:pressed {
background-color: #f4f4f4; }
QSpinBox::up-arrow {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-up");
2017-11-23 22:01:44 +03:00
height: 8px;
width: 8px; }
QSpinBox::up-arrow:hover {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-up-hover"); }
2017-11-23 22:01:44 +03:00
QSpinBox::up-arrow:disabled {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-up-disabled"); }
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-down");
2017-11-20 23:34:45 +03:00
height: 8px;
width: 8px; }
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow:hover {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/arrow-down-hover"); }
2017-11-23 22:01:44 +03:00
QSpinBox::down-arrow:disabled {
2017-11-26 15:37:39 +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 {
height: 24px;
2017-11-26 15:37:39 +03:00
min-width: 50px;
2017-11-20 23:34:45 +03:00
border: 1px solid #cccccc;
background-color: white;
padding: 0 5px 0 5px; }
2017-11-23 22:01:44 +03:00
QPushButton:disabled {
background-color: #f0f0f0;
color: #a08888; }
2017-11-20 23:34:45 +03:00
QPushButton:hover {
border: 1px solid #ffbcbc;
2017-11-23 22:01:44 +03:00
color: #922c2c; }
2017-11-20 23:34:45 +03:00
QPushButton:pressed {
2017-11-23 22:01:44 +03:00
border: 1px solid #922c2c;
color: #370400; }
2017-11-16 22:32:28 +03:00
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
QListView {
2017-11-20 23:34:45 +03:00
background-color: white;
2017-11-27 22:02:15 +03:00
border: 1px solid #cccccc; }
QListView, QTableView, QTreeView {
alternate-background-color: #e4e4ec;
selection-background-color: rgba(152, 222, 152, 0.8);
2017-11-23 22:01:44 +03:00
selection-color: #504040; }
2017-11-27 22:02:15 +03:00
QListView::item, QTableView::item, QTreeView::item {
height: 26px;
border-bottom: 1px solid #cccccc; }
QListView::item:selected, QTableView::item:selected, QTreeView::item:selected {
background-color: rgba(152, 222, 152, 0.8); }
2017-11-16 22:32:28 +03:00
QTreeView::indicator {
width: 14px;
height: 14px;
background-color: transparent;
border: 1px solid transparent;
padding: 1px;
margin: 0; }
QTreeView::indicator:hover, QTreeView::indicator:checked {
background-color: white;
border: 1px solid #cccccc; }
QTreeView::indicator:checked {
image: url(":/images/default/check"); }
QTreeView::indicator:checked:disabled {
image: url(":/images/default/check-disabled"); }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
QMenu {
2017-11-20 23:34:45 +03:00
background-color: white;
border: 1px solid #cccccc;
padding-top: 4px;
padding-bottom: 4px; }
2017-11-16 22:32:28 +03:00
QMenu::item {
2017-11-23 22:01:44 +03:00
height: 24px;
2017-11-20 23:34:45 +03:00
padding: 0 16px 0 25px;
border: 1px solid transparent;
/* reserve space for selection border */ }
2017-11-16 22:32:28 +03:00
QMenu::item:selected {
2017-11-27 22:02:15 +03:00
border: 1px solid rgba(152, 222, 152, 0.5);
background-color: rgba(152, 222, 152, 0.5); }
2017-11-16 22:32:28 +03:00
QMenu::icon {
2017-11-23 22:01:44 +03:00
width: 14px;
height: 14px;
2017-11-20 23:34:45 +03:00
background: none;
border: 1px inset transparent;
padding: 1px;
margin-left: 2px; }
QMenu::icon:checked {
/* appearance of a 'checked' icon */
background-color: #dddddd;
border: 1px inset #aaaaaa; }
2017-11-16 22:32:28 +03:00
QMenu::separator {
2017-11-20 23:34:45 +03:00
height: 1px;
background: #cccccc;
margin-left: 5px;
margin-right: 5px; }
2017-11-16 22:32:28 +03:00
QMenu::indicator {
2017-11-20 23:34:45 +03:00
width: 14px;
height: 14px;
background-color: white;
border: 1px solid #cccccc;
margin-left: 2px;
padding: 1px; }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:non-exclusive:checked {
2017-11-26 15:37:39 +03:00
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 {
2017-11-26 15:37:39 +03:00
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 {
border-radius: 8px; }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
QMenu::indicator:exclusive:checked {
2017-11-26 15:37:39 +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 {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/radio-check-disabled"); }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
/*QToolButton {
border: 1px solid transparent;
background: none;
padding: 2px;
}
QToolButton:hover {
2017-11-20 23:34:45 +03:00
border: 1px solid $BorderColor;
2017-11-16 22:32:28 +03:00
}
QToolButton[popupMode="1"] {
padding-right: 13px;
}
QToolButton:pressed {
background-color: #808080;
}
QToolButton::menu-button {
border: none;
border-left: 1px solid transparent;
width: 12px;
}
QToolButton::menu-button:hover {
2017-11-20 23:34:45 +03:00
border-left: 1px solid $BorderColor;
2017-11-16 22:32:28 +03:00
background-color: #bbbbbb;
}
QToolButton::menu-button:pressed {
2017-11-20 23:34:45 +03:00
border-left: 1px solid $BorderColor;
2017-11-16 22:32:28 +03:00
background-color: #808080;
}*/
/* ****************************************************************************************************************** */
QHeaderView::section {
2017-11-20 23:34:45 +03:00
height: 28px;
width: 96px;
min-width: 64px;
background: #eeeeee; }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
DockWidget QWidget#EasyDockWidgetTitle {
2017-11-20 23:34:45 +03:00
background-color: #686464; }
DockWidget QWidget#EasyDockWidgetTitle QLabel {
2017-11-16 22:32:28 +03:00
color: white;
2017-11-20 23:34:45 +03:00
margin-left: 4px; }
DockWidget QWidget#EasyDockWidgetTitle QPushButton {
2017-11-16 22:32:28 +03:00
background: none;
border: none;
max-height: 12px;
2017-11-27 22:02:15 +03:00
min-width: 12px;
2017-11-16 22:32:28 +03:00
max-width: 12px;
margin-right: 4px;
2017-11-20 23:34:45 +03:00
padding: 0; }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-maximize-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:hover {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-maximize-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:pressed {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-maximize-white-pressed"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true] {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-minimize-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:hover {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-minimize-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:pressed {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-minimize-white-pressed"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-close-white"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:hover {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-close-white-hover"); }
DockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:pressed {
2017-11-26 15:37:39 +03:00
image: url(":/images/default/dock-close-white-pressed"); }
2017-11-16 22:32:28 +03:00
/* ****************************************************************************************************************** */
QWidget#DiagramPopup, QWidget#ThreadsPopup {
2017-11-20 23:34:45 +03:00
background-color: white;
border: 1px solid #cccccc; }
2017-11-16 22:32:28 +03:00
2017-11-20 23:34:45 +03:00
/* ****************************************************************************************************************** */
QProgressBar {
height: 24px;
background-color: white;
2017-11-23 22:01:44 +03:00
border: 1px solid #cccccc;
2017-11-20 23:34:45 +03:00
color: #0B530B;
text-align: center; }
QProgressBar::chunk {
background-color: #98DE98;
width: 2px;
margin: 0; }
2017-11-23 22:01:44 +03:00
/* ****************************************************************************************************************** */
QScrollBar {
background-color: transparent;
border: none;
padding: 0; }
QScrollBar:hover {
background-color: rgba(0, 0, 0, 0.1); }
QScrollBar:horizontal {
margin: 0;
height: 8px; }
QScrollBar:vertical {
margin: 0;
width: 8px; }
QScrollBar::handle {
background-color: rgba(0, 0, 0, 0.4);
border: none;
margin: 0;
padding: 0; }
QScrollBar::handle:pressed {
background-color: rgba(0, 0, 0, 0.6); }
QScrollBar::handle:vertical {
2017-11-27 22:02:15 +03:00
min-height: 30px;
2017-11-23 22:01:44 +03:00
margin-left: 4px; }
QScrollBar::handle:vertical:hover, QScrollBar::handle:vertical:pressed {
margin-left: 0; }
QScrollBar::handle:horizontal {
2017-11-27 22:02:15 +03:00
min-width: 30px;
2017-11-23 22:01:44 +03:00
margin-top: 4px; }
QScrollBar::handle:horizontal:hover, QScrollBar::handle:horizontal:pressed {
margin-top: 0; }
QScrollBar::add-line, QScrollBar::sub-line {
background: none;
border: none; }