-
Notifications
You must be signed in to change notification settings - Fork 185
/
ui_styles.py
51 lines (49 loc) · 1.63 KB
/
ui_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
################################################################################
##
## BY: WANDERSON M.PIMENTA
## PROJECT MADE WITH: Qt Designer and PySide2
## V: 1.0.0
##
## This project can be used freely for all uses, as long as they maintain the
## respective credits only in the Python scripts, any information in the visual
## interface (GUI) can be modified without any implication.
##
## There are limitations on Qt licenses if you want to use your products
## commercially, I recommend reading them on the official website:
## https://doc.qt.io/qtforpython/licenses.html
##
################################################################################
class Style():
style_bt_standard = (
"""
QPushButton {
background-image: ICON_REPLACE;
background-position: left center;
background-repeat: no-repeat;
border: none;
border-left: 28px solid rgb(27, 29, 35);
background-color: rgb(27, 29, 35);
text-align: left;
padding-left: 45px;
}
QPushButton[Active=true] {
background-image: ICON_REPLACE;
background-position: left center;
background-repeat: no-repeat;
border: none;
border-left: 28px solid rgb(27, 29, 35);
border-right: 5px solid rgb(44, 49, 60);
background-color: rgb(27, 29, 35);
text-align: left;
padding-left: 45px;
}
QPushButton:hover {
background-color: rgb(33, 37, 43);
border-left: 28px solid rgb(33, 37, 43);
}
QPushButton:pressed {
background-color: rgb(85, 170, 255);
border-left: 28px solid rgb(85, 170, 255);
}
"""
)