@vtx/cs-map
Version:
React components for Vortex
28 lines (23 loc) • 627 B
text/less
.container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
.mask {
position: absolute;
top:0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 2;
background-image: radial-gradient(rgba(219,225,239, 0.05) 50%, rgba(65, 57, 57, 0.5) 70%, rgba(17, 16, 16, 1) 90%);
}
}
.label {
padding: 2px 10px;
color: #ffffff;
font-weight: 500;
font-size: 14px;
background: linear-gradient(271deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 51%, rgba(0,0,0,0) 100%);
white-space: nowrap;
}