-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.qss
94 lines (91 loc) · 2.04 KB
/
custom.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
87
88
89
90
91
92
93
94
/* MISC */
QMenuBar, QToolBar, QFrame, QMenu {
border: none;
}
QToolTip {
background: palette(window);
}
QGroupBox {
border: 1px solid palette(highlight);
margin-top: 3ex;
}
QListView, QTableView, QTreeView, QTextEdit, QTextBrowser, QColumnView {
background: palette(dark);
border: 1px solid palette(highlight);
padding: 1px;
}
QHeaderView::section {
background-color: palette(window);
border: 1px solid palette(dark);
padding: 4px;
}
/* BUTTONS */
QPushButton, QComboBox {
background: palette(window);
border: 1px solid palette(light);
border-radius: 3px;
padding: 6px;
}
QPushButton:hover, QComboBox:hover {
background: palette(light);
border: 1px solid palette(dark);
border-radius: 3px;
padding: 6px;
}
QPushButton:pressed {
background: palette(highlight);
border: 1px solid palette(dark);
border-radius: 3px;
padding: 6px;
}
/* SCROLLBARS */
QScrollBar {
background: palette(window);
}
QScrollBar:horizontal {
height: 10px;
}
QScrollBar:vertical {
width: 10px;
}
QScrollBar::handle {
background: palette(light);
}
QScrollBar::handle:hover, QScrollBar::add-line:hover, QScrollBar::sub-line:hover {
background: palette(highlight);
}
QScrollBar::add-line {
subcontrol-origin: none;
}
QScrollBar::add-line, QScrollBar::sub-line {
background: palette(window);
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
height: 0px;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
width: 0px;
}
QScrollBar::sub-line {
subcontrol-origin: none;
}
/* TABS */
QTabBar::tab {
background: palette(alternatebase);
min-width: 8ex;
padding: 8px;
border: 1px solid palette(dark);
border-bottom-color: palette(window);
margin-bottom: 1px;
}
QTabBar::tab:selected {
background: palette(light);
border: 1px solid palette(highlight);
border-bottom-color: palette(light);
margin-bottom: -1px;
}
QTabWidget::pane {
background: palette(light);
border: 1px solid palette(highlight);
margin-top: -1px;
}