-
Notifications
You must be signed in to change notification settings - Fork 10
/
styles.py
148 lines (136 loc) · 4.64 KB
/
styles.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
################################################################################
##
## STUDY PROJECT BY: WANDERSON M.
## PROJECT MADE WITH: Qt Designer and PySide2
## V: 0.1
##
################################################################################
class style():
# MAIN WINDOW
mainWindow = ("""QToolTip {
background: rgb(50, 50, 50);
color: rgb(200, 200, 200);
border: 1px solid rgb(40, 40, 40);
}
QLabel { color: rgb(200, 200, 200); }""")
# BTS TITLE BAR
############################################################################
# BT MINIMIZE ==> NORMAL
bts_title_bar_minimize = (u"QPushButton {\n"
" background-color: transparent; \n"
" background-image: url(:/PNGs/Images/cil-window-minimize.png);\n"
" background-position: center;\n"
" background-repeat: no-repeat;\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgb(45, 45, 45); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgb(25, 25, 25); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BT MAXIMIZE ==> NORMAL
bts_title_bar_maximize = (u"QPushButton {\n"
" background-color: transparent; \n"
" background-image: url(:/PNGs/Images/cil-window-maximize.png);\n"
" background-position: center;\n"
" background-repeat: no-repeat;\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgb(45, 45, 45); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgb(25, 25, 25); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BT RESTORE ==> NORMAL
bts_title_bar_restore = (u"QPushButton {\n"
" background-color: transparent; \n"
" background-image: url(:/PNGs/Images/cil-window-restore.png);\n"
" background-position: center;\n"
" background-repeat: no-repeat;\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgb(45, 45, 45); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgb(25, 25, 25); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BT CLOSE ==> NORMAL
bts_title_bar_close = (u"QPushButton {\n"
" background-color: transparent; \n"
" background-image: url(:/PNGs/Images/cil-x.png);\n"
" background-position: center;\n"
" background-repeat: no-repeat;\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgb(45, 45, 45); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgb(25, 25, 25); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BTS NUMBERS STYLE
############################################################################
# BTS NUMBERS ==> NORMAL
bts_numbers = (u"QPushButton {\n"
" background-color: rgba(45, 45, 45, 50); \n"
" color: rgb(200, 200, 200);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(255, 0, 127, 100); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgba(255, 0, 127, 150); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# FUNCTIONS BUTTONS
############################################################################
# BTS FUNCTIONS ==> NORMAL
bts_functions = (u"QPushButton {\n"
" background-color: rgba(35, 35, 35, 15); \n"
" color: rgb(200, 200, 200);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(255, 0, 127, 50); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgba(255, 0, 127, 100); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BTS BACKSPACE ==> NORMAL
bts_backspace = (u"QPushButton {\n"
" background-color: rgba(35, 35, 35, 15); \n"
" background-image: url(:/PNGs/Images/backspace.png);\n"
" background-position: center;\n"
" background-repeat: no-repeat;\n"
" color: rgb(200, 200, 200);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(255, 0, 127, 50); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgba(255, 0, 127, 100); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")
# BTS EQUAL ==> NORMAL
bts_equal = (u"QPushButton {\n"
" background-color: rgba(35, 35, 35, 15); \n"
" color: rgb(200, 200, 200);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(255, 0, 127, 100); \n"
"}\n"
"QPushButton:pressed {\n"
" background-color: rgba(255, 0, 127, 150); \n"
" border: 2px solid rgb(255, 0, 127);\n"
"}")