This commit is contained in:
33333-33333 2026-06-24 18:49:17 +09:00
commit d875df8600
22 changed files with 625 additions and 496 deletions

View file

@ -216,7 +216,7 @@ h1 {
width: min(440px, 100%);
max-height: calc(100vh - 36px);
overflow: auto;
border-radius: 16px;
border-radius: 12px;
padding: 16px;
background: rgba(255, 252, 245, 0.96);
border: 1px solid rgba(84,68,48,0.16);
@ -309,7 +309,7 @@ h1 {
color: white;
padding: 10px 16px;
border-radius: 999px;
font-size: 14px;
font-size: 12px;
pointer-events: none;
opacity: 1;
transition: opacity 200ms ease, transform 200ms ease;
@ -346,59 +346,83 @@ h1 {
.tool-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0,1fr));
grid-template-columns: repeat(3, minmax(0,1fr));
gap: 8px;
}
.tool {
border-radius: 14px;
display: flex;
align-items: center;
gap: 7px;
justify-content: flex-start;
padding: 8px 8px 8px 42px;
--tool-main-icon-size: 34px;
--tool-watermark-size: 0px;
border-radius: 12px;
display: grid;
grid-template-rows: 31px minmax(1.05em, auto);
align-items: start;
justify-items: center;
gap: 1px;
padding: 4px 5px 5px;
min-height: 46px;
font-size: 12px;
line-height: 1.08;
letter-spacing: -0.015em;
text-align: center;
position: relative;
overflow: hidden;
background-repeat: no-repeat;
background-position: 7px center, center;
background-size: 30px 30px, cover;
background-position: center 4px, center;
background-size: var(--tool-main-icon-size) var(--tool-main-icon-size), cover;
}
.tool::before {
content: "";
position: absolute;
left: 7px;
top: 50%;
width: 30px;
height: 30px;
transform: translateY(-50%);
left: 50%;
top: 4px;
width: var(--tool-main-icon-size);
height: var(--tool-main-icon-size);
transform: translateX(-50%);
background: var(--tool-icon) center / contain no-repeat;
opacity: 0.92;
opacity: 0.98;
z-index: 1;
filter: drop-shadow(0 2px 3px rgba(52,40,26,0.12));
}
.tool::after {
content: "";
position: absolute;
inset: 0;
background: var(--tool-icon) right -8px center / 54px 54px no-repeat;
opacity: 0.10;
background: none;
display: none;
pointer-events: none;
z-index: 0;
}
.tool-label {
position: relative;
z-index: 2;
display: block;
grid-row: 2;
align-self: start;
max-width: 100%;
min-width: 0;
overflow-wrap: anywhere;
font-size: 12px;
line-height: 1.12;
font-weight: 700;
text-shadow: 0 1px 0 rgba(255,255,255,0.62);
}
.tool.tool-has-canvas-icon { padding-left: 42px; --tool-icon: none; }
.tool.tool-has-canvas-icon { --tool-icon: none; grid-template-rows: 42px minmax(1.05em, auto); min-height: 58px; padding-top: 2px; }
.tool.tool-has-canvas-icon::before,
.tool.tool-has-canvas-icon::after { background: none !important; }
.tool-sprite-preview {
position: absolute;
left: 3px;
top: 50%;
width: 36px;
height: 36px;
transform: translateY(-50%);
left: 50%;
top: -2px;
width: 56px;
height: 56px;
transform: translateX(-50%);
pointer-events: none;
z-index: 1;
filter: drop-shadow(0 2px 3px rgba(52,40,26,0.12));
}
.tool > span:not(.tool-size-badge) { display: none; }
.tool-sprite-watermark { display: none !important; }
.tool[data-tool="observe"] { --tool-icon: url("../assets/ui/tool_observe.webp"); }
.tool[data-tool="zunchi"] { --tool-icon: url("../assets/ui/tool_zunchi.webp"); }
.tool[data-tool="sweet"] { --tool-icon: url("../assets/ui/tool_sweet.webp"); }
@ -443,7 +467,7 @@ h1 {
.signboard-editor.hidden { display: none; }
.signboard-editor-panel {
width: min(220px, calc(100vw - 28px));
border-radius: 18px;
border-radius: 12px;
padding: 14px;
background: linear-gradient(180deg, rgba(255,253,247,0.98), rgba(245,237,221,0.96));
border: 1px solid rgba(94, 70, 42, 0.20);