ten-design-vue
Version:
ten-vue
84 lines (83 loc) • 1.5 kB
CSS
/**
* 文字部分
* size 大小,line 行高, color 颜色
*/
/* button */
/* input */
/* transfer */
/* alert */
/* menu */
/* message */
/* modal */
/* badge */
/* tag */
/* progress */
/* popup */
/* tooltip */
/* loading */
/* tabs */
/* check */
/* mention */
/* popup */
/* steps */
/* tabs */
/* modal */
/* form */
/* table */
/* pagination */
/* upload */
/* collapse */
/* anchor */
/* list */
.ten-icon {
display: inline-block;
color: inherit;
font-size: inherit;
text-align: center;
}
.ten-icon svg {
display: block;
width: 1em;
height: 1em;
}
.ten-icon[class*='loading_gradient'] {
-webkit-animation: icon-loading-rotate 1.5s linear infinite;
animation: icon-loading-rotate 1.5s linear infinite;
}
@-webkit-keyframes icon-loading-rotate {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes icon-loading-rotate {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/**
* 紧凑版变量覆写
* 如发现需要用到的变量没有定义,先在样式文件中抽出来在 vars.less 中添加该变量
* 变量命名方式 组件名-属性-修饰 如 button-fontsize-small
*/
/* input */
/* check */
/* select */
/* popup */
/* menu */
/* steps */
/* tabs */
/* modal */
/* table */
/* pagination */
/* upload */
/* form */