diff options
author | Sam Potts <sam@potts.es> | 2018-01-22 23:15:10 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-01-22 23:15:10 +1100 |
commit | 5671235fd93eac4554d2c522461df813b589a7f4 (patch) | |
tree | 4278b90afa91cb8237b9faa5e50909c4ea832fc6 /src/sass/plugins | |
parent | 1dd5c9efd92bddff8b3ecb04ef53775c3c9b5b04 (diff) | |
download | plyr-5671235fd93eac4554d2c522461df813b589a7f4.tar.lz plyr-5671235fd93eac4554d2c522461df813b589a7f4.tar.xz plyr-5671235fd93eac4554d2c522461df813b589a7f4.zip |
Formatting, events and ad countdown added
Diffstat (limited to 'src/sass/plugins')
-rw-r--r-- | src/sass/plugins/ads.scss | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index 18be5736..60751851 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -14,16 +14,20 @@ &::after { background: rgba($plyr-color-gunmetal, 0.8); border-radius: 2px; - bottom: ($plyr-control-spacing * 2); + bottom: $plyr-control-spacing; color: #fff; content: attr(data-badge-text); - font-size: $plyr-font-size-captions-small; + font-size: 10px; padding: 2px 6px; pointer-events: none; position: absolute; - right: ($plyr-control-spacing * 2); + right: $plyr-control-spacing; z-index: 3; } + + &::after:empty { + display: none; + } } // Advertisement cue's for the progress bar. |