@vtx/cs-map
Version:
React components for Vortex
34 lines (30 loc) • 782 B
text/less
.cs-map-tools-modal {
position: absolute;
top: 0;
right: 0;
transform: translateX(calc(100% + 12px));
min-width: 380px;
background: rgba(0, 35, 65, 0.9);
padding: 0;
margin: 0;
box-shadow: 0 0 5px rgba(1, 211, 252, 0.75) inset;
transition: max-height 0.3s;
border-radius: 4px;
&.modal-left {
left: 0;
transform: translateX(calc(-100% - 12px));
}
.cs-map-tools-modal-title {
padding: 12px;
font-size: 16px;
font-weight: 500;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f0f0f0;
}
.cs-map-tools-modal-content {
padding: 12px;
}
}