调节最大化按钮样式

This commit is contained in:
JoyD
2025-10-29 22:35:18 +08:00
parent fbe39759f0
commit 82ab7fdd7b

View File

@@ -63,14 +63,10 @@
</button>
<button class="p-[2px] rounded hover:opacity-100 opacity-80" @click="maximizePanel(panel.id)" aria-label="最大化">
<svg class="icon-square-svg" width="11" height="11" viewBox="0 0 11 11" aria-hidden="true">
<!-- 外框与底色边框为1 -->
<!-- 外框与底色仅1px边框 -->
<rect x="0.5" y="0.5" width="10" height="10" fill="#cbd6ff" stroke="#8ea3d8" stroke-width="1" />
<!-- 内框细边边框为1 -->
<rect x="2.5" y="2.5" width="6" height="6" fill="none" stroke="#b8c6ff" stroke-width="1" />
<!-- 上行1/5高度约1px颜色保持浅蓝 -->
<rect x="3" y="3" width="5" height="1" fill="#b8c6ff" />
<!-- 下行4/5高度约5px颜色为标题栏色 -->
<rect x="3" y="4" width="5" height="5" fill="#435d9c" />
<!-- 两行填充上行1px浅蓝下行标题栏色 -->
<rect x="1" y="3" width="8.5" height="6.5" fill="#435d9c" />
</svg>
</button>
<button class="p-[2px] rounded hover:opacity-100 opacity-80" @click="closePanel(panel.id)" aria-label="关闭">