102 lines
1.9 KiB
CSS
102 lines
1.9 KiB
CSS
.game-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.85);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
backdrop-filter: blur(2px);
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.game-modal-container {
|
|
background: #1a1a1a;
|
|
border: 1px solid #333;
|
|
/* border-radius: 8px; REMOVED */
|
|
clip-path: var(--game-clip-path);
|
|
width: 90%;
|
|
/* Default width */
|
|
max-width: 600px;
|
|
max-height: 90vh;
|
|
min-height: 400px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
|
animation: slideUp 0.3s ease-out;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.game-modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 20px;
|
|
border-bottom: 1px solid #333;
|
|
background: linear-gradient(to bottom, #252525, #1a1a1a);
|
|
/* border-radius: 8px 8px 0 0; REMOVED */
|
|
}
|
|
|
|
.game-modal-title {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.game-modal-close-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #888;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
padding: 0;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.game-modal-close-btn:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.game-modal-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.game-modal-footer {
|
|
padding: 15px 20px;
|
|
border-top: 1px solid #333;
|
|
background: #151515;
|
|
/* border-radius: 0 0 8px 8px; REMOVED */
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(20px);
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
} |