@vtx/cs-map
Version:
React components for Vortex
24 lines (23 loc) • 537 B
CSS
.container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
.container .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%, #111010 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;
}