diff --git a/bin/build-template-html.js b/bin/build-template-html.js index c3ab5e8d..2c573ae4 100644 --- a/bin/build-template-html.js +++ b/bin/build-template-html.js @@ -24,7 +24,7 @@ const builders = [ rebuild: buildInlineScript }, { - watch: 'src/bin/svgs.js', + watch: 'bin/svgs.js', comment: '', rebuild: buildSvg } diff --git a/bin/svgs.js b/bin/svgs.js index 8b2b3724..0962d371 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -36,5 +36,10 @@ module.exports = [ { id: 'fa-times', src: 'src/thirdparty/font-awesome-svg-png/white/svg/times.svg' }, { id: 'fa-volume-off', src: 'src/thirdparty/font-awesome-svg-png/white/svg/volume-off.svg' }, { id: 'fa-volume-up', src: 'src/thirdparty/font-awesome-svg-png/white/svg/volume-up.svg' }, - { id: 'fa-link', src: 'src/thirdparty/font-awesome-svg-png/white/svg/link.svg' } + { id: 'fa-link', src: 'src/thirdparty/font-awesome-svg-png/white/svg/link.svg' }, + { id: 'fa-circle', src: 'src/thirdparty/font-awesome-svg-png/white/svg/circle.svg' }, + { id: 'fa-circle-o', src: 'src/thirdparty/font-awesome-svg-png/white/svg/circle-o.svg' }, + { id: 'fa-angle-left', src: 'src/thirdparty/font-awesome-svg-png/white/svg/angle-left.svg' }, + { id: 'fa-angle-right', src: 'src/thirdparty/font-awesome-svg-png/white/svg/angle-right.svg' } + ] diff --git a/src/routes/_components/IconButton.html b/src/routes/_components/IconButton.html index ff7d65e3..9655db07 100644 --- a/src/routes/_components/IconButton.html +++ b/src/routes/_components/IconButton.html @@ -99,6 +99,22 @@ fill: var(--action-button-deemphasized-fill-color-pressed-active); } + /* + * disable the separate press color (noPressColor) + */ + .icon-button.pressed.no-press-color .icon-button-svg { + fill: var(--action-button-fill-color); + } + + .icon-button.pressed.no-press-color:hover .icon-button-svg { + fill: var(--action-button-fill-color-hover); + } + + .icon-button.pressed.no-press-color:active .icon-button-svg { + fill: var(--action-button-fill-color-active); + } + + diff --git a/src/routes/_components/dialog/components/MediaDialog.html b/src/routes/_components/dialog/components/MediaDialog.html new file mode 100644 index 00000000..e5bd0044 --- /dev/null +++ b/src/routes/_components/dialog/components/MediaDialog.html @@ -0,0 +1,214 @@ + +
+
+ {#each mediaItems as media} +
+
+
+ +
+
+
+ {/each} +
+ {#if dots.length > 1} +
+ + {#each dots as dot, i (dot.i)} + + {/each} + +
+ {/if} +
+ + +
+ + diff --git a/src/routes/_components/dialog/components/MediaInDialog.html b/src/routes/_components/dialog/components/MediaInDialog.html new file mode 100644 index 00000000..08b514c3 --- /dev/null +++ b/src/routes/_components/dialog/components/MediaInDialog.html @@ -0,0 +1,52 @@ +{#if type === 'video'} +