mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-30 02:16:55 +08:00
193 lines
5.1 KiB
CSS
193 lines
5.1 KiB
CSS
/**********************************
|
|
* *
|
|
* Light theme for EasyProfiler. *
|
|
* *
|
|
***********************************/
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
* {
|
|
font-family: "DejaVu Sans";
|
|
font-size: 13px;
|
|
color: #606070;
|
|
}
|
|
|
|
*:disabled {
|
|
color: #b0b0c0;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
QLineEdit, QPushButton {
|
|
height: 24px;
|
|
border: 1px solid #cccccc;
|
|
background-color: white;
|
|
}
|
|
|
|
QLineEdit:focus { border: 1px ridge #f44336; }
|
|
|
|
QPushButton { padding: 2px 5px 2px 5px; }
|
|
QPushButton:hover { border: 1px solid #f4a386; color: #806070; }
|
|
QPushButton:pressed { border: 1px solid #d47366; color: #705060; }
|
|
|
|
QComboBox QListView {
|
|
background-color: white;
|
|
border: 1px solid #cccccc;
|
|
selection-background-color: rgba(96, 112, 208, 64);
|
|
}
|
|
|
|
/* ****************************************************************************************************************** */
|
|
QMenu {
|
|
background-color: white;
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
QMenu::item {
|
|
height: 22px;
|
|
padding: 0 16px 0 25px;
|
|
border: 1px solid transparent; /* reserve space for selection border */
|
|
}
|
|
|
|
QMenu::item:selected {
|
|
border-color: rgba(96, 112, 208, 128);
|
|
background: rgba(96, 112, 208, 64);
|
|
}
|
|
|
|
QMenu::icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
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;
|
|
}
|
|
|
|
QMenu::separator {
|
|
height: 1px;
|
|
background: #cccccc;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
QMenu::indicator {
|
|
width: 14px;
|
|
height: 14px;
|
|
background-color: white;
|
|
border: 1px solid #cccccc;
|
|
margin-left: 2px;
|
|
padding: 1px;
|
|
}
|
|
|
|
QMenu::indicator:non-exclusive:checked { image: url(":/CheckIndicator"); }
|
|
QMenu::indicator:non-exclusive:checked:disabled { image: url(":/CheckIndicatorDisabled"); }
|
|
|
|
QMenu::indicator:exclusive { border-radius: 8px; }
|
|
QMenu::indicator:exclusive:checked { image: url(":/RadioIndicator"); }
|
|
QMenu::indicator:exclusive:checked:disabled { image: url(":/RadioIndicatorDisabled"); }
|
|
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
/*QToolButton {
|
|
border: 1px solid transparent;
|
|
background: none;
|
|
padding: 2px;
|
|
}
|
|
|
|
QToolButton:hover {
|
|
border: 1px solid #cccccc;
|
|
}
|
|
|
|
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 {
|
|
border-left: 1px solid #cccccc;
|
|
background-color: #bbbbbb;
|
|
}
|
|
|
|
QToolButton::menu-button:pressed {
|
|
border-left: 1px solid #cccccc;
|
|
background-color: #808080;
|
|
}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
QHeaderView::section {
|
|
height: 28px;
|
|
width: 96px;
|
|
min-width: 64px;
|
|
background: #eeeeee;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle {
|
|
background-color: #666666;
|
|
}
|
|
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QLabel {
|
|
color: white;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton {
|
|
background: none;
|
|
border: none;
|
|
max-height: 12px;
|
|
max-width: 12px;
|
|
margin-right: 4px;
|
|
padding: 0;
|
|
}
|
|
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton { image: url(":/DockMaximizeWhite"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:hover { image: url(":/DockMaximizeWhiteHover"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton:pressed { image: url(":/DockMaximizeWhitePressed"); }
|
|
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true] { image: url(":/DockMinimizeWhite"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:hover { image: url(":/DockMinimizeWhiteHover"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetFloatButton[floating=true]:pressed { image: url(":/DockMinimizeWhitePressed"); }
|
|
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton { image: url(":/DockCloseWhite"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:hover { image: url(":/DockCloseWhiteHover"); }
|
|
EasyDockWidget QWidget#EasyDockWidgetTitle QPushButton#EasyDockWidgetCloseButton:pressed { image: url(":/DockCloseWhitePressed"); }
|
|
|
|
|
|
|
|
/* ****************************************************************************************************************** */
|
|
QWidget#DiagramPopup, QWidget#ThreadsPopup {
|
|
background-color: white;
|
|
border: 1px solid #cccccc;
|
|
}
|
|
|
|
|
|
|