winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
62 lines (61 loc) • 1.45 kB
CSS
/******** borderSize *******/
/******** borderStyle *******/
/******** radius *******/
/******** shadow distance *******/
/******** size *******/
/******** spacing *******/
/******** shadow *******/
/******** opacity *******/
/******** fontSize *******/
/******** fontWeight ********/
/******** radius *******/
/******** Primary *******/
/******** success *******/
/******** warning *******/
/******** danger *******/
/******** link *******/
/******** radius *******/
/********* icon hover *********/
.w-skeleton-shape {
width: 36px;
height: 36px;
background-color: var(--color-fill-2);
border-radius: var(--border-radius-small);
}
.w-skeleton-shape-circle {
border-radius: 50%;
}
.w-skeleton-shape-small {
width: 24px;
height: 24px;
}
.w-skeleton-shape-medium {
width: 28px;
height: 28px;
}
.w-skeleton-line {
margin: 0;
padding: 0;
list-style: none;
}
.w-skeleton-line-row {
height: 16px;
background-color: var(--color-fill-2);
}
.w-skeleton-line-row:not(:last-child) {
margin-bottom: 16px;
}
.w-skeleton-animation .w-skeleton-shape,
.w-skeleton-animation .w-skeleton-line-row {
background: linear-gradient(90deg, var(--color-fill-2) 25%, var(--color-fill-3) 37%, var(--color-fill-2) 63%);
background-size: 400% 100%;
animation: w-skeleton-circle 1.5s cubic-bezier(0, 0, 1, 1) infinite;
}
@keyframes w-skeleton-circle {
0% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}