diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/plyr.js | 6 | ||||
-rw-r--r-- | src/less/plyr.less | 6 | ||||
-rw-r--r-- | src/less/variables.less | 6 |
3 files changed, 10 insertions, 8 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index 392185dd..a63c4fa0 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -3094,7 +3094,7 @@ utils.off(container, utils.transitionEnd, restore) } - // Listen for the transtion finishing and restore auto height/width + // Listen for the transition finishing and restore auto height/width utils.on(container, utils.transitionEnd, restore); // Set dimensions to target @@ -3525,7 +3525,7 @@ } // Listen for control events - function controlListeners() { + function listeners() { // IE doesn't support input event, so we fallback to change var inputEvent = (player.browser.isIE ? 'change' : 'input'); @@ -4068,7 +4068,7 @@ injectControls(); // Re-attach listeners - controlListeners(); + listeners(); } // If there's no controls, bail diff --git a/src/less/plyr.less b/src/less/plyr.less index fed7348f..a829da74 100644 --- a/src/less/plyr.less +++ b/src/less/plyr.less @@ -30,7 +30,7 @@ max-width: 100%; min-width: 200px; font-family: @plyr-font-family; - font-weight: 500; + font-weight: @plyr-font-weight-normal; direction: ltr; & when (@plyr-border-box = true) { @@ -546,7 +546,7 @@ width: 100%; padding: @plyr-control-padding (@plyr-control-padding * 2); color: @plyr-menu-color; - font-weight: 600; + font-weight: @plyr-font-weight-bold; user-select: none; &::after { @@ -614,7 +614,7 @@ color: fade(@plyr-menu-color, 80%); .plyr__badge { - font-weight: 600; + font-weight: @plyr-font-weight-bold; } } } diff --git a/src/less/variables.less b/src/less/variables.less index dd862f3f..39a083a3 100644 --- a/src/less/variables.less +++ b/src/less/variables.less @@ -9,12 +9,14 @@ @plyr-sr-only-important: true; // Colors -@plyr-color-main: #20d193; +@plyr-color-main: #1aafff; // Font -@plyr-font-family: Avenir, 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; +@plyr-font-family: inherit; //Avenir, 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; @plyr-font-size-small: 14px; @plyr-font-size-base: 16px; +@plyr-font-weight-normal: 400; +@plyr-font-weight-bold: 600; // Captions @plyr-captions-bg: fade(#000, 60%); |