This repository was archived by the owner on Dec 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwstyle.py
More file actions
131 lines (108 loc) · 4.67 KB
/
wstyle.py
File metadata and controls
131 lines (108 loc) · 4.67 KB
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
STYLE_DEFAULT: str = '''background-color: #0097a7;
text-align: left;
padding: 20px;
color: white;
font: bold 50px;'''
STYLE_TRANSPARENT: str = '''background-color: transparent;'''
STYLE_PASS_CARD_FIRST: str = '''background-color: white;
image: url("cyanCard.svg");
border-top-left-radius: 20px;
border-top-right-radius: 20px;
padding: 20px;'''
STYLE_PASS_CARD_NEW: str = '''background-color: white;
image: url("greenCard.svg");
border-top-left-radius: 20px;
border-top-right-radius: 20px;
padding: 20px;'''
STYLE_PASS_CARD_DELETE: str = '''background-color: white;
image: url("redCard.svg");
border-top-left-radius: 20px;
border-top-right-radius: 20px;
padding: 20px;'''
STYLE_PASS_CARD_TEXT: str = '''background-color: white;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 20px;
color: black;
font: bold 24px;'''
STYLE_RED_BUTTON: str = '''background-color: red;
border-radius: 6px;
padding: 20px;
color: white;
font: bold 28px'''
STYLE_ADDRESS_BOOK: str = '''background-color: white;
border-radius: 20px;
padding: 20px;
color: black;
text-align: left;
font: bold 28px'''
STYLE_EXIT_AND_RETURN_BUTTONS: str = '''background-color: #7A000000;
border-radius: 20px;
padding: 20px;
color: white;
text-align: center;
font: bold 28px'''
STYLE_DEFAULT_INFO: str = '''background-color: white;
text-align: left;
padding: 20px;
color: #0097a7;
font: bold 50px;'''
STYLE_CONFIRM_IMAGE: str = '''background-color: qlineargradient(x1:0, y1:1, x2:1, y2:1, stop:0 #A0CFA1, stop:1 #4CB378);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
padding: 20px;'''
STYLE_CONFIRM_TEXT: str = '''background-color: qlineargradient(x1:0, y1:1, x2:1, y2:1, stop:0 #A0CFA1, stop:1 #4CB378);
border-radius: 20px;
padding: 20px;
color: white;
font: bold 32px;'''
STYLE_INVALID_TEXT: str = '''background-color: white;
border-radius: 20px;
padding: 20px;
color: red;
font: bold 32px;'''
STYLE_CALLING_TEXT: str = '''background-color: transparent;
color: white;
text-align: center;
font: bold 36px;'''
STYLE_RED_INFO: str = '''background-color: white;
text-align: center;
padding: 20px;
border-radius: 6px;
color: red;
font: bold 20px;'''
STYLE_BUTTON_ON_LIST: str = '''background-color: red;
text-align: left;
border-radius: 6px;
padding-left: 20px;
color: white;
font: bold 20px;'''
STYLE_LIST_UP_TEXT: str = '''text-align: left;
color: black;
font: bold 20px;'''
STYLE_LIST_DOWN_TEXT: str = '''text-align: left;
color: black;
font: 18px;'''
STYLE_LIST_IMAGE: str = '''border-radius: 6px;'''
STYLE_CARD_WIDGET: str = '''background-color: white;
border-radius: 20px;'''
STYLE_RED_BUTTON: str = '''background-color: red;
border-radius: 6px;
padding: 20px;
color: white;
font: bold 28px'''
STYLE_GREEN_BUTTON: str = '''background-color: green;
border-radius: 6px;
padding: 20px;
color: white;
font: bold 28px'''
STYLE_GREEN_BUTTON_FLASH: str = '''background-color: #00EF00;
border-radius: 6px;
padding: 20px;
color: white;
font: bold 28px'''
STYLE_GRAY_BUTTON: str = '''background-color: gray;
border-radius: 6px;
padding: 20px;
color: white;
font: bold 28px'''