@alicloud/cloud-charts
Version:

214 lines (211 loc) • 4.54 kB
CSS
@charset "UTF-8";
.cloud-wplaceholder {
position: relative;
width: 100%;
height: 100%;
min-height: 40px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.cloud-wplaceholder.cloud-wplaceholder-empty {
background: var(--widgets-color-container-background, #f7f7f7);
}
.cloud-wplaceholder.cloud-wplaceholder-empty .cloud-wplaceholder-children-text {
color: var(--widgets-color-text-3, #808080);
display: flex;
align-items: center;
justify-content: center;
}
.cloud-wplaceholder.cloud-wplaceholder-error {
background: var(--widgets-color-container-background, #f7f7f7);
}
.cloud-wplaceholder.cloud-wplaceholder-error .cloud-wplaceholder-children-text {
color: var(--widgets-color-text-3, #808080);
display: flex;
align-items: center;
justify-content: center;
}
.cloud-wplaceholder .placeholder-item {
fill: var(--widgets-color-gray, #aaaaaa);
}
.cloud-wplaceholder .cloud-wplaceholder-children {
color: var(--widgets-color-disable, #aaaaaa);
font-size: var(--widgets-font-size-1, 12px);
line-height: 1;
width: 100%;
}
.cloud-wplaceholder .cloud-wplaceholder-children-text {
margin-top: var(--s2, 8px);
}
.cloud-wplaceholder-loading {
background: var(--widgets-color-container-background, #f7f7f7);
color: var(--widgets-color-disable, #aaaaaa);
font-size: var(--widgets-font-size-1, 12px);
line-height: 1;
/* text on the right side of */
}
.cloud-wplaceholder-loading-right-tip {
display: flex;
align-items: center;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-indicator {
display: inline-block;
margin-right: var(--widgets-font-size-1, 12px)/2;
width: 40px;
height: 40px;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-indicator div {
box-sizing: border-box;
display: block;
position: absolute;
width: 28px;
height: 28px;
margin: 6px;
border: 2px solid var(--loading-dot-fill, #aaaaaa);
border-radius: 50%;
animation: load_3 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: var(--loading-dot-fill, #aaaaaa) transparent transparent transparent;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-indicator div:nth-child(1) {
animation-delay: -0.45s;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-indicator div:nth-child(2) {
animation-delay: -0.3s;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-indicator div:nth-child(3) {
animation-delay: -0.15s;
}
.cloud-wplaceholder-loading-right-tip .cloud-wplaceholder-loading-tip-content {
display: inline-block;
}
.cloud-wplaceholder-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes load_3 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes nextVectorRoute {
0% {
transform: rotate(0deg);
}
5% {
transform: rotate(90deg);
}
25% {
transform: rotate(90deg);
}
30% {
transform: rotate(180deg);
}
50% {
transform: rotate(180deg);
}
55% {
transform: rotate(270deg);
}
75% {
transform: rotate(270deg);
}
80% {
transform: rotate(360deg);
}
100% {
transform: rotate(360deg);
}
}
/* 20% 的时间在旋转 */
@keyframes nextVectorDotsYR {
25% {
bottom: 0;
}
45% {
bottom: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
50% {
bottom: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
90% {
bottom: 0;
height: 8px;
width: 8px;
}
}
@keyframes nextVectorDotsY {
25% {
top: 0;
}
45% {
top: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
50% {
top: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
90% {
top: 0;
height: 8px;
width: 8px;
}
}
@keyframes nextVectorDotsX {
25% {
left: 0;
}
45% {
left: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
50% {
left: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
90% {
left: 0;
height: 8px;
width: 8px;
}
}
@keyframes nextVectorDotsXR {
25% {
right: 0;
}
45% {
right: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
50% {
right: calc(28px / 2 - 8px * 1.2 / 2);
height: 9.6px;
width: 9.6px;
}
90% {
right: 0;
height: 8px;
width: 8px;
}
}