cquavui/public/css/divpoint.css

435 lines
9.1 KiB
CSS
Raw Normal View History

/* div Point 的样式 */
/*类popup的divpoint样式黑色字体 + 白色背景*/
.divpoint-color {
color: #2b2929;
}
.divpoint-background {
background: rgba(255, 255, 255, 0.85);
}
/*一种面板的divpoint样式*/
.divpoint-wrap {
position: relative;
padding: 30px;
overflow: hidden;
}
.divpoint .area {
position: relative;
min-width: 180px;
}
.divpoint .b-t {
position: absolute;
top: 0;
left: 44px;
right: 0;
height: 1px;
z-index: 10;
}
.divpoint .b-r {
position: absolute;
top: 0;
right: 0;
bottom: 44px;
width: 1px;
z-index: 10;
}
.divpoint .b-b {
position: absolute;
left: 0;
right: 44px;
bottom: 0;
height: 1px;
z-index: 10;
}
.divpoint .b-l {
position: absolute;
top: 44px;
left: 0;
bottom: 0;
width: 1px;
z-index: 10;
}
.divpoint .b-t-l {
position: absolute;
top: 0;
left: 0;
width: 1px;
height: 62px;
transform: rotate(45deg) translate(52px, -22px);
z-index: 10;
}
.divpoint .b-b-r {
position: absolute;
bottom: 0;
right: 0;
width: 1px;
height: 62px;
transform: rotate(45deg) translate(-52px, 22px);
z-index: 10;
}
.divpoint .label-wrap {
padding-left: 12px;
color: #fff;
font-size: 16px;
white-space: nowrap;
overflow: hidden;
}
.divpoint .title {
margin-top: 20px;
padding: 0 12px 0 30px;
height: 36px;
line-height: 36px;
position: relative;
}
.divpoint .title::before {
content: '';
position: absolute;
bottom: -4px;
left: 0;
right: 0;
z-index: 10;
height: 2px;
}
.divpoint .label-content {
padding: 15px 0;
}
.divpoint .data-li {
padding: 4px 45px 4px 0;
}
.divpoint .data-label, .data-value {
display: inline-block;
}
.divpoint .data-value {
font-size: 14px;
}
.divpoint .label-num {
margin-right: 3px;
color: #f09e28;
font-weight: 600;
}
.divpoint .label-tag {
display: inline-block;
position: relative;
margin-right: 6px;
padding: 0 6px;
font-weight: 600;
cursor: pointer;
background-color: #909399;
border-radius: 4px;
}
.divpoint .label-tag::after {
content: attr(alt);
display: inline-block;
position: absolute;
bottom: -22px;
right: -35px;
z-index: -1;
padding: 2px 4px;
color: #fff;
font-size: 14px;
background-color: #333;
border-radius: 3px;
opacity: 0;
transition: all .3s ease-in;
}
.divpoint .label-tag:hover::after {
opacity: 1;
z-index: 11;
}
.divpoint .data-value-status-0 {
background-color: #f0285c;
}
.divpoint .data-value-status-1 {
background-color: #35b15b;
}
.divpoint .data-value-status-2 {
background-color: #f09e28;
}
.divpoint .arrow {
position: absolute;
bottom: 0;
left: 0;
width: 45px;
height: 2px;
transform: rotate(-45deg) translate(5px, -15px);
}
/* 蓝色主题 */
.divpoint-theme-29baf1 .b-t, .divpoint-theme-29baf1 .b-r, .divpoint-theme-29baf1 .b-b, .divpoint-theme-29baf1 .b-l, .divpoint-theme-29baf1 .b-t-l, .divpoint-theme-29baf1 .b-b-r {
background-color: #29baf1;
box-shadow: 0 0 10px 2px #29baf1;
}
.divpoint-theme-29baf1 .area {
background-image: linear-gradient(135deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #28bbf06c 30px, #28bbf06c 50.1%, transparent 50%);
}
.divpoint-theme-29baf1 .title {
background-image: linear-gradient(135deg, transparent 25px, #29baf1 25px);
}
.divpoint-theme-29baf1 .arrow, .divpoint-theme-29baf1 .title::before {
background-color: #28bbf0;
}
/* 绿色主题 */
.divpoint-theme-06e34a .b-t, .divpoint-theme-06e34a .b-r, .divpoint-theme-06e34a .b-b, .divpoint-theme-06e34a .b-l, .divpoint-theme-06e34a .b-t-l, .divpoint-theme-06e34a .b-b-r {
background-color: #06e34a;
box-shadow: 0 0 10px 2px #06e34a;
}
.divpoint-theme-06e34a .area {
background-image: linear-gradient(135deg, transparent 30px, #06e3486c 30px, #06e3486c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #06e3486c 30px, #06e3486c 50.1%, transparent 50%);
}
.divpoint-theme-06e34a .title {
background-image: linear-gradient(135deg, transparent 25px, #06e34a 25px);
}
.divpoint-theme-06e34a .arrow, .divpoint-theme-06e34a .title::before {
background-color: #06e34a;
}
/* 红色主题 */
.divpoint-theme-e3064f .b-t, .divpoint-theme-e3064f .b-r, .divpoint-theme-e3064f .b-b, .divpoint-theme-e3064f .b-l, .divpoint-theme-e3064f .b-t-l, .divpoint-theme-e3064f .b-b-r {
background-color: #e3064f;
box-shadow: 0 0 10px 2px #e3064f;
}
.divpoint-theme-e3064f .area {
background-image: linear-gradient(135deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e306506c 30px, #e306506c 50%, transparent 50%);
}
.divpoint-theme-e3064f .title {
background-image: linear-gradient(135deg, transparent 25px, #e3064f 25px);
}
.divpoint-theme-e3064f .arrow, .divpoint-theme-e3064f .title::before {
background-color: #e3064f;
}
/* 黄色主题 */
.divpoint-theme-e9b709 .b-t, .divpoint-theme-e9b709 .b-r, .divpoint-theme-e9b709 .b-b, .divpoint-theme-e9b709 .b-l, .divpoint-theme-e9b709 .b-t-l, .divpoint-theme-e9b709 .b-b-r {
background-color: #e9b709;
box-shadow: 0 0 10px 2px #e9b709;
}
.divpoint-theme-e9b709 .area {
background-image: linear-gradient(135deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%), linear-gradient(-45deg, transparent 30px, #e9b9096c 30px, #e9b9096c 50%, transparent 50%);
}
.divpoint-theme-e9b709 .title {
background-image: linear-gradient(135deg, transparent 25px, #e9b709 25px);
}
.divpoint-theme-e9b709 .arrow, .divpoint-theme-e9b709 .title::before {
background-color: #e9b709;
}
.divpoint1 {
position: relative;
width: 200px;
height: 134px;
background: rgba(42, 42, 42, 0.8);
border-radius: 4px;
background: url("../img/marker/div1.png");
background-size: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-webkit-animation: mymove 5s infinite;
animation: mymove 5s infinite;
animation-duration: 5s;
animation-timing-function: ease;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: normal;
animation-fill-mode: none;
animation-play-state: running;
animation-name: mymove;
}
.divpoint1 .title {
position: relative;
top: 20px;
left: 70px;
font-size: 15px;
text-align: left;
color: rgba(255, 255, 255, 1);
text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
}
.divpoint2 {
position: relative;
width: 200px;
height: 157px;
background: rgba(42, 42, 42, 0.8);
border-radius: 4px;
background: url("../img/marker/div2.png");
background-size: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-webkit-animation: mymove 5s infinite;
animation: mymove 5s infinite;
animation-duration: 5s;
animation-timing-function: ease;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: normal;
animation-fill-mode: none;
animation-play-state: running;
animation-name: mymove;
}
.divpoint2 .title {
position: inherit;
top: 22px;
left: 70px;
font-size: 14px;
text-align: left;
color: rgba(255, 255, 255, 1);
text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.75);
}
.divpoint2 .content {
position: inherit;
font-size: 14px;
top: 30px;
left: 50px;
width: 140px;
height: auto;
text-align: left;
color: rgba(255, 255, 255, 1);
overflow: hidden;
}
/**一个简单文本DIV面板**/
.mars3d-divlabel {
min-width: 90px;
min-height: 35px;
position: absolute;
left: 16px;
bottom: 31px;
cursor: default;
border-radius: 4px;
opacity: 0.96;
border: 1px solid #14171c;
box-shadow: 0px 2px 21px 0px rgba(33, 34, 39, 0.55);
border-radius: 4px;
box-sizing: border-box;
background: linear-gradient(0deg, #1e202a 0%, #0d1013 100%);
}
.mars3d-divlabel::before {
content: "";
width: calc(100% + 22px);
height: 39px;
position: absolute;
bottom: -39px;
left: -22px;
background: url(../img/marker/popupLbl.png) 0px 0px no-repeat;
background-position: 0px 0px;
}
.mars3d-divlabel-text {
width: 100%;
height: 100%;
text-align: center;
padding: 1px 20px;
font-size: 14px;
font-family: 'MicrosoftYaHei';
font-weight: 400;
color: #ffffff;
line-height: 33px;
border: 1px solid #ffffff4f;
-webkit-box-sizing: border-box;
box-sizing: border-box;
white-space:nowrap;
}
/**一个渐变的文本DIV面板**/
.mars3d-gradient-label {
text-align: center;
padding: 5px 30px;
margin: 0;
color: #fff;
background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
max-height: 130px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space:nowrap;
}
.mars3d-gradient-label:after {
content: "";
position: absolute;
bottom: -60px;
left: calc(50% - 3px);
display: block;
width: 3px;
height: 60px;
border-right: 3px solid #2bcdbb;
}
/**一个渐变的文本DIV面板**/
.mars3d-blueTxt {
width: 100px;
height: 36px;
line-height: 36px;
font-size: 16px;
text-align: center;
background-image: linear-gradient(#0434c5, #00f1f5);
border-radius: 5px;
}
.mars3d-blueTxt-line {
width: 4px;
height: 80px;
position: relative;
right: calc(-50% + 2px);
background-color: #2bcdbb;
}