This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.py
93 lines (78 loc) · 1.96 KB
/
style.py
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
def style_main(self):
stylesheet = """
QMainWindow {
background-color: #2a2a2a;
}
QMenuBar {
background-color: #2e2e2e;
color: #e0e0e0;
font: bold;
font-size: 16px;
font-family: Consolas;
}
QMenuBar::item {
background-color: transparent;
}
QMenuBar::item:selected {
background-color: #ffffff;
color: #2e2e2e;
}
QMenu {
background-color: #2e2e2e;
color: #ffffff;
font: bold;
font-size: 16px;
font-family: Consolas;
}
QMenu::item:selected {
background-color: #ffffff;
color: #2e2e2e;
}
QPushButton {
background-color: #4e4e4e;
color: #fafafa;
font: bold;
font-size: 18px;
font-family: Consolas;
}
QLabel {
color: #ffffff;
font: bold;
font-size: 18px;
font-family: Consolas;
}
QLabel#video {
color: #ffffff;
background-color: #4e4e4e;
font-size: 50px;
font-family: Consolas;
}
QLabel#status_lb {
background-color: #2e2e2e;
color: #ffffff;
margin-left: 2px;
margin-right: 2px;
font-size: 18px;
font-family: Consolas;
}
QStatusBar::item {
border: 0px;
}
QTextEdit {
background-color: #4e4e4e;
border: 0px;
color: #ffffff;
font: bold;
font-size: 17px;
font-family: Consolas;
}
"""
return stylesheet
def style_statusbar(self):
stylesheet = """
color: #ffffff;
background-color: #2e2e2e;
font-size: 18px;
font-family: Consolas;
"""
return stylesheet