v0.91.0; Fixed template download/conversion corruption
Some checks failed
Bump, Build, Release / update-auto (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Bump, Build, Release / build (push) Has been cancelled
Bump, Build, Release / update-requirements (push) Has been cancelled
Bump, Build, Release / update-wiki (push) Has been cancelled

This commit is contained in:
github-actions[bot] 2026-03-02 03:03:05 +00:00
parent 5b1489e26e
commit 1045f1a7f6
9 changed files with 196 additions and 191 deletions

View file

@ -1,3 +1,131 @@
/* src/WindowFilter.css */
#bm-window-filter p svg {
display: inline;
height: 1em;
fill: white;
}
#bm-filter-flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 1em 3ch;
}
.bm-filter-color {
width: fit-content;
max-width: 35ch;
background-color: rgba(21, 48, 99, 0.9);
border-radius: 1em;
padding: 0.5em;
gap: 1ch;
transition: background-color 0.3s ease;
}
.bm-filter-color:hover,
.bm-filter-color:focus-within {
background-color: rgba(17, 40, 85, 0.9);
}
.bm-filter-container-rgb {
display: block;
border: thick double darkslategray;
width: fit-content;
height: fit-content;
padding: 1ch;
}
.bm-filter-color[data-id="-2"] .bm-filter-container-rgb {
background:
conic-gradient(
#aa0000 0%,
#aaaa00 16.6%,
#00aa00 33.3%,
#00aaaa 50%,
#0000aa 66.6%,
#aa00aa 83.3%,
#aa0000 100%);
}
.bm-filter-color[data-id="-1"] .bm-filter-container-rgb {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 8 8" width="1em" height="1em"><path d="M0,0V8H16V16H8V0" fill="rgba(0,0,0,0.5)"/></svg>') repeat;
background-color: transparent !important;
}
.bm-filter-color[data-id="-1"] .bm-filter-container-rgb svg {
fill: white !important;
}
.bm-filter-color[data-id="0"] .bm-filter-container-rgb {
background-color: transparent !important;
}
#bm-window-filter .bm-filter-container-rgb button {
padding: 0.75em 0.5ch;
}
.bm-filter-container-rgb svg {
width: 4ch;
}
.bm-filter-color > .bm-flex-between {
flex-direction: column;
align-items: flex-start;
gap: 0;
}
.bm-filter-color small {
font-size: 0.75em;
}
#bm-window-filter .bm-filter-color.bm-color-hide {
display: none;
}
.bm-windowed #bm-filter-flex {
flex-direction: column;
gap: 0.25em;
}
.bm-windowed .bm-filter-color {
width: auto;
margin: 0;
padding: 0;
}
.bm-windowed .bm-filter-container-rgb {
display: flex;
width: 100%;
gap: 0.5ch;
align-items: center;
padding: 0.1em 0.5ch;
border: none;
border-radius: 1em;
}
#bm-window-filter.bm-windowed .bm-filter-container-rgb button {
padding: 0.5em 0.25ch;
}
.bm-windowed .bm-filter-container-rgb svg {
width: 3ch;
}
.bm-windowed .bm-filter-color h2 {
font-size: 0.75em;
}
/* src/WindowWizard.css */
#bm-wizard-tlist {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
#bm-wizard-tlist > .bm-container {
width: 100%;
justify-content: flex-start;
background-color: rgba(21, 48, 99, 0.9);
border-radius: 1em;
padding: 0.5em;
transition: background-color 0.3s ease;
}
#bm-wizard-tlist > .bm-container:hover,
#bm-wizard-tlist > .bm-container:focus-within {
background-color: rgba(17, 40, 85, 0.9);
}
#bm-wizard-tlist .bm-wizard-template-container-image {
height: 100%;
font-size: xxx-large;
}
#bm-wizard-tlist .bm-wizard-template-container-flavor {
flex-direction: column;
align-items: flex-start;
gap: 0;
}
/* src/confettiManager.css */
div:has(> confetti-piece) {
position: absolute;
@ -285,132 +413,4 @@ input[type=file] {
font-size: 1em;
}
/* src/WindowFilter.css */
#bm-window-filter p svg {
display: inline;
height: 1em;
fill: white;
}
#bm-filter-flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 1em 3ch;
}
.bm-filter-color {
width: fit-content;
max-width: 35ch;
background-color: rgba(21, 48, 99, 0.9);
border-radius: 1em;
padding: 0.5em;
gap: 1ch;
transition: background-color 0.3s ease;
}
.bm-filter-color:hover,
.bm-filter-color:focus-within {
background-color: rgba(17, 40, 85, 0.9);
}
.bm-filter-container-rgb {
display: block;
border: thick double darkslategray;
width: fit-content;
height: fit-content;
padding: 1ch;
}
.bm-filter-color[data-id="-2"] .bm-filter-container-rgb {
background:
conic-gradient(
#aa0000 0%,
#aaaa00 16.6%,
#00aa00 33.3%,
#00aaaa 50%,
#0000aa 66.6%,
#aa00aa 83.3%,
#aa0000 100%);
}
.bm-filter-color[data-id="-1"] .bm-filter-container-rgb {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 8 8" width="1em" height="1em"><path d="M0,0V8H16V16H8V0" fill="rgba(0,0,0,0.5)"/></svg>') repeat;
background-color: transparent !important;
}
.bm-filter-color[data-id="-1"] .bm-filter-container-rgb svg {
fill: white !important;
}
.bm-filter-color[data-id="0"] .bm-filter-container-rgb {
background-color: transparent !important;
}
#bm-window-filter .bm-filter-container-rgb button {
padding: 0.75em 0.5ch;
}
.bm-filter-container-rgb svg {
width: 4ch;
}
.bm-filter-color > .bm-flex-between {
flex-direction: column;
align-items: flex-start;
gap: 0;
}
.bm-filter-color small {
font-size: 0.75em;
}
#bm-window-filter .bm-filter-color.bm-color-hide {
display: none;
}
.bm-windowed #bm-filter-flex {
flex-direction: column;
gap: 0.25em;
}
.bm-windowed .bm-filter-color {
width: auto;
margin: 0;
padding: 0;
}
.bm-windowed .bm-filter-container-rgb {
display: flex;
width: 100%;
gap: 0.5ch;
align-items: center;
padding: 0.1em 0.5ch;
border: none;
border-radius: 1em;
}
#bm-window-filter.bm-windowed .bm-filter-container-rgb button {
padding: 0.5em 0.25ch;
}
.bm-windowed .bm-filter-container-rgb svg {
width: 3ch;
}
.bm-windowed .bm-filter-color h2 {
font-size: 0.75em;
}
/* src/WindowWizard.css */
#bm-wizard-tlist {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
#bm-wizard-tlist > .bm-container {
width: 100%;
justify-content: flex-start;
background-color: rgba(21, 48, 99, 0.9);
border-radius: 1em;
padding: 0.5em;
transition: background-color 0.3s ease;
}
#bm-wizard-tlist > .bm-container:hover,
#bm-wizard-tlist > .bm-container:focus-within {
background-color: rgba(17, 40, 85, 0.9);
}
#bm-wizard-tlist .bm-wizard-template-container-image {
height: 100%;
font-size: xxx-large;
}
#bm-wizard-tlist .bm-wizard-template-container-flavor {
flex-direction: column;
align-items: flex-start;
gap: 0;
}
/* src/main.css */

View file

@ -2,7 +2,7 @@
// @name Blue Marble
// @name:en Blue Marble
// @namespace https://github.com/SwingTheVine/
// @version 0.90.76
// @version 0.91.0
// @description A userscript to enhance the user experience on Wplace.live. This includes, but is not limited to: uploading images to display locally on a canvas, adding a button to move the Wplace color palette menu, and other QoL features.
// @description:en A userscript to enhance the user experience on Wplace.live. This includes, but is not limited to: uploading images to display locally on a canvas, adding a button to move the Wplace color palette menu, and other QoL features.
// @author SwingTheVine

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2,51 +2,56 @@
"bm-wizard-template-container-flavor": "bm-0",
"bm-wizard-template-container-image": "bm-1",
"bm-filter-sort-secondary": "bm-2",
"bm-filter-tot-remaining": "bm-3",
"bm-filter-tot-completed": "bm-4",
"bm-filter-container-rgb": "bm-5",
"bm-filter-sort-primary": "bm-6",
"bm-filter-tot-correct": "bm-7",
"bm-filter-show-unused": "bm-8",
"bm-button-hover-white": "bm-9",
"bm-button-hover-black": "bm-a",
"bm-center-vertically": "bm-b",
"bm-filter-tile-load": "bm-c",
"bm-filter-tot-total": "bm-d",
"bm-window-telemetry": "bm-e",
"bm-window-content": "bm-f",
"bm-display-coords": "bm-g",
"bm-user-nextlevel": "bm-h",
"bm-output-status": "bm-i",
"bm-window-wizard": "bm-j",
"bm-button-circle": "bm-k",
"bm-wizard-status": "bm-l",
"bm-window-filter": "bm-m",
"bm-user-droplets": "bm-n",
"bm-wizard-tlist": "bm-o",
"bm-flex-between": "bm-p",
"bm-filter-color": "bm-q",
"bm-button-trans": "bm-r",
"bm-input-coords": "bm-s",
"bm-window-main": "bm-t",
"bm-flex-center": "bm-u",
"bm-filter-flex": "bm-v",
"bm-button-move": "bm-w",
"bm-scrollable": "bm-x",
"bm-color-hide": "bm-y",
"bm-button-pin": "bm-z",
"bm-input-file": "bm-A",
"bm-container": "bm-B",
"bm-dragging": "bm-C",
"bm-input-px": "bm-D",
"bm-input-py": "bm-E",
"bm-input-tx": "bm-F",
"bm-input-ty": "bm-G",
"bm-dragbar": "bm-H",
"bm-favicon": "bm-I",
"bm-window": "bm-J",
"bm-cStyle": "bm-K",
"bm-timer": "bm-L",
"bm-help": "bm-M",
"bm-name": "bm-N"
"bm-filter-color-pxl-desc": "bm-3",
"bm-filter-tot-remaining": "bm-4",
"bm-filter-tot-completed": "bm-5",
"bm-filter-color-pxl-cnt": "bm-6",
"bm-filter-container-rgb": "bm-7",
"bm-filter-sort-primary": "bm-8",
"bm-filter-tot-correct": "bm-9",
"bm-filter-show-unused": "bm-a",
"bm-button-hover-white": "bm-b",
"bm-button-hover-black": "bm-c",
"bm-center-vertically": "bm-d",
"bm-filter-tile-load": "bm-e",
"bm-filter-tot-total": "bm-f",
"bm-window-telemetry": "bm-g",
"bm-window-content": "bm-h",
"bm-window-credits": "bm-i",
"bm-display-coords": "bm-j",
"bm-user-nextlevel": "bm-k",
"bm-output-status": "bm-l",
"bm-window-wizard": "bm-m",
"bm-button-circle": "bm-n",
"bm-wizard-status": "bm-o",
"bm-window-filter": "bm-p",
"bm-user-droplets": "bm-q",
"bm-wizard-tlist": "bm-r",
"bm-flex-between": "bm-s",
"bm-filter-color": "bm-t",
"bm-button-trans": "bm-u",
"bm-input-coords": "bm-v",
"bm-window-main": "bm-w",
"bm-flex-center": "bm-x",
"bm-filter-flex": "bm-y",
"bm-button-move": "bm-z",
"bm-scrollable": "bm-A",
"bm-color-hide": "bm-B",
"bm-button-pin": "bm-C",
"bm-input-file": "bm-D",
"bm-container": "bm-E",
"bm-dragging": "bm-F",
"bm-windowed": "bm-G",
"bm-input-px": "bm-H",
"bm-input-py": "bm-I",
"bm-input-tx": "bm-J",
"bm-input-ty": "bm-K",
"bm-dragbar": "bm-L",
"bm-favicon": "bm-M",
"bm-window": "bm-N",
"bm-cStyle": "bm-O",
"bm-timer": "bm-P",
"bm-ascii": "bm-Q",
"bm-help": "bm-R",
"bm-name": "bm-S"
}

File diff suppressed because one or more lines are too long

View file

@ -45,16 +45,16 @@
</table>
<h1>Blue Marble</h1>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Latest Version" src="https://img.shields.io/badge/Latest_Version-0.90.0-lightblue?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Latest Version" src="https://img.shields.io/badge/Latest_Version-0.91.0-lightblue?style=flat"></a>
<a href="https://github.com/SwingTheVine/Wplace-BlueMarble/releases" target="_blank" rel="noopener noreferrer"><img alt="Latest Release" src="https://img.shields.io/github/v/release/SwingTheVine/Wplace-BlueMarble?sort=semver&style=flat&label=Latest%20Release&color=blue"></a>
<a href="https://github.com/SwingTheVine/Wplace-BlueMarble/blob/main/LICENSE.txt" target="_blank" rel="noopener noreferrer"><img alt="Software License: MPL-2.0" src="https://img.shields.io/badge/Software_License-MPL--2.0-slateblue?style=flat"></a>
<a href="https://discord.gg/tpeBPy46hf" target="_blank" rel="noopener noreferrer"><img alt="Contact Me" src="https://img.shields.io/badge/Contact_Me-gray?style=flat&logo=Discord&logoColor=white&logoSize=auto&labelColor=cornflowerblue"></a>
<a href="https://bluemarble.lol/" target="_blank" rel="noopener noreferrer"><img alt="Blue Marble Website" src="https://img.shields.io/badge/Blue_Marble_Website-crqch-blue?style=flat&logo=globe&logoColor=white"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="WakaTime" src="https://img.shields.io/badge/Coding_Time-212hrs_17mins-blue?style=flat&logo=wakatime&logoColor=black&logoSize=auto&labelColor=white"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Total Patches" src="https://img.shields.io/badge/Total_Patches-1115-black?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Total Lines of Code" src="https://img.shields.io/badge/Lines_Of_Code-5908-blue?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Total Comments" src="https://img.shields.io/badge/Lines_Of_Comments-5160-blue?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Compression" src="https://img.shields.io/badge/Compression-73.34%25-blue"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Total Lines of Code" src="https://img.shields.io/badge/Lines_Of_Code-6620-blue?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Total Comments" src="https://img.shields.io/badge/Lines_Of_Comments-5414-blue?style=flat"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Compression" src="https://img.shields.io/badge/Compression-71.85%25-blue"></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Repo Size" src="https://img.shields.io/github/repo-size/SwingTheVine/Wplace-BlueMarble"></a>
<a href="https://hits.sh/github.com/SwingTheVine/Wplace-BlueMarble/" target="_blank" rel="noopener"><img alt="Views" src="https://hits.sh/github.com/SwingTheVine/Wplace-BlueMarble.svg?label=Views&extraCount=664359&color=ffffff"/></a>
<a href="" target="_blank" rel="noopener noreferrer"><img alt="Downloads" src="https://img.shields.io/github/downloads/SwingTheVine/Wplace-BlueMarble/total.svg"></a>

View file

@ -1,6 +1,6 @@
{
"name": "wplace-bluemarble",
"version": "0.90.76",
"version": "0.91.0",
"type": "module",
"homepage": "https://bluemarble.lol/",
"repository": {

View file

@ -2,14 +2,14 @@
// @name Blue Marble
// @name:en Blue Marble
// @namespace https://github.com/SwingTheVine/
// @version 0.90.76
// @version 0.91.0
// @description A userscript to enhance the user experience on Wplace.live. This includes, but is not limited to: uploading images to display locally on a canvas, adding a button to move the Wplace color palette menu, and other QoL features.
// @description:en A userscript to enhance the user experience on Wplace.live. This includes, but is not limited to: uploading images to display locally on a canvas, adding a button to move the Wplace color palette menu, and other QoL features.
// @author SwingTheVine
// @license MPL-2.0
// @supportURL https://discord.gg/tpeBPy46hf
// @homepageURL https://bluemarble.lol/
// @icon https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/ffa17bc9a7c2db10efc201437dbf1637e11a6f61/dist/assets/Favicon.png
// @icon https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/78477321232b29c09e3794c360068d7d23a0172c/dist/assets/Favicon.png
// @updateURL https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/main/dist/BlueMarble.user.js
// @downloadURL https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/main/dist/BlueMarble.user.js
// @match https://wplace.live/*
@ -21,7 +21,7 @@
// @grant GM_xmlhttpRequest
// @grant GM.download
// @connect telemetry.thebluecorner.net
// @resource CSS-BM-File https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/ffa17bc9a7c2db10efc201437dbf1637e11a6f61/dist/BlueMarble.user.css
// @resource CSS-BM-File https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/78477321232b29c09e3794c360068d7d23a0172c/dist/BlueMarble.user.css
// @antifeature tracking Anonymous opt-in telemetry data
// @noframes
// ==/UserScript==