v3.3.0
This commit is contained in:
		@ -29,6 +29,7 @@
 | 
			
		||||
    button {
 | 
			
		||||
        font: inherit;
 | 
			
		||||
        line-height: inherit;
 | 
			
		||||
        width: auto;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Ignore focus
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										22
									
								
								src/sass/components/poster.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/sass/components/poster.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
			
		||||
// --------------------------------------------------------------
 | 
			
		||||
// Faux poster overlay
 | 
			
		||||
// --------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
.plyr__poster {
 | 
			
		||||
    background-color: #000;
 | 
			
		||||
    background-position: 50% 50%;
 | 
			
		||||
    background-repeat: no-repeat;
 | 
			
		||||
    background-size: 100% 100%;
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    left: 0;
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    transition: opacity 0.3s ease;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    z-index: 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.plyr--stopped .plyr__poster {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
}
 | 
			
		||||
@ -32,6 +32,7 @@
 | 
			
		||||
@import 'components/embed';
 | 
			
		||||
@import 'components/menus';
 | 
			
		||||
@import 'components/progress';
 | 
			
		||||
@import 'components/poster';
 | 
			
		||||
@import 'components/sliders';
 | 
			
		||||
@import 'components/times';
 | 
			
		||||
@import 'components/tooltips';
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user