Compare commits

...

1 Commits

Author SHA1 Message Date
王性驊 00862de989 good version 2025-11-23 02:22:32 +08:00
2 changed files with 5 additions and 22 deletions

View File

@ -90,16 +90,17 @@ defineEmits(['clean', 'medicine', 'sleep', 'inventory']);
0px 4px 0 #ff4444, 0px 6px 0 #ff4444; 0px 4px 0 #ff4444, 0px 6px 0 #ff4444;
} }
/* Sleep Icon (Light Bulb/燈泡) */ /* Sleep Icon (Light Bulb/燈泡) - Enhanced */
.icon-sleep::before { .icon-sleep::before {
content: ''; content: '';
position: absolute; position: absolute;
width: 2px; width: 2px;
height: 2px; height: 2px;
background: #ffd700; /* 燈泡顏色 */ background: transparent;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
box-shadow: box-shadow:
/* 燈泡主體 (圓形) */ /* 燈泡主體 (圓形) */
-2px -6px 0 #ffd700, 0px -6px 0 #ffd700, 2px -6px 0 #ffd700, -2px -6px 0 #ffd700, 0px -6px 0 #ffd700, 2px -6px 0 #ffd700,

View File

@ -177,12 +177,6 @@
</div> </div>
</div> </div>
<!-- 關燈黑色遮罩 (原本 PrayerMenu 的位置) -->
<div
v-if="state === 'sleep'"
class="dark-overlay-fullscreen"
></div>
<!-- Jiaobei Animation (覆蓋遊戲區域) --> <!-- Jiaobei Animation (覆蓋遊戲區域) -->
<JiaobeiAnimation <JiaobeiAnimation
v-if="showJiaobeiAnimation" v-if="showJiaobeiAnimation"
@ -1636,7 +1630,7 @@ defineExpose({
50% { opacity: 1; } 50% { opacity: 1; }
} }
/* Dark Overlay (關燈效果 - 覆蓋整個遊戲容器) */ /* Dark Overlay (關燈效果 - 只在遊戲區域top menu 和 bottom menu 之間) */
.dark-overlay { .dark-overlay {
position: absolute; position: absolute;
top: 0; top: 0;
@ -1646,19 +1640,7 @@ defineExpose({
background: #000; background: #000;
z-index: 7; /* Above poop (5), Below ZZZ (10) */ z-index: 7; /* Above poop (5), Below ZZZ (10) */
pointer-events: none; pointer-events: none;
border-radius: 10px; /* 與螢幕邊框一致 */ border-radius: 10px; /* Match screen border */
}
/* Fullscreen Dark Overlay (原本 PrayerMenu 的位置) */
.dark-overlay-fullscreen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 100; /* Same as PrayerMenu was */
pointer-events: none;
} }
/* Sleep ZZZ */ /* Sleep ZZZ */