[Client] 🎨
This commit is contained in:
		
							parent
							
								
									a3f799ca48
								
							
						
					
					
						commit
						6665233c00
					
				
					 3 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -26,6 +26,7 @@
 | 
			
		|||
				width 100%
 | 
			
		||||
				height 100%
 | 
			
		||||
				background rgba(0, 0, 0, 0.1)
 | 
			
		||||
				opacity 0
 | 
			
		||||
 | 
			
		||||
			> .popover
 | 
			
		||||
				position absolute
 | 
			
		||||
| 
						 | 
				
			
			@ -130,9 +131,16 @@
 | 
			
		|||
				this.refs.popover.style.top = y + 'px';
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			anime({
 | 
			
		||||
				targets: this.refs.backdrop,
 | 
			
		||||
				opacity: 1,
 | 
			
		||||
				duration: 100,
 | 
			
		||||
				easing: 'linear'
 | 
			
		||||
			});
 | 
			
		||||
 | 
			
		||||
			anime({
 | 
			
		||||
				targets: this.refs.popover,
 | 
			
		||||
				opacity: [0, 1],
 | 
			
		||||
				opacity: 1,
 | 
			
		||||
				scale: [0.5, 1],
 | 
			
		||||
				duration: 500
 | 
			
		||||
			});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,7 +64,7 @@
 | 
			
		|||
				targets: this.root,
 | 
			
		||||
				opacity: 1,
 | 
			
		||||
				easing: 'linear',
 | 
			
		||||
				duration: 50
 | 
			
		||||
				duration: 100
 | 
			
		||||
			});
 | 
			
		||||
		});
 | 
			
		||||
	</script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue