-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI_Styles.py
37 lines (34 loc) · 997 Bytes
/
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
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(255,137,0);
background-color: rgb(255,137,0);
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(255,137,0);
border-right: 5px solid rgb(247,240,231);
background-color: rgb(255,137,0);
text-align: left;
padding-left: 45px;
}
QPushButton:hover {
background-color: rgb(252,207,140);
border-left: 28px solid rgb(252,207,140);
}
QPushButton:pressed {
background-color: rgb(255,0,26);
border-left: 28px solid rgb(255,0,26);
}
"""
)