ten-design-vue
Version:
ten-vue
83 lines (82 loc) • 1.35 kB
CSS
/* dependencies icon */
/**
* 文字部分
* 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-tag {
position: relative;
display: inline-block;
font-size: 14px;
line-height: 20px;
background: #f6f6f6;
padding: 2px 9px;
min-width: 70px;
text-align: center;
color: #333;
border-radius: 0px;
}
.ten-tag + .ten-tag {
margin-left: 8px;
}
.ten-tag--closable {
padding-right: 29px;
}
.ten-tag__close {
position: absolute;
top: 5px;
right: 5px;
font-size: 14px;
color: rgba(0, 0, 0, 0.32);
cursor: pointer;
}
.ten-tag:hover {
background: #0052d9;
color: #fff;
}
.ten-tag:hover .ten-tag__close {
color: #fff;
}
/**
* 紧凑版变量覆写
* 如发现需要用到的变量没有定义,先在样式文件中抽出来在 vars.less 中添加该变量
* 变量命名方式 组件名-属性-修饰 如 button-fontsize-small
*/
/* input */
/* check */
/* select */
/* popup */
/* menu */
/* steps */
/* tabs */
/* modal */
/* table */
/* pagination */
/* upload */
/* form */