diff --git a/app/components/ReleasePlayer/MediaPlayer.module.css b/app/components/ReleasePlayer/MediaPlayer.module.css index 6d5ad9b..8773d14 100644 --- a/app/components/ReleasePlayer/MediaPlayer.module.css +++ b/app/components/ReleasePlayer/MediaPlayer.module.css @@ -38,17 +38,8 @@ position: absolute; height: calc(2 * var(--base)); line-height: calc(2 * var(--base)); - bottom: calc(2 * var(--base)); - left: var(--base); - right: var(--base); -} - -.media-skip-bar { - position: absolute; - height: calc(1 * var(--base)); - line-height: calc(2 * var(--base)); bottom: calc(1 * var(--base)); - left: calc(1.25 * var(--base)); + left: var(--base); right: var(--base); } @@ -65,11 +56,6 @@ transition: opacity 0.1s cubic-bezier(0.4, 0, 1, 1); } -.media-skip-bar .media-button { - width: calc(1.5 * var(--base)); - height: calc(1.5 * var(--base)); -} - .svg { fill: none; stroke: var(--_primary-color, #fff); @@ -169,7 +155,7 @@ min-height: var(--media-settings-menu-min-height, 170px); position: absolute; right: 10px; - bottom: calc(4 * var(--base)); + bottom: calc(3 * var(--base)); padding: 0; padding-block: calc(0.15 * var(--base)); padding-inline: calc(0.6 * var(--base)); diff --git a/app/components/ReleasePlayer/ReleasePlayerCustom.tsx b/app/components/ReleasePlayer/ReleasePlayerCustom.tsx index 5a5ae9f..c1fac96 100644 --- a/app/components/ReleasePlayer/ReleasePlayerCustom.tsx +++ b/app/components/ReleasePlayer/ReleasePlayerCustom.tsx @@ -427,6 +427,62 @@ export const ReleasePlayerCustom = (props: { className={`${Styles["media-preview-time-display"]}`} > + +
Вернуться на 10 секунд
+ + + + + + + +
+ +
Пропустить 10 секунд
+ + + + + + + +
- + stroke="#fff" + stroke-linecap="round" + stroke-width="1.5" + > + + + + -
- -
-
- -
-
- -
-
- -
-
-
diff --git a/package-lock.json b/package-lock.json index e5fbd4c..42763d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "0.1.0", "hasInstallScript": true, "dependencies": { - "@iconify-json/hugeicons": "^1.2.4", "apexcharts": "^3.52.0", "deepmerge-ts": "^7.1.0", "flowbite": "^2.4.1", @@ -33,6 +32,7 @@ "@iconify-json/fa6-brands": "^1.1.21", "@iconify-json/material-symbols": "^1.1.83", "@iconify-json/mdi": "^1.1.67", + "@iconify-json/solar": "^1.2.2", "@iconify-json/twemoji": "^1.1.15", "@iconify/tailwind": "^1.1.1", "@types/node": "20.14.12", @@ -262,15 +262,6 @@ "@iconify/types": "*" } }, - "node_modules/@iconify-json/hugeicons": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@iconify-json/hugeicons/-/hugeicons-1.2.4.tgz", - "integrity": "sha512-Rx1I42/wwqNiWx7rdQxtFWWOF1/DT1IMPrNReBVJiZe7NIdGT6Zv6Jw5gayqUtv7lDmE8eRmgd6MYRoVJrbuoA==", - "license": "MIT", - "dependencies": { - "@iconify/types": "*" - } - }, "node_modules/@iconify-json/material-symbols": { "version": "1.2.17", "resolved": "https://registry.npmjs.org/@iconify-json/material-symbols/-/material-symbols-1.2.17.tgz", @@ -291,6 +282,16 @@ "@iconify/types": "*" } }, + "node_modules/@iconify-json/solar": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@iconify-json/solar/-/solar-1.2.2.tgz", + "integrity": "sha512-lcTb6DWL4HZObiY1W3fHfuxxuQHUc6CFHFeywKEx7Ry0k+dU6POZCMC7oVLr0F8vuf+KgaQ3oOoGO/yFzOwrNg==", + "dev": true, + "license": "CC-BY-4.0", + "dependencies": { + "@iconify/types": "*" + } + }, "node_modules/@iconify-json/twemoji": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@iconify-json/twemoji/-/twemoji-1.2.2.tgz", @@ -318,6 +319,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", + "dev": true, "license": "MIT" }, "node_modules/@isaacs/cliui": { diff --git a/package.json b/package.json index d82adcd..cd174cc 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "postinstall": "flowbite-react patch" }, "dependencies": { - "@iconify-json/hugeicons": "^1.2.4", "apexcharts": "^3.52.0", "deepmerge-ts": "^7.1.0", "flowbite": "^2.4.1", @@ -34,6 +33,7 @@ "@iconify-json/fa6-brands": "^1.1.21", "@iconify-json/material-symbols": "^1.1.83", "@iconify-json/mdi": "^1.1.67", + "@iconify-json/solar": "^1.2.2", "@iconify-json/twemoji": "^1.1.15", "@iconify/tailwind": "^1.1.1", "@types/node": "20.14.12", diff --git a/tailwind.config.js b/tailwind.config.js index fbd76c4..d5a11ca 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -14,7 +14,7 @@ module.exports = { ".flowbite-react\\class-list.json" ], plugins: [ - addIconSelectors(["mdi", "material-symbols", "twemoji", "fa6-brands", "hugeicons"]), + addIconSelectors(["mdi", "material-symbols", "twemoji", "fa6-brands", "solar"]), flowbiteReact, require("tailwind-scrollbar") ],