UNPKG

ten-design-vue

Version:

ten-vue

78 lines (77 loc) 1.31 kB
/* 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-image { width: 100%; height: 100%; } .ten-image__wrapper { display: inline-block; position: relative; overflow: hidden; } .ten-image--center { display: block; position: relative; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ten-image__placeholder, .ten-image__error { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 14px; color: #C0C0C0; background: #F5F5F5; } /** * 紧凑版变量覆写 * 如发现需要用到的变量没有定义,先在样式文件中抽出来在 vars.less 中添加该变量 * 变量命名方式 组件名-属性-修饰 如 button-fontsize-small */ /* input */ /* check */ /* select */ /* popup */ /* menu */ /* steps */ /* tabs */ /* modal */ /* table */ /* pagination */ /* upload */ /* form */