@@ -16,13 +16,13 @@ body {
1616.app__header {
1717 width : 100% ;
1818 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);*/
2020 color : # fff ;
2121 display : flex;
2222 -webkit-box-align : center;
2323 -ms-flex-align : center;
2424 align-items : center;
25- background : # 607D8B ;
25+ /* background: #607D8B;*/
2626 position : fixed;
2727 top : 0 ;
2828 left : 0 ;
3131}
3232
3333.app__header-icon {
34- width : 48px ;
35- height : 48px ;
36- margin : 4px ;
34+ width : 30px ;
35+ height : 30px ;
3736 display : -webkit-box;
3837 display : -ms-flexbox;
3938 display : flex;
4443 -ms-flex-pack : center;
4544 justify-content : center;
4645 cursor : pointer;
46+ position : absolute;
47+ right : 20px ;
48+ top : 20px ;
4749}
4850
4951.app__header-icon : active {
5860
5961.app__layout-content {
6062 height : inherit;
61- margin-top : 56px ;
63+ /* margin-top: 56px;*/
6264}
6365
6466.custom-menu-icon {
8284 height : 56px ;
8385 outline : none;
8486 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 ;
8588}
8689
8790.custom-btn : active {
@@ -136,49 +139,49 @@ video {
136139
137140@-webkit-keyframes scanner {
138141 0% {
139- bottom : 95 % ;
142+ bottom : 100 % ;
140143 }
141144 50% {
142- bottom : 5 % ;
145+ bottom : 0 % ;
143146 }
144147 100% {
145- bottom : 95 % ;
148+ bottom : 100 % ;
146149 }
147150}
148151
149152@-moz-keyframes scanner {
150153 0% {
151- bottom : 90 % ;
154+ bottom : 100 % ;
152155 }
153156 50% {
154- bottom : 15 % ;
157+ bottom : 0 % ;
155158 }
156159 100% {
157- bottom : 90 % ;
160+ bottom : 100 % ;
158161 }
159162}
160163
161164@-o-keyframes scanner {
162165 0% {
163- bottom : 90 % ;
166+ bottom : 100 % ;
164167 }
165168 50% {
166- bottom : 15 % ;
169+ bottom : 0 % ;
167170 }
168171 100% {
169- bottom : 90 % ;
172+ bottom : 100 % ;
170173 }
171174}
172175
173176@keyframes scanner {
174177 0% {
175- bottom : 90 % ;
178+ bottom : 100 % ;
176179 }
177180 50% {
178- bottom : 15 % ;
181+ bottom : 0 % ;
179182 }
180183 100% {
181- bottom : 90 % ;
184+ bottom : 100 % ;
182185 }
183186}
184187
@@ -202,111 +205,26 @@ video {
202205 opacity : 0 ;
203206}
204207
205- # frame {
206- width : 100% ;
207- max-width : 100% ;
208- }
209-
210208.no-support {
211209 font-size : 20px ;
212210 text-align : center;
213211}
214212
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-
298213.app__snackbar {
299214 position : fixed;
300215 bottom : 20px ;
301216 left : 20px ;
302217 pointer-events : none;
218+ z-index : 9999 ;
303219}
304220
305221.app__snackbar-msg {
306222 width : 250px ;
307223 min-height : 50px ;
308- background : rgba ( 0 , 0 , 0 , 0.99 ) ;
224+ background-color : # 404040 ;
309225 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 );
310228 display : -webkit-box;
311229 display : -ms-flexbox;
312230 display : flex;
@@ -325,7 +243,7 @@ video {
325243 transition : opacity 0.30s cubic-bezier (0 , 0 , 0.30 , 1 ) 0 ;
326244 text-transform : initial;
327245 margin-bottom : 10px ;
328- border-radius : 2 px ;
246+ z-index : 9999 ;
329247}
330248
331249.app__snackbar--hide {
@@ -397,4 +315,83 @@ video {
397315
398316.app__dialog--hide {
399317 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