feat: Pixel art ocean buttons and scrollbar-gutter stable
- FAB button: night ocean pixel art with stars, moon, waves, seaweed, coral - Send button: daytime ocean pixel art with sun, clouds, fish, sand - Scrollbar hides with chrome using scrollbar-gutter: stable to prevent content shift
This commit is contained in:
@@ -803,6 +803,7 @@ onBeforeUnmount(() => {
|
||||
padding-top: 5rem !important;
|
||||
padding-bottom: 3.5rem !important;
|
||||
flex: 1 !important;
|
||||
scrollbar-gutter: stable !important;
|
||||
}
|
||||
|
||||
.content :deep(.chat-title-row) {
|
||||
@@ -861,6 +862,17 @@ onBeforeUnmount(() => {
|
||||
/* Pixel art scrollbar */
|
||||
.content :deep(.messages-scroll)::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
transition: opacity 0.35s ease;
|
||||
}
|
||||
|
||||
/* Idle: hide scrollbar visuals (gutter stays via scrollbar-gutter: stable) */
|
||||
.aero-win:not(.chrome-visible) .content :deep(.messages-scroll)::-webkit-scrollbar-track {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.aero-win:not(.chrome-visible) .content :deep(.messages-scroll)::-webkit-scrollbar-thumb {
|
||||
background: transparent !important;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.content :deep(.messages-scroll)::-webkit-scrollbar-track {
|
||||
@@ -913,15 +925,29 @@ onBeforeUnmount(() => {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Send button: pixel art daytime ocean, no border */
|
||||
.content :deep(.send-btn) {
|
||||
background: rgba(14, 165, 233, 0.2);
|
||||
border-radius: 0;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
background:
|
||||
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' shape-rendering='crispEdges'%3E%3Crect width='28' height='6' fill='%2387ceeb'/%3E%3Crect y='6' width='28' height='4' fill='%2356b3d9'/%3E%3Crect y='10' width='28' height='4' fill='%232d9abf'/%3E%3Crect y='14' width='28' height='4' fill='%231a7fa5'/%3E%3Crect y='18' width='28' height='4' fill='%23106888'/%3E%3Crect y='22' width='28' height='6' fill='%23c2b280'/%3E%3Crect x='24' y='4' width='3' height='3' fill='%23fffde0' opacity='0.8'/%3E%3Crect x='25' y='3' width='2' height='1' fill='%23fffde0' opacity='0.5'/%3E%3Crect x='2' y='5' width='4' height='2' fill='white' opacity='0.35'/%3E%3Crect x='10' y='4' width='6' height='2' fill='white' opacity='0.25'/%3E%3Crect x='20' y='6' width='3' height='1' fill='white' opacity='0.2'/%3E%3Crect x='5' y='12' width='3' height='2' fill='%23f97316' opacity='0.7'/%3E%3Crect x='4' y='13' width='1' height='1' fill='%23fdba74' opacity='0.5'/%3E%3Crect x='18' y='16' width='2' height='1' fill='%232563eb' opacity='0.5'/%3E%3Crect x='20' y='16' width='1' height='1' fill='%2393c5fd' opacity='0.4'/%3E%3Crect x='8' y='18' width='1' height='1' fill='white' opacity='0.2'/%3E%3Crect x='22' y='12' width='1' height='1' fill='white' opacity='0.2'/%3E%3Crect x='14' y='20' width='1' height='1' fill='white' opacity='0.15'/%3E%3Crect x='3' y='23' width='4' height='3' fill='%23059669' opacity='0.5'/%3E%3Crect x='4' y='22' width='2' height='1' fill='%2310b981' opacity='0.4'/%3E%3Crect x='20' y='24' width='3' height='2' fill='%23059669' opacity='0.4'/%3E%3Crect x='12' y='25' width='3' height='2' fill='%23ec4899' opacity='0.45'/%3E%3Crect x='13' y='24' width='2' height='1' fill='%23f472b6' opacity='0.35'/%3E%3C/svg%3E") !important;
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
color: white !important;
|
||||
image-rendering: pixelated;
|
||||
box-shadow: none !important;
|
||||
transition: color 0.15s ease !important;
|
||||
}
|
||||
|
||||
.content :deep(.send-btn:hover:not(:disabled)) {
|
||||
background: rgba(14, 165, 233, 0.35);
|
||||
color: #fffde0 !important;
|
||||
filter: none !important;
|
||||
box-shadow: 0 0 12px rgba(135, 206, 235, 0.5), 0 0 4px rgba(255, 253, 224, 0.3) !important;
|
||||
}
|
||||
|
||||
.content :deep(.send-btn:disabled) {
|
||||
opacity: 0.25 !important;
|
||||
filter: saturate(0.3) !important;
|
||||
}
|
||||
|
||||
/* Selection bar */
|
||||
|
||||
Reference in New Issue
Block a user