138 lines
2.8 KiB
SCSS
138 lines
2.8 KiB
SCSS
nb-card {
|
|
height: 80vh;
|
|
//width: 80vw;
|
|
}
|
|
.bossStandImg {
|
|
max-height: 67vh;
|
|
object-fit: contain;
|
|
}
|
|
::ng-deep .bossSpecialRules {
|
|
.MD2Icon {
|
|
font-size: 30px;
|
|
}
|
|
}
|
|
// HP and Mana Bars Overlay
|
|
.hero-stats-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 0.5rem;
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
|
|
border-radius: 0 0 8px 8px;
|
|
z-index: 2;
|
|
width: 95%;
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
padding: 0.35rem;
|
|
}
|
|
}
|
|
|
|
.stat-bar-overlay {
|
|
margin-bottom: 0.5rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
}
|
|
|
|
.stat-bar-label-overlay {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.25rem;
|
|
gap: 0.5rem;
|
|
|
|
md2-icon {
|
|
flex-shrink: 0;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.stat-value-overlay {
|
|
color: white;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
margin-bottom: 0.15rem;
|
|
gap: 0.3rem;
|
|
|
|
md2-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.stat-value-overlay {
|
|
font-size: 0.65rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.stat-progress-bar-overlay {
|
|
width: 100%;
|
|
height: 20px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
height: 16px;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
.stat-progress-fill-overlay {
|
|
height: 100%;
|
|
border-radius: 10px;
|
|
transition: width 0.5s ease-out;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
@media (max-height: 450px) and (orientation: landscape) {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
|
animation: shimmer 2s infinite;
|
|
}
|
|
|
|
&.full-stat {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.hp-fill-overlay {
|
|
background: linear-gradient(90deg, #ff6b6b, #ee5a6f);
|
|
box-shadow: 0 0 8px rgba(238, 90, 111, 0.6);
|
|
}
|
|
|
|
.mp-fill-overlay {
|
|
background: linear-gradient(90deg, #4ecdc4, #44a08d);
|
|
box-shadow: 0 0 8px rgba(68, 160, 141, 0.6);
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|