Minor tweaks

This commit is contained in:
Sam Potts 2017-11-21 14:05:55 +11:00
parent f518ec108b
commit f33bc5a5c6
9 changed files with 10 additions and 11 deletions

2
demo/dist/demo.css vendored

File diff suppressed because one or more lines are too long

2
demo/dist/error.css vendored

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,6 @@
.button__count {
margin-left: (@spacing-base / 2);
animation: fadein 0.2s ease;
font-weight: @font-weight-medium;
&::before {
content: '';

View File

@ -9,4 +9,4 @@
@border-radius-base: 4px;
// Background
@page-background: linear-gradient(to left top, lighten(@color-brand-primary, 15%), darken(@color-brand-primary, 15%));
@page-background: linear-gradient(to left top, lighten(@color-brand-primary, 10%), darken(@color-brand-primary, 20%));

2
dist/plyr.css vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -272,13 +272,13 @@ const listeners = {
// On click play, pause ore restart
utils.on(wrapper, 'click', () => {
// Touch devices will just show controls (if we're hiding controls)
if (this.config.hideControls && support.touch && !this.media.paused) {
if (this.config.hideControls && support.touch && !this.paused) {
return;
}
if (this.media.paused) {
if (this.paused) {
this.play();
} else if (this.media.ended) {
} else if (this.ended) {
this.restart();
this.play();
} else {

View File

@ -25,7 +25,7 @@
}
&:focus {
.plyr-tab-focus();
outline: 0;
}
}