diff options
author | Sam Potts <sam@potts.es> | 2020-04-24 00:22:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 00:22:39 +1000 |
commit | 68137aa789b195b26d4306eaebc7fee2f8eb3374 (patch) | |
tree | 8c38683d043fdfbe8b1dcb385a446de4df7396a1 /src/sass/components/poster.scss | |
parent | dbe618c644a525b196466b7254274cc9bde76275 (diff) | |
parent | 2458eaa11b5c2805bcf1e5349ab900485bac325f (diff) | |
download | plyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.tar.lz plyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.tar.xz plyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.zip |
Merge pull request #1770 from sampotts/css-variables
Allow customization via CSS Custom Properties
Diffstat (limited to 'src/sass/components/poster.scss')
-rw-r--r-- | src/sass/components/poster.scss | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss index 9b239d4f..2e966a32 100644 --- a/src/sass/components/poster.scss +++ b/src/sass/components/poster.scss @@ -3,20 +3,20 @@ // -------------------------------------------------------------- .plyr__poster { - background-color: #000; - background-position: 50% 50%; - background-repeat: no-repeat; - background-size: contain; - height: 100%; - left: 0; - opacity: 0; - position: absolute; - top: 0; - transition: opacity 0.2s ease; - width: 100%; - z-index: 1; + background-color: #000; + background-position: 50% 50%; + background-repeat: no-repeat; + background-size: contain; + height: 100%; + left: 0; + opacity: 0; + position: absolute; + top: 0; + transition: opacity 0.2s ease; + width: 100%; + z-index: 1; } .plyr--stopped.plyr__poster-enabled .plyr__poster { - opacity: 1; + opacity: 1; } |