-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_styles.py
82 lines (77 loc) · 1.8 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
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
class Style():
style_bt_standard = (
"""
QPushButton {
background-image: ICON_REPLACE;
background-position: left center;
background-repeat: no-repeat;
border: none;
border-left: 26px solid rgb(27, 29, 35);
background-color: rgb(27, 29, 35);
text-align: left;
padding-left: 45px;
}
QPushButton:hover {
background-color: rgb(33, 37, 43);
border-left: 26px solid rgb(33, 37, 43);
}
QPushButton:pressed {
background-color: rgb(85, 170, 255);
border-left: 26px solid rgb(85, 170, 255);
}
"""
)
style_bt_delet_row = (
"""
QPushButton {
background-position: center;
background-repeat: no-repeat;
border: none;
background-color: rgb(44, 49, 60);
text-align: left;
border-radius: 5px;
text-align: center;
margin-top: 2px;
}
QPushButton:hover {
background-color: rgb(33, 37, 43);
}
QPushButton:pressed {
background-color: rgb(85, 170, 255);
}
"""
)
style_LineEdit = (
"""
QLineEdit {
background-color: rgb(27, 29, 35);
border-radius: 10px;
border: 2px solid rgb(27, 29, 35);
padding-left: 10px;
}
QLineEdit:hover {
border: 2px solid rgb(64, 71, 88);
}
QLineEdit:focus {
border: 2px solid rgb(91, 101, 124);
}
"""
)
style_LineEdit_empyt = (
"""
QLineEdit {
background-color: rgb(27, 29, 35);
border-radius: 10px;
border: 2px solid rgb(255, 0, 127);
padding-left: 10px;
color: rgb(255, 0, 127);
}
QLineEdit:hover {
border: 2px solid rgb(255, 0, 127);
}
QLineEdit:focus {
border: 2px solid rgb(91, 101, 124);
color: rgb(210, 210, 210);
}
"""
)