swb_hud/hitmarker.cs.scss
$scale: 1.75;
hitmarker {
position: absolute;
left: 50%;
top: 50%;
.fadeOut {
opacity: 0;
}
marker {
opacity: 1;
transition: opacity 0.2s ease-in 0s;
.leftTopBar {
top: -10px;
left: -16px;
width: 10px;
height: 1px;
transform: rotate(45deg);
&:intro {
transform: scale($scale) rotate(45deg);
}
}
.leftBottomBar {
top: 10px;
left: -16px;
width: 10px;
height: 1px;
transform: rotate(-45deg);
&:intro {
transform: scale($scale) rotate(-45deg);
}
}
.rightTopBar {
top: -10px;
left: 6px;
width: 10px;
height: 1px;
transform: rotate(-45deg);
&:intro {
transform: scale($scale) rotate(-45deg);
}
}
.rightBottomBar {
top: 10px;
left: 6px;
width: 10px;
height: 1px;
transform: rotate(45deg);
&:intro {
transform: scale($scale) rotate(45deg);
}
}
.sharedBarStyling {
position: absolute;
background-color: white;
box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.4);
transition: transform 0.1s ease-out 0s;
}
.sharedBarStylingKill {
position: absolute;
background-color: #DC143C;
box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.4);
transition: transform 0.1s ease-out 0s;
}
}
}