forked from Rockachopa/Timmy-time-dashboard
285 lines
4.8 KiB
CSS
285 lines
4.8 KiB
CSS
/* Workshop 3D scene overlay styles */
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
background: #0a0a14;
|
|
font-family: "Courier New", monospace;
|
|
color: #e0e0e0;
|
|
touch-action: none;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
}
|
|
|
|
#overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
#status {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 16px;
|
|
font-size: 14px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
#status .name {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #daa520;
|
|
}
|
|
|
|
#status .mood {
|
|
font-size: 13px;
|
|
color: #aaa;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#speech-area {
|
|
position: absolute;
|
|
bottom: 24px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
max-width: 480px;
|
|
width: 90%;
|
|
text-align: center;
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
color: #ccc;
|
|
opacity: 0;
|
|
transition: opacity 0.4s ease;
|
|
}
|
|
|
|
#speech-area.visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
#speech-area .bubble {
|
|
background: rgba(10, 10, 20, 0.85);
|
|
border: 1px solid rgba(218, 165, 32, 0.3);
|
|
border-radius: 8px;
|
|
padding: 12px 20px;
|
|
}
|
|
|
|
#connection-dot {
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 16px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #555;
|
|
}
|
|
|
|
#connection-dot.connected {
|
|
background: #00b450;
|
|
}
|
|
|
|
/* Info button */
|
|
.info-button {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 36px;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0;
|
|
background: rgba(10, 10, 20, 0.7);
|
|
border: 1px solid rgba(218, 165, 32, 0.4);
|
|
border-radius: 50%;
|
|
color: #daa520;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info-button:hover {
|
|
background: rgba(218, 165, 32, 0.15);
|
|
border-color: rgba(218, 165, 32, 0.7);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.info-button svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* About Panel */
|
|
.about-panel {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 100;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
}
|
|
|
|
.about-panel.open {
|
|
pointer-events: auto;
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.about-panel-content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 380px;
|
|
max-width: 90%;
|
|
height: 100%;
|
|
background: rgba(10, 10, 20, 0.97);
|
|
border-left: 1px solid rgba(218, 165, 32, 0.3);
|
|
padding: 60px 24px 24px 24px;
|
|
overflow-y: auto;
|
|
transform: translateX(100%);
|
|
transition: transform 0.3s ease;
|
|
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.about-panel.open .about-panel-content {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.about-close {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 1px solid rgba(160, 160, 160, 0.3);
|
|
border-radius: 50%;
|
|
color: #aaa;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.about-close:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(218, 165, 32, 0.5);
|
|
color: #daa520;
|
|
}
|
|
|
|
.about-close svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.about-panel-content h2 {
|
|
font-size: 20px;
|
|
color: #daa520;
|
|
margin-bottom: 24px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.about-panel-content section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.about-panel-content h3 {
|
|
font-size: 14px;
|
|
color: #e0e0e0;
|
|
margin-bottom: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.about-panel-content p {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: #aaa;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.about-panel-content ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.about-panel-content li {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
color: #aaa;
|
|
margin-bottom: 8px;
|
|
padding-left: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.about-panel-content li::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 0;
|
|
color: #daa520;
|
|
}
|
|
|
|
.about-panel-content li strong {
|
|
color: #ccc;
|
|
}
|
|
|
|
.about-footer {
|
|
margin-top: 32px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(160, 160, 160, 0.2);
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.about-panel.open .about-backdrop {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Mobile adjustments */
|
|
@media (max-width: 480px) {
|
|
.about-panel-content {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding: 56px 20px 20px 20px;
|
|
}
|
|
|
|
.info-button {
|
|
right: 32px;
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
.info-button svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
}
|