@@ -16,13 +16,13 @@ body {
16
16
.app__header {
17
17
width : 100% ;
18
18
height : 56px ;
19
- box-shadow : 0 2px 2px 0 rgba (0 , 0 , 0 , .14 ), 0 3px 1px -2px rgba (0 , 0 , 0 , .2 ), 0 1px 5px 0 rgba (0 , 0 , 0 , .12 );
19
+ /* box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);*/
20
20
color : # fff ;
21
21
display : flex;
22
22
-webkit-box-align : center;
23
23
-ms-flex-align : center;
24
24
align-items : center;
25
- background : # 607D8B ;
25
+ /* background: #607D8B;*/
26
26
position : fixed;
27
27
top : 0 ;
28
28
left : 0 ;
31
31
}
32
32
33
33
.app__header-icon {
34
- width : 48px ;
35
- height : 48px ;
36
- margin : 4px ;
34
+ width : 30px ;
35
+ height : 30px ;
37
36
display : -webkit-box;
38
37
display : -ms-flexbox;
39
38
display : flex;
44
43
-ms-flex-pack : center;
45
44
justify-content : center;
46
45
cursor : pointer;
46
+ position : absolute;
47
+ right : 20px ;
48
+ top : 20px ;
47
49
}
48
50
49
51
.app__header-icon : active {
58
60
59
61
.app__layout-content {
60
62
height : inherit;
61
- margin-top : 56px ;
63
+ /* margin-top: 56px;*/
62
64
}
63
65
64
66
.custom-menu-icon {
82
84
height : 56px ;
83
85
outline : none;
84
86
box-shadow : 0 2px 2px 0 rgba (0 , 0 , 0 , .14 ), 0 3px 1px -2px rgba (0 , 0 , 0 , .2 ), 0 1px 5px 0 rgba (0 , 0 , 0 , .12 );
87
+ z-index : 9999 ;
85
88
}
86
89
87
90
.custom-btn : active {
@@ -136,49 +139,49 @@ video {
136
139
137
140
@-webkit-keyframes scanner {
138
141
0% {
139
- bottom : 95 % ;
142
+ bottom : 100 % ;
140
143
}
141
144
50% {
142
- bottom : 5 % ;
145
+ bottom : 0 % ;
143
146
}
144
147
100% {
145
- bottom : 95 % ;
148
+ bottom : 100 % ;
146
149
}
147
150
}
148
151
149
152
@-moz-keyframes scanner {
150
153
0% {
151
- bottom : 90 % ;
154
+ bottom : 100 % ;
152
155
}
153
156
50% {
154
- bottom : 15 % ;
157
+ bottom : 0 % ;
155
158
}
156
159
100% {
157
- bottom : 90 % ;
160
+ bottom : 100 % ;
158
161
}
159
162
}
160
163
161
164
@-o-keyframes scanner {
162
165
0% {
163
- bottom : 90 % ;
166
+ bottom : 100 % ;
164
167
}
165
168
50% {
166
- bottom : 15 % ;
169
+ bottom : 0 % ;
167
170
}
168
171
100% {
169
- bottom : 90 % ;
172
+ bottom : 100 % ;
170
173
}
171
174
}
172
175
173
176
@keyframes scanner {
174
177
0% {
175
- bottom : 90 % ;
178
+ bottom : 100 % ;
176
179
}
177
180
50% {
178
- bottom : 15 % ;
181
+ bottom : 0 % ;
179
182
}
180
183
100% {
181
- bottom : 90 % ;
184
+ bottom : 100 % ;
182
185
}
183
186
}
184
187
@@ -202,111 +205,26 @@ video {
202
205
opacity : 0 ;
203
206
}
204
207
205
- # frame {
206
- width : 100% ;
207
- max-width : 100% ;
208
- }
209
-
210
208
.no-support {
211
209
font-size : 20px ;
212
210
text-align : center;
213
211
}
214
212
215
- .menu {
216
- width : 280px ;
217
- height : 100% ;
218
- background : # fff ;
219
- position : fixed;
220
- top : 0 ;
221
- bottom : 0 ;
222
- box-shadow : 0px 0px 11px 0px rgba (0 , 0 , 0 , 0.4 );
223
- z-index : 1 ;
224
- -webkit-transition : all 200ms cubic-bezier (0 , 0 , 0.30 , 1 );
225
- transition : all 200ms cubic-bezier (0 , 0 , 0.30 , 1 );
226
- -webkit-transform : translateX (-101% );
227
- transform : translateX (-101% );
228
- will-change : transform;
229
- z-index : 11 ;
230
- }
231
-
232
- .menu--show {
233
- -webkit-transform : translateX (0 );
234
- transform : translateX (0 );
235
- }
236
-
237
- .menu__overlay {
238
- width : 100% ;
239
- height : 100% ;
240
- position : fixed;
241
- top : 0 ;
242
- left : 0 ;
243
- right : 0 ;
244
- bottom : 0 ;
245
- background : rgba (0 , 0 , 0 , 0.3 );
246
- -webkit-transition : opacity 0.15s cubic-bezier (0 , 0 , 0.30 , 1 );
247
- transition : opacity 0.15s cubic-bezier (0 , 0 , 0.30 , 1 );
248
- visibility : hidden;
249
- opacity : 0 ;
250
- z-index : 1 ;
251
- }
252
-
253
- .menu__overlay--show {
254
- visibility : visible;
255
- opacity : 1 ;
256
- }
257
-
258
- .menu__header {
259
- height : 150px ;
260
- background : # 1E88E5 ;
261
- color : # fff ;
262
- border-bottom : 1px solid # ddd ;
263
- }
264
-
265
- .menu__title {
266
- padding : 20px ;
267
- margin-top : 0 ;
268
- display : block;
269
- font-weight : 500 ;
270
- height : 120px ;
271
- background : # 607D8B ;
272
- color : # fff ;
273
- padding-top : 40px ;
274
- font-size : 20px ;
275
- }
276
-
277
- .menu__list {
278
- width : inherit;
279
- height : inherit;
280
- overflow : auto;
281
- overflow-x : hidden;
282
- -webkit-overflow-scrolling : touch;
283
- }
284
-
285
- .menu__list li a {
286
- padding : 20px ;
287
- color : rgba (0 , 0 , 0 , 0.87 );
288
- cursor : pointer;
289
- display : block;
290
- text-decoration : none;
291
- }
292
-
293
- .menu__list li a : active ,
294
- .menu__list li a : hover {
295
- background : # e7e7e7 ;
296
- }
297
-
298
213
.app__snackbar {
299
214
position : fixed;
300
215
bottom : 20px ;
301
216
left : 20px ;
302
217
pointer-events : none;
218
+ z-index : 9999 ;
303
219
}
304
220
305
221
.app__snackbar-msg {
306
222
width : 250px ;
307
223
min-height : 50px ;
308
- background : rgba ( 0 , 0 , 0 , 0.99 ) ;
224
+ background-color : # 404040 ;
309
225
color : # fff ;
226
+ border-radius : 3px ;
227
+ box-shadow : 0 0 2px rgba (0 , 0 , 0 , .12 ), 0 2px 4px rgba (0 , 0 , 0 , .24 );
310
228
display : -webkit-box;
311
229
display : -ms-flexbox;
312
230
display : flex;
@@ -325,7 +243,7 @@ video {
325
243
transition : opacity 0.30s cubic-bezier (0 , 0 , 0.30 , 1 ) 0 ;
326
244
text-transform : initial;
327
245
margin-bottom : 10px ;
328
- border-radius : 2 px ;
246
+ z-index : 9999 ;
329
247
}
330
248
331
249
.app__snackbar--hide {
@@ -397,4 +315,83 @@ video {
397
315
398
316
.app__dialog--hide {
399
317
display : none;
400
- }
318
+ }
319
+
320
+ .app__overlay {
321
+ position : fixed;
322
+ top : -56px ;
323
+ bottom : 0 ;
324
+ right : 0 ;
325
+ left : 0 ;
326
+ border-color : rgba (0 , 0 , 0 , 0.33 );
327
+ transition : all 200ms ease-in;
328
+ width : 290px ;
329
+ height : 290px ;
330
+ margin : auto;
331
+ }
332
+
333
+ .app__overlay ::before ,
334
+ .app__overlay-frame ::before ,
335
+ .app__overlay-frame ::after ,
336
+ .app__overlay ::after {
337
+ border : 2px solid # ffffff ;
338
+ content : " " ;
339
+ position : absolute;
340
+ width : 100px ;
341
+ height : 100px ;
342
+ }
343
+
344
+ .app__overlay-frame ::before {
345
+ border-left : 0 ;
346
+ border-bottom : 0 ;
347
+ top : 0 ;
348
+ right : 0 ;
349
+ }
350
+
351
+ .app__overlay ::before {
352
+ border-right : 0 ;
353
+ border-bottom : 0 ;
354
+ top : 0 ;
355
+ left : 0 ;
356
+ }
357
+
358
+ .app__overlay-frame ::after {
359
+ border-top : 0 ;
360
+ border-right : 0 ;
361
+ left : 0 ;
362
+ bottom : 0 ;
363
+ }
364
+
365
+ .app__overlay ::after {
366
+ border-top : 0 ;
367
+ border-left : 0 ;
368
+ right : 0 ;
369
+ bottom : 0 ;
370
+ }
371
+
372
+ .app__help-text {
373
+ color : # fff ;
374
+ position : absolute;
375
+ bottom : -50px ;
376
+ font-size : 19px ;
377
+ left : 0 ;
378
+ right : 0 ;
379
+ text-align : center;
380
+ }
381
+
382
+ .app__dialog-overlay {
383
+ position : fixed;
384
+ left : 0 ;
385
+ right : 0 ;
386
+ bottom : 0 ;
387
+ top : 0 ;
388
+ background : rgba (0 , 0 , 0 , 0.55 );
389
+ z-index : 11 ;
390
+ }
391
+
392
+ .camera__icon ,
393
+ .focus__icon {
394
+ position : relative;
395
+ left : 10px ;
396
+ display : none;
397
+ }
0 commit comments