Files
BreakEscape/css/lockpick-set-minigame.css

287 lines
6.4 KiB
CSS

/* Lockpick Set Minigame Styles */
.lockpick-set-minigame-container {
/* Compact interface similar to other minigames */
position: fixed !important;
top: 5vh !important;
right: 2vw !important;
width: 350px !important;
height: auto !important;
max-height: 60vh !important;
background: linear-gradient(135deg, #1a2e1a 0%, #163e16 50%, #0f600f 100%) !important;
box-shadow: 0 0 20px rgba(76, 175, 80, 0.3), inset 0 0 10px rgba(76, 175, 80, 0.1) !important;
border: 4px solid #4caf50 !important;
clip-path: polygon(
0px calc(100% - 10px),
2px calc(100% - 10px),
2px calc(100% - 6px),
4px calc(100% - 6px),
4px calc(100% - 4px),
6px calc(100% - 4px),
6px calc(100% - 2px),
10px calc(100% - 2px),
10px 100%,
calc(100% - 10px) 100%,
calc(100% - 10px) calc(100% - 2px),
calc(100% - 6px) calc(100% - 2px),
calc(100% - 6px) calc(100% - 4px),
calc(100% - 4px) calc(100% - 4px),
calc(100% - 4px) calc(100% - 6px),
calc(100% - 2px) calc(100% - 6px),
calc(100% - 2px) calc(100% - 10px),
100% calc(100% - 10px),
100% 10px,
calc(100% - 2px) 10px,
calc(100% - 2px) 6px,
calc(100% - 4px) 6px,
calc(100% - 4px) 4px,
calc(100% - 6px) 4px,
calc(100% - 6px) 2px,
calc(100% - 10px) 2px,
calc(100% - 10px) 0px,
10px 0px,
10px 2px,
6px 2px,
6px 4px,
4px 4px,
4px 6px,
2px 6px,
2px 10px,
0px 10px
) !important;
color: #e0e0e0 !important;
overflow: hidden !important;
transition: all 0.3s ease !important;
}
.lockpick-set-minigame-container.expanded {
width: 450px !important;
max-height: 70vh !important;
}
.lockpick-set-minigame-game-container {
width: 100% !important;
height: 100% !important;
max-width: none !important;
background: transparent !important;
border-radius: 0 !important;
box-shadow: none !important;
position: relative !important;
overflow: visible !important;
display: flex !important;
flex-direction: column !important;
padding: 15px !important;
box-sizing: border-box !important;
}
/* Lockpick Header */
.lockpick-set-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
padding: 10px;
background: rgba(76, 175, 80, 0.1);
border: 1px solid #4caf50;
/* border-radius: 6px; */
box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}
.lockpick-set-title {
display: flex;
align-items: center;
gap: 8px;
font-size: 18px;
font-weight: bold;
color: #4caf50;
text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
.lockpick-icon {
height: 24px;
filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.5));
image-rendering: pixelated;
}
.lockpick-set-status {
display: flex;
align-items: center;
gap: 6px;
font-size: 18px;
color: #4caf50;
}
.lockpick-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: #4caf50;
box-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
animation: pulse 2s infinite;
}
.lockpick-indicator.active {
background: #4caf50;
}
.lockpick-indicator.inactive {
background: #f44336;
animation: none;
}
@keyframes pulse {
0% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
100% { opacity: 1; transform: scale(1); }
}
/* Expand/Collapse Toggle */
.lockpick-expand-toggle {
position: absolute;
top: 10px;
left: 10px;
width: 24px;
height: 24px;
background: rgba(76, 175, 80, 0.2);
border: 1px solid #4caf50;
/* border-radius: 4px; */
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: #4caf50;
transition: all 0.3s ease;
z-index: 10;
}
.lockpick-expand-toggle:hover {
background: rgba(76, 175, 80, 0.3);
box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}
.lockpick-expand-toggle.expanded {
transform: rotate(180deg);
}
/* Search Room Button */
.lockpick-search-room-container {
margin-bottom: 15px;
display: flex;
justify-content: center;
padding: 10px;
background: rgba(76, 175, 80, 0.1);
/* border-radius: 6px; */
box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}
/* Action Buttons */
.lockpick-action-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
background: rgba(76, 175, 80, 0.2);
border: 1px solid #4caf50;
/* border-radius: 6px; */
color: #4caf50;
font-size: 18px;
cursor: pointer;
transition: all 0.3s ease;
user-select: none;
}
.lockpick-action-btn:hover {
background: rgba(76, 175, 80, 0.3);
box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
transform: translateY(-1px);
}
.lockpick-action-btn.active {
background: rgba(255, 193, 7, 0.3);
border-color: #ffc107;
color: #ffc107;
box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}
.lockpick-action-btn .btn-icon {
font-size: 18px;
}
.lockpick-action-btn .btn-text {
font-weight: bold;
}
/* Instructions */
.lockpick-set-instructions {
margin-top: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid #444;
/* border-radius: 6px; */
font-size: 18px;
line-height: 1.4;
color: #ccc;
transition: all 0.3s ease;
}
.lockpick-set-minigame-container:not(.expanded) .lockpick-set-instructions {
display: none;
}
.instruction-text {
color: #aaa;
}
.instruction-text strong {
color: #4caf50;
}
/* Responsive Design */
@media (max-width: 768px) {
.lockpick-set-minigame-container {
top: 2vh !important;
right: 2vw !important;
left: 2vw !important;
width: 96vw !important;
max-width: 400px !important;
}
.lockpick-set-minigame-container.expanded {
width: 96vw !important;
max-width: 500px !important;
}
.lockpick-set-title {
font-size: 18px;
}
.lockpick-action-btn {
justify-content: center;
padding: 6px 10px;
font-size: 18px;
}
.lockpick-expand-toggle {
width: 20px;
height: 20px;
font-size: 10px;
}
}
/* Animation for new highlights */
@keyframes lockpickAppear {
0% {
opacity: 0;
transform: translateX(-20px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
.lockpick-indicator.new-highlight {
animation: lockpickAppear 0.5s ease-out;
}