-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
183 lines (156 loc) · 3.8 KB
/
styles.css
File metadata and controls
183 lines (156 loc) · 3.8 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
.marker {
display: inline-block;
pointer-events: auto;
padding: 3px 2px 3px 2px;
box-sizing: content-box;
}
.marker .content {
background-color: var(--bg);
border: 3px solid var(--border);
border-radius: 5px;
padding: 1px 1px;
text-align: center;
color: var(--text);
font-size: 14px;
font-weight: bold;
display: inline-flex;
align-items: center;
justify-content: center;
z-index: 2;
position: relative;
min-width: 30px;
min-height: 30px;
}
.marker .text {
white-space: nowrap;
}
.marker .corner {
position: absolute;
z-index: 1;
}
.corner.top-left {
top: -6px;
left: 0px;
}
.corner.top-right {
top: -6px;
right: 0px;
}
.corner.bottom-left {
bottom: -6px;
left: 0px;
}
.corner.bottom-right {
bottom: -6px;
right: 0px;
}
.corner.bottom {
bottom: -8px;
left: 50%;
transform: translateX(-50%);
}
.venue-marker {
width: 40px;
height: 40px;
min-width: 40px;
min-height: 40px;
background-color: var(--marker-bg);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
pointer-events: auto;
box-sizing: border-box;
}
.venue-marker .venue-icon {
display: block;
pointer-events: none;
}
.update-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #161A1F;
z-index: 10000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.update-overlay.visible {
opacity: 1;
}
.update-logo {
width: 120px;
height: 120px;
border-radius: 50%;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
margin-bottom: 40px;
animation: logoFloat 2s ease-in-out infinite alternate;
}
.update-spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(214, 67, 32, 0.3);
border-top: 3px solid #D64320;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes logoFloat {
0% { transform: translateY(0px); }
100% { transform: translateY(-10px); }
}
/* Toast Message Styles */
.toast-message {
/* Layout - wrap content with line clamping like Android maxLines */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5; /* Equivalent to maxLines = 5 in Android Compose */
text-align: center;
font-weight: 500;
font-size: 16px;
font-family: Arial, sans-serif;
line-height: 1.4;
/* Text handling */
overflow: hidden;
word-wrap: break-word;
word-break: break-word;
/* Use CSS custom properties for dynamic theming */
background-color: var(--toast-bg, #4A4A4A);
color: var(--toast-text, #FFFFFF);
border: var(--toast-border-width, 1px) solid var(--toast-border, transparent);
border-radius: var(--toast-corner-radius, 8px);
min-height: var(--toast-min-height, 40px);
padding: var(--toast-padding-v, 10px) var(--toast-padding-h, 16px);
/* Shadow/elevation effect */
box-shadow: 0 var(--toast-elevation, 2px) calc(var(--toast-elevation, 2px) * 2) rgba(0, 0, 0, 0.2);
/* Override HtmlView sizing - force wrap content */
width: auto !important;
height: auto !important;
max-width: min(400px, 90vw); /* Reasonable max width */
max-height: none;
box-sizing: border-box;
/* Transform HtmlView position from top-left to center-bottom */
transform: translate(-50%, -100%);
margin: 0 !important;
/* Layout */
z-index: 1000;
/* Smooth transitions */
transition: all 0.2s ease-in-out;
}