@vtx/cs-map
Version:
React components for Vortex
142 lines (141 loc) • 4.77 kB
CSS
.cs-map-container {
width: 100%;
height: 100%;
position: relative;
}
.cs-map-container .cs-map {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
.cs-map-container .cs-map .cesium-viewer-bottom {
display: none;
}
.cs-map-container .cs-map .cesium-performanceDisplay-defaultContainer {
top: 100px;
}
.cs-map-container .cs-map .map-dark {
-webkit-filter: sepia(100%) hue-rotate(-25deg) invert(100%);
filter: sepia(100%) hue-rotate(-25deg) invert(100%);
}
.cs-map-container .cs-map .map-dark-label {
-webkit-filter: sepia(10%) hue-rotate(-10deg) invert(80%);
filter: sepia(10%) hue-rotate(-10deg) invert(80%);
}
.cs-map-container .cs-map .custom-tip {
position: absolute;
z-index: 2;
padding: 2px 6px;
background: rgba(0, 0, 0, 0.5);
color: #ffffff;
font-size: 14px;
border-radius: 4px;
}
.cs-map-container .cs-map .point_animation {
height: 65px;
width: 65px;
margin-bottom: 4px;
border-radius: 40px;
background: #0080ff;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
-webkit-animation: point 2s;
animation: point 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
pointer-events: none;
}
@-webkit-keyframes point {
to {
-webkit-transform: scale(0.8, 0.3);
transform: scale(0.8, 0.3);
background: rgba(0, 0, 0, 0);
}
}
@keyframes point {
to {
-webkit-transform: scale(0.8, 0.3);
transform: scale(0.8, 0.3);
background: rgba(0, 0, 0, 0);
}
}
.cs-map-container .cs-map-popup-cluster-title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.cs-map-container .cs-map-popup-cluster-title .cs-map-popup-cluster-title-img {
max-height: 26px;
}
.cs-map-container .cs-map-popup-cluster-title .cs-map-popup-cluster-title-text {
margin-left: 4px;
}
.cs-map-container .cs-map-popup-cluster .cs-map-popup-cluster-header {
padding: 4px 0;
}
.cs-map-container .cs-map-popup-cluster .ant-empty-description {
color: #c4d4e5;
}
.cs-map-container .cs-map-popup-cluster .ant-table {
background-color: transparent;
color: #fff;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-cell-scrollbar {
-webkit-box-shadow: none;
box-shadow: none;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-thead > tr > th {
background-color: rgba(14, 156, 255, 0.2);
color: #fff;
border-bottom: none;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-thead th.ant-table-column-has-sorters:hover {
background-color: rgba(106, 228, 255, 0.1) ;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body::-webkit-scrollbar {
width: 4px;
background-color: hsla(0, 0%, 80%, 0.08);
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body::-webkit-scrollbar-thumb {
background-color: #012f54;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body::-webkit-scrollbar-corner {
background-color: #012f54;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-placeholder:hover > td {
background: transparent;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr td {
border-bottom: none;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr:nth-child(odd) {
background-color: rgba(14, 156, 255, 0.15);
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr:nth-child(even) {
background-color: rgba(14, 156, 255, 0.05);
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr .ant-table-column-sort {
background-color: transparent;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody > tr > td.ant-table-cell-row-hover {
background: rgba(106, 228, 255, 0.1);
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody::-webkit-scrollbar {
background-color: hsla(0, 0%, 80%, 0.08);
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
background-color: #012f54;
}
.cs-map-container .cs-map-popup-cluster .ant-table .ant-table-body .ant-table-tbody::-webkit-scrollbar-corner {
-webkit-box-shadow: inset 0 0 0.025rem #012f54;
background-color: #012f54;
}