diff --git a/resources/assets/snippets/nyan-cat-progress-bar.gif b/resources/assets/snippets/nyan-cat-progress-bar.gif new file mode 100644 index 00000000..a77564f5 Binary files /dev/null and b/resources/assets/snippets/nyan-cat-progress-bar.gif differ diff --git a/resources/snippets.json b/resources/snippets.json index 27843245..1dabf708 100644 --- a/resources/snippets.json +++ b/resources/snippets.json @@ -424,5 +424,11 @@ "description": "Converts the cover art of the currently playing song to a slowly spinning CD.", "code": "@keyframes rotating {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}.cover-art {animation: rotating 360s linear infinite;clip-path: circle(50% at 50% 50%);position: relative;}.cover-art::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 22%;height: 22%;background: radial-gradient( circle at center, rgba(24, 22, 35, 0.9) 0%, rgba(24, 22, 35, 0.9) 38%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.1) 40%, rgba(24, 22, 35, 0.9) 40%, rgba(24, 22, 35, 0.9) 100% ), repeating-radial-gradient( circle at center, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 4px );border-radius: 50%;pointer-events: none;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 20px rgba(255, 255, 255, 0.1);}.cover-art::before {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 6%;height: 6%;background: rgba(24, 22, 35, 1);border-radius: 50%;box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);z-index: 1;}", "preview": "resources/assets/snippets/Spinning-CD-Cover-Art.jpg" + }, + { + "title": "Nyan Cat Progress Bar", + "description": "Changes your playback progress bar to Nyan cat flying through space on a rainbow.", + "code": ".playback-bar .x-progressBar-fillColor {\n background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMCAIAAAAs6UAAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZ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D0iciI/PovDFgYAAAAmSURBVHjaYvjPwMAAxjMZmBhA9H8INv4P4TPM/A+m04zBNECAAQBCWQv9SUQpVgAAAABJRU5ErkJggg==')\n repeat-x !important;\n background: linear-gradient(\n to bottom,\n #ff0000 0%,\n #ff0000 16.5%,\n #ff9900 16.5%,\n #ff9900 33%,\n #ffff00 33%,\n #ffff00 50%,\n #33ff00 50%,\n #33ff00 66%,\n #0099ff 66%,\n #0099ff 83.5%,\n #6633ff 83.5%,\n #6633ff 100%\n ) !important;\n width: 100% !important;\n}\n\n.playback-bar .x-progressBar-progressBarBg {\n background: url('data:image/gif;base64,R0lGODlhMAAMAIAAAAxBd////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgAAACwAAAAAMAAMAAACJYSPqcvtD6MKstpLr24Z9A2GYvJ544mhXQmxoesElIyCcB3dRgEAIfkEBAoAAAAsAQACAC0ACgAAAiGEj6nLHG0enNQdWbPefOHYhSLydVhJoSYXPO04qrAmJwUAIfkEBAoAAAAsBQABACkACwAAAiGEj6nLwQ8jcC5ViW3evHt1GaE0flxpphn6BNTEqvI8dQUAIfkEBAoAAAAsAQABACoACwAAAiGEj6nLwQ+jcU5VidPNvPtvad0GfmSJeicUUECbxnK0RgUAIfkEBAoAAAAsAAAAACcADAAAAiCEj6mbwQ+ji5QGd6t+c/v2hZzYiVpXmuoKIikLm6hXAAAh+QQECgAAACwAAAAALQAMAAACI4SPqQvBD6NysloTXL480g4uX0iW1Wg21oem7ismLUy/LFwAACH5BAQKAAAALAkAAAAkAAwAAAIghI8Joe0Po0yBWTaz3g/z7UXhMX7kYmplmo0rC8cyUgAAIfkEBAoAAAAsBQAAACUACgAAAh2Ejwmh7Q+jbIFZNrPeEXPudU74IVa5kSiYqOtRAAAh+QQECgAAACwEAAAAIgAKAAACHISPELfpD6OcqTGKs4bWRp+B36YFi0mGaVmtWQEAIfkEBAoAAAAsAAAAACMACgAAAh2EjxC36Q+jnK8xirOW1kavgd+2BYtJhmnpiGtUAAAh+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F4bbCeRk1meBJYSL3WbaReMIxQfHXh6jaYXsbEQni6oaF21ERR7l0ksvA0JACH5BAkHAAcALAAAAAAiABUAAAOeeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMfFlA4hTITEMxkIBMOuADwmhzqeM6mashTCXKw2TVKQyKuTRSx2wegnNkyJ1ozpOFiMLqcEU8BZHx6NYW8nVlZefQ1tZgQBAXJIi1eHUTRwi0lhl48QL0sogxaGDhMlUo2gh14fHhcVmnOrrxNqrU9joX21Q0IUElm7DQkAOw==') !important;\n width: 34px !important;\n height: 21px !important;\n border: none !important;\n margin-left: -18px !important;\n margin-top: 0px !important;\n visibility: visible !important;\n display: block !important;\n transform: translateY(-50%) scale(0.8);\n border-radius: 0 !important;\n box-shadow: none !important;\n transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.playback-bar .progress-bar__slider::after {\n display: none !important;\n}\n\n.playback-bar .progress-bar {\n --progress-bar-height: 8px !important;\n}\n\n.playback-bar\n :is(\n .playback-progressbar-isInteractive .progress-bar--isDragging,\n .playback-progressbar-isInteractive .progress-bar:focus,\n .playback-progressbar-isInteractive .progress-bar:hover,\n .playback-progressbar-isInteractive:focus-within\n ) {\n --progress-bar-height: 12px !important;\n}\n\n.playback-bar\n :is(\n .x-progressBar-progressBarBg,\n .x-progressBar-sliderArea,\n .x-progressBar-fillColor\n ) {\n transition: height 0.1s cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.playback-bar\n :is(\n .playback-progressbar-isInteractive .progress-bar--isDragging,\n .playback-progressbar-isInteractive .progress-bar:focus,\n .playback-progressbar-isInteractive .progress-bar:hover,\n .playback-progressbar-isInteractive:focus-within\n )\n .progress-bar__slider {\n image-rendering: pixelated !important;\n transform: translateY(-50%) scale(1) !important;\n}\n\n/* uncomment if you use text theme, for time readability */\n/* .playback-bar__progress-time-elapsed,\n.main-playbackBarRemainingTime-container {\n mix-blend-mode: normal !important;\n background: rgba(var(--spice-rgb-main), 0.8) !important;\n box-shadow: 0 0 16px 8px var(--spice-main) !important;\n} */", + "preview": "resources/assets/snippets/nyan-cat-progress-bar.gif" } ]