0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

update stylesheet

This commit is contained in:
Victor Zarubkin 2019-11-27 19:07:37 +03:00
parent b175d07f82
commit 4cd29fdd18
2 changed files with 33 additions and 29 deletions

View File

@ -26,7 +26,8 @@
* * * *
***************************************************************************/ ***************************************************************************/
* { * {
font-family: "DejaVu Sans"; /*{lin}font-family: "DejaVu Sans";*/
/*{win}font-family: "DejaVu Sans";*/
/*{osx}font-family: "Menlo";*/ /*{osx}font-family: "Menlo";*/
font-size: 10pt; font-size: 10pt;
color: #504040; } color: #504040; }
@ -98,14 +99,14 @@ ArbitraryValueToolTip {
background-color: #ffeccc; } background-color: #ffeccc; }
ArbitraryValueToolTip QWidget#cnt { ArbitraryValueToolTip QWidget#cnt {
border: 1px solid #c4c4c4; border: 1px solid #c4c4c4;
background-color: transparent; background: transparent;
margin: 0; } margin: 0; }
ArbitraryValueToolTip QLabel { ArbitraryValueToolTip QLabel {
background-color: transparent; background: transparent;
border: none; border: none;
color: #504040; } color: #504040; }
ArbitraryValueToolTip QTextEdit { ArbitraryValueToolTip QTextEdit {
background-color: transparent; background: transparent;
border: none; border: none;
color: #504040; color: #504040;
selection-color: white; selection-color: white;
@ -120,8 +121,7 @@ QLabel#BookmarkPopup {
QGraphicsView { QGraphicsView {
border: 1px solid #c4c4c4; border: 1px solid #c4c4c4;
background: white; background-color: white; }
}
QSplitter::handle:hover { QSplitter::handle:hover {
background-color: #3297FD; } background-color: #3297FD; }
@ -168,6 +168,9 @@ QComboBox::drop-down {
border: none; border: none;
width: 10ex; } width: 10ex; }
QTextEdit {
background-color: white; }
QComboBox::down-arrow { QComboBox::down-arrow {
image: url(":/images/default/arrow-down"); image: url(":/images/default/arrow-down");
width: 5ex; width: 5ex;
@ -247,8 +250,8 @@ QListView {
border: 1px solid #c4c4c4; } border: 1px solid #c4c4c4; }
QListView, QTableView, QTreeView { QListView, QTableView, QTreeView {
background-color: white;
alternate-background-color: #e4e4ec; alternate-background-color: #e4e4ec;
background: white;
selection-background-color: #B4D5FE; selection-background-color: #B4D5FE;
selection-color: #504040; } selection-color: #504040; }
@ -278,7 +281,7 @@ QListView::item:selected, QTableView::item:selected, QTreeView::item:selected {
QTreeView::indicator { QTreeView::indicator {
width: 9ex; width: 9ex;
height: 9ex; height: 9ex;
background-color: transparent; background: transparent;
border: 1px solid transparent; border: 1px solid transparent;
padding: 1px; padding: 1px;
margin: 0; } margin: 0; }
@ -384,7 +387,8 @@ DockWidget QWidget#EasyDockWidgetTitle {
background-color: #686464; } background-color: #686464; }
DockWidget QWidget#EasyDockWidgetTitle QLabel { DockWidget QWidget#EasyDockWidgetTitle QLabel {
color: white; color: white;
margin-left: 4px; } margin-left: 4px;
background: transparent; }
DockWidget QWidget#EasyDockWidgetTitle QPushButton { DockWidget QWidget#EasyDockWidgetTitle QPushButton {
background: none; background: none;
border: none; border: none;
@ -427,7 +431,7 @@ QProgressBar::chunk {
/* ****************************************************************************************************************** */ /* ****************************************************************************************************************** */
QScrollBar { QScrollBar {
background-color: transparent; background: transparent;
border: none; border: none;
padding: 0; } padding: 0; }
@ -522,13 +526,10 @@ WindowHeader[left=true] {
BookmarkEditor { BookmarkEditor {
background-color: white; background-color: white;
border: 1px solid #c4c4c4; } border: 1px solid #c4c4c4; }
QTextEdit {
background: white;
}
BookmarkEditor QWidget#BookmarkEditor_ColorBox { BookmarkEditor QWidget#BookmarkEditor_ColorBox {
margin: 0; margin: 0;
background: white; padding: 0;
padding: 0; } background: transparent; }
BookmarkEditor QWidget#BookmarkEditor_ColorBox QPushButton#BookmarkEditor_ColorButton { BookmarkEditor QWidget#BookmarkEditor_ColorBox QPushButton#BookmarkEditor_ColorButton {
min-width: 15ex; min-width: 15ex;
max-width: 15ex; max-width: 15ex;

View File

@ -69,7 +69,9 @@ $WindowHeaderHoverColor: lighten($BorderColor, 14%); // #e8e8e8
// STYLES ------------------------------------------------- // STYLES -------------------------------------------------
* { * {
font-family: "DejaVu Sans"; /*{lin}font-family: "DejaVu Sans";*/
/*{win}font-family: "DejaVu Sans";*/
/*{osx}font-family: "Menlo";*/
font-size: $FontSize; font-size: $FontSize;
color: $TextColor; color: $TextColor;
} }
@ -146,7 +148,7 @@ RoundProgressDialog#ReceiveProgress RoundProgressWidget RoundProgressIndicator[p
MainWindow, QToolBar, QDialog { MainWindow, QToolBar, QDialog {
border-style: solid; border-style: solid;
border-color: white; border-color: $BackgroundColor;
background-color: $BackgroundColor; background-color: $BackgroundColor;
} }
@ -163,18 +165,18 @@ ArbitraryValueToolTip {
QWidget#cnt { QWidget#cnt {
border: 1px solid $BorderColor; border: 1px solid $BorderColor;
background-color: transparent; background: transparent;
margin: 0; margin: 0;
} }
QLabel { QLabel {
background-color: transparent; background: transparent;
border: none; border: none;
color: $TextColor; color: $TextColor;
} }
QTextEdit { QTextEdit {
background-color: transparent; background: transparent;
border: none; border: none;
color: $TextColor; color: $TextColor;
selection-color: $DarkSelectedTextColor; selection-color: $DarkSelectedTextColor;
@ -193,7 +195,7 @@ QLabel#BookmarkPopup {
QGraphicsView { QGraphicsView {
border: 1px solid $BorderColor; border: 1px solid $BorderColor;
background: white; background-color: $BackgroundColor;
} }
QSplitter::handle:hover { QSplitter::handle:hover {
@ -249,7 +251,7 @@ QComboBox::drop-down {
} }
QTextEdit { QTextEdit {
background: white; background-color: $BackgroundColor;
} }
QComboBox::down-arrow { QComboBox::down-arrow {
@ -349,9 +351,8 @@ QListView {
} }
QListView, QTableView, QTreeView { QListView, QTableView, QTreeView {
background-color: $BackgroundColor;
alternate-background-color: #e4e4ec; alternate-background-color: #e4e4ec;
background: white
;
selection-background-color: $TreeViewSelectionColor; selection-background-color: $TreeViewSelectionColor;
selection-color: $TreeViewSelectionTextColor; selection-color: $TreeViewSelectionTextColor;
} }
@ -389,7 +390,7 @@ QListView::item:selected, QTableView::item:selected, QTreeView::item:selected {
QTreeView::indicator { QTreeView::indicator {
width: 9ex; width: 9ex;
height: 9ex; height: 9ex;
background-color: transparent; background: transparent;
border: 1px solid transparent; border: 1px solid transparent;
padding: 1px; padding: 1px;
margin: 0; margin: 0;
@ -517,6 +518,7 @@ DockWidget
QLabel { QLabel {
color: white; color: white;
margin-left: 4px; margin-left: 4px;
background: transparent;
} }
QPushButton { QPushButton {
@ -560,7 +562,7 @@ QProgressBar::chunk {
/* ****************************************************************************************************************** */ /* ****************************************************************************************************************** */
QScrollBar { QScrollBar {
background-color: transparent; background: transparent;
border: none; border: none;
padding: 0; padding: 0;
} }
@ -602,7 +604,7 @@ QScrollBar::add-line, QScrollBar::sub-line {
} }
WindowHeader { WindowHeader {
background-color: white; background-color: $BackgroundColor;
height: $WindowHeaderSize; height: $WindowHeaderSize;
min-height: $WindowHeaderSize; min-height: $WindowHeaderSize;
max-height: $WindowHeaderSize; max-height: $WindowHeaderSize;
@ -678,12 +680,13 @@ WindowHeader[left=true] {
} }
BookmarkEditor { BookmarkEditor {
background-color: white; background-color: $BackgroundColor;
border: 1px solid $BorderColor; border: 1px solid $BorderColor;
QWidget#BookmarkEditor_ColorBox { QWidget#BookmarkEditor_ColorBox {
margin: 0; margin: 0;
padding: 0; padding: 0;
background: transparent;
QPushButton#BookmarkEditor_ColorButton { QPushButton#BookmarkEditor_ColorButton {
min-width: $InputHeight; min-width: $InputHeight;
@ -701,5 +704,5 @@ BookmarkEditor {
Dialog { Dialog {
border: 1px solid $BorderColor; border: 1px solid $BorderColor;
background-color: white; background-color: $BackgroundColor;
} }