Created
April 18, 2013 22:07
-
-
Save alexkravets/5416629 to your computer and use it in GitHub Desktop.
SCSS for the Sencha Youtube component (https://gist.github.com/alexkravets/5416594) to support play overlay and some styling.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.x-youtube { | |
&:after { content: ''; | |
display: block; | |
position: absolute; | |
width:100%; | |
height:100%; | |
background: url('../images/[email protected]') no-repeat center; | |
background-size: 58px 58px; | |
} | |
&.x-youtube-overlay { | |
&:after { background-color: rgba(0,0,0,0.5); | |
} | |
} | |
&.x-youtube-loading { | |
&:after { background-image: none; | |
} | |
} | |
iframe { border: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment