mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(icons): use icon exports in ejected skins (#1489)
This commit is contained in:
@@ -60,9 +60,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelBackward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="${cn(button.base, button.subtle, button.icon)}">
|
||||
<span class="${iconContainer}">
|
||||
@@ -70,9 +68,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelForward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="${time.controls}">
|
||||
@@ -94,9 +90,7 @@ function getTemplateHTML() {
|
||||
<div class="${buttonGroup}">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="${cn(button.base, button.subtle, button.icon, playbackRate.button)}">
|
||||
</media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="audio-volume-popover" class="${cn(button.base, button.subtle, button.icon, iconState.mute.button)}">
|
||||
${renderIcon('volume-off', { class: cn(icon, iconState.mute.volumeOff) })}
|
||||
|
||||
@@ -44,9 +44,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-tooltip">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="media-button media-button--subtle media-button--icon media-button--seek">
|
||||
<span class="media-icon__container">
|
||||
@@ -54,9 +52,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-tooltip">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="media-time-controls">
|
||||
@@ -78,9 +74,7 @@ function getTemplateHTML() {
|
||||
<div class="media-button-group">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="media-button media-button--subtle media-button--icon media-button--playback-rate">
|
||||
</media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-tooltip">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="audio-volume-popover" class="media-button media-button--subtle media-button--icon media-button--mute">
|
||||
${renderIcon('volume-off', { class: 'media-icon media-icon--volume-off' })}
|
||||
|
||||
@@ -60,9 +60,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelBackward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="${cn(button.base, button.subtle, button.icon)}">
|
||||
<span class="${iconContainer}">
|
||||
@@ -70,9 +68,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelForward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="${time.group}">
|
||||
@@ -89,9 +85,7 @@ function getTemplateHTML() {
|
||||
|
||||
<div class="${buttonGroup}">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="${cn(button.base, button.subtle, button.icon, playbackRate.button)}"></media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="audio-volume-popover" class="${cn(button.base, button.subtle, button.icon, iconState.mute.button)}">
|
||||
${renderIcon('volume-off', { class: cn(icon, iconState.mute.volumeOff) })}
|
||||
|
||||
@@ -44,9 +44,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="media-button media-button--subtle media-button--icon media-button--seek">
|
||||
<span class="media-icon__container">
|
||||
@@ -54,9 +52,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="media-time-controls">
|
||||
@@ -73,9 +69,7 @@ function getTemplateHTML() {
|
||||
|
||||
<div class="media-button-group">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="media-button media-button--subtle media-button--icon media-button--playback-rate"></media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="audio-volume-popover" class="media-button media-button--subtle media-button--icon media-button--mute">
|
||||
${renderIcon('volume-off', { class: 'media-icon media-icon--volume-off' })}
|
||||
|
||||
@@ -67,9 +67,7 @@ function getTemplateHTML() {
|
||||
${renderIcon('captions-off', { class: 'media-icon media-icon--captions-off' })}
|
||||
${renderIcon('captions-on', { class: 'media-icon media-icon--captions-on' })}
|
||||
</media-captions-button>
|
||||
<media-tooltip id="captions-tooltip" side="top" class="media-tooltip">
|
||||
Toggle captions
|
||||
</media-tooltip>
|
||||
<media-tooltip id="captions-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-cast-button commandfor="cast-tooltip" class="media-button media-button--subtle media-button--icon media-button--cast">
|
||||
${renderIcon('cast-enter', { class: 'media-icon media-icon--cast-enter' })}
|
||||
|
||||
@@ -73,9 +73,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelBackward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="${cn(button.base, button.subtle, button.icon)}">
|
||||
<span class="${iconContainer}">
|
||||
@@ -83,9 +81,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelForward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="${time.controls}">
|
||||
@@ -115,9 +111,7 @@ function getTemplateHTML() {
|
||||
<div class="${buttonGroupEnd}">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="${cn(button.base, button.subtle, button.icon, playbackRate.button)}">
|
||||
</media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="video-volume-popover" class="${cn(button.base, button.subtle, button.icon, iconState.mute.button)}">
|
||||
${renderIcon('volume-off', { class: cn(icon, iconState.mute.volumeOff) })}
|
||||
|
||||
@@ -52,9 +52,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-tooltip">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="media-button media-button--subtle media-button--icon media-button--seek">
|
||||
<span class="media-icon__container">
|
||||
@@ -62,9 +60,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-tooltip">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="media-time-controls">
|
||||
@@ -93,9 +89,7 @@ function getTemplateHTML() {
|
||||
|
||||
<div class="media-button-group">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="media-button media-button--subtle media-button--icon media-button--playback-rate"></media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-tooltip">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="video-volume-popover" class="media-button media-button--subtle media-button--icon media-button--mute">
|
||||
${renderIcon('volume-off', { class: 'media-icon media-icon--volume-off' })}
|
||||
@@ -116,9 +110,7 @@ function getTemplateHTML() {
|
||||
${renderIcon('captions-off', { class: 'media-icon media-icon--captions-off' })}
|
||||
${renderIcon('captions-on', { class: 'media-icon media-icon--captions-on' })}
|
||||
</media-captions-button>
|
||||
<media-tooltip id="captions-tooltip" side="top" class="media-tooltip">
|
||||
Toggle captions
|
||||
</media-tooltip>
|
||||
<media-tooltip id="captions-tooltip" side="top" class="media-tooltip"></media-tooltip>
|
||||
|
||||
<media-cast-button commandfor="cast-tooltip" class="media-button media-button--subtle media-button--icon media-button--cast">
|
||||
${renderIcon('cast-enter', { class: 'media-icon media-icon--cast-enter' })}
|
||||
|
||||
@@ -75,9 +75,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelBackward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="${cn(button.base, button.subtle, button.icon)}">
|
||||
<span class="${iconContainer}">
|
||||
@@ -85,9 +83,7 @@ function getTemplateHTML() {
|
||||
<span class="${cn(seek.label, seek.labelForward)}">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="${time.group}">
|
||||
@@ -110,9 +106,7 @@ function getTemplateHTML() {
|
||||
|
||||
<div class="${buttonGroupEnd}">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="${cn(button.base, button.subtle, button.icon, playbackRate.button)}"></media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="${cn(popup.tooltip)}"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="video-volume-popover" class="${cn(button.base, button.subtle, button.icon, iconState.mute.button)}">
|
||||
${renderIcon('volume-off', { class: cn(icon, iconState.mute.volumeOff) })}
|
||||
|
||||
@@ -54,9 +54,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Seek backward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-backward-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
|
||||
<media-seek-button commandfor="seek-forward-tooltip" seconds="${SEEK_TIME}" class="media-button media-button--subtle media-button--icon media-button--seek">
|
||||
<span class="media-icon__container">
|
||||
@@ -64,9 +62,7 @@ function getTemplateHTML() {
|
||||
<span class="media-icon__label">${SEEK_TIME}</span>
|
||||
</span>
|
||||
</media-seek-button>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Seek forward ${SEEK_TIME} seconds
|
||||
</media-tooltip>
|
||||
<media-tooltip id="seek-forward-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
</div>
|
||||
|
||||
<div class="media-time-controls">
|
||||
@@ -89,9 +85,7 @@ function getTemplateHTML() {
|
||||
|
||||
<div class="media-button-group">
|
||||
<media-playback-rate-button commandfor="playback-rate-tooltip" class="media-button media-button--subtle media-button--icon media-button--playback-rate"></media-playback-rate-button>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-surface media-tooltip">
|
||||
Toggle playback rate
|
||||
</media-tooltip>
|
||||
<media-tooltip id="playback-rate-tooltip" side="top" class="media-surface media-tooltip"></media-tooltip>
|
||||
|
||||
<media-mute-button commandfor="video-volume-popover" class="media-button media-button--subtle media-button--icon media-button--mute">
|
||||
${renderIcon('volume-off', { class: 'media-icon media-icon--volume-off' })}
|
||||
|
||||
Reference in New Issue
Block a user