-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstyle.qss
86 lines (69 loc) · 2 KB
/
style.qss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/********************************************************************************************
QT Stylesheet for the app. This file will be read every time an app dialog is created via
the show_dialog, show_modal or show_panel methods.
Certain keywords will be resolved, for example {{SG_HIGHLIGHT_COLOR}}.
For a full list of keywords, call the app.style_constants property at runtime.
For more info about QT stylesheets, please see http://doc.qt.io/qt-4.8/stylesheet.html
********************************************************************************************/
QPlainTextEdit#demo_code_edit {
font-family: "Courier New";
font-size: 12px;
border: none;
border-radius: 0px;
}
QPushButton#demo_to_app {
border: none;
background: none;
padding-top: 4px;
padding-right: 8px;
}
QComboBox#demo_file_combo {
font-family: "Courier New";
}
QSplitter::handle {
background-color: none;
}
QTreeView#demo_tree_view {
background-color: none;
selection-background-color: palette(highlight);
selection-color: palette(dark);
show-decoration-selected: 1;
border-radius: 0px;
}
QTreeView#demo_tree_view::item {
border: 0px;
padding: 4px 8px;
}
QTreeView#demo_tree_view::item:selected {
background-color: palette(highlight);
color: palette(dark);
}
QTreeView#demo_tree_view::branch {
image: none;
}
QLabel#demo_desc {
padding-left: 6px;
padding-right: 6px;
}
QTabWidget::pane {
border-top: 1px solid rgba(255, 255, 255, 20);
border-bottom: 1px solid rgba(255, 255, 255, 20);
padding-bottom: 8px;
padding-top: 8px;
}
/* Style the tab using the tab sub-control.
Note that it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
padding-left: 12px;
padding-right: 12px;
padding-top: 4px;
padding-bottom: 2px;
border-top: 2px solid rgba(255, 255, 255, 5);
}
QTabBar::tab:hover {
color: {{SG_HIGHLIGHT_COLOR}};
}
QTabBar::tab:selected {
color: {{SG_HIGHLIGHT_COLOR}};
border-top: 2px solid {{SG_HIGHLIGHT_COLOR}};
}