83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
Inventory {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 96vh;
|
|
width: 30%;
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 24px;
|
|
background: linear-gradient(135deg, #0a1a2b 0%, #08111f 100%);
|
|
border: 3px solid #2a3d54;
|
|
border-radius: 14px;
|
|
font-family: 'Orbitron', 'Poppins', sans-serif;
|
|
z-index: 100;
|
|
overflow: hidden;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.inventory-panel {
|
|
overflow-y: scroll;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
//background-color: rgba(255, 0, 0, 0.1);
|
|
}
|
|
|
|
.inventory-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 2px solid #2a3d54;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.inventory-title {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.inventory-slots {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.inventory-slots {
|
|
font-size: 14px;
|
|
color: #a0b4c8;
|
|
text-align: center;
|
|
}
|
|
|
|
.inventory-usage-bar {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: rgba(42, 61, 84, 0.5);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
border: 1px solid #2a3d54;
|
|
}
|
|
|
|
.inventory-usage-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
|
|
transition: width 0.3s ease;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.inventory-empty {
|
|
text-align: center;
|
|
color: #a0b4c8;
|
|
font-style: italic;
|
|
padding: 40px 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hidden {
|
|
opacity: 0;
|
|
} |