This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 21
21
max-width : 400px ;
22
22
max-height : 540px ;
23
23
margin : 0 auto;
24
+ -webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 );
25
+ -webkit-touch-callout : none;
24
26
}
25
27
</ style >
26
28
</ head >
43
45
right : 0 ;
44
46
bottom : 0 ;
45
47
left : 0 ;
46
- z-index : 1 ;
47
48
}
48
49
# list {
49
50
position : absolute;
57
58
-webkit-transition : opacity 0.3s ease-in;
58
59
transition : opacity 0.3s ease-in;
59
60
}
61
+ .panel-selected {
62
+ z-index : 1 ;
63
+ }
60
64
# cards , # folders {
61
65
overflow : auto;
62
66
-webkit-overflow-scrolling : touch;
193
197
this . alphaContacts = alphaContacts ( ) ;
194
198
this . expandTransitionEndListener = this . exapndTransitionEnd . bind ( this ) ;
195
199
this . shrinkTransitionEndListener = this . shrinkTransitionEnd . bind ( this ) ;
200
+ this . listShowingChanged ( ) ;
196
201
} ,
197
202
folderTap : function ( e , detail , sender ) {
198
203
this . expandAction ( sender ) ;
234
239
this . $ . list . removeEventListener ( 'transitionend' , this . shrinkTransitionEndListener ) ;
235
240
this . $ . home . style . visibility = 'visible' ;
236
241
this . $ . list . style . visibility = 'hidden' ;
237
-
242
+ } ,
243
+ listShowingChanged : function ( ) {
244
+ this . $ . home . classList . toggle ( 'panel-selected' , ! this . listShowing ) ;
245
+ this . $ . list . classList . toggle ( 'panel-selected' , this . listShowing ) ;
238
246
}
239
247
} ) ;
240
248
</ script >
You can’t perform that action at this time.
0 commit comments