UNPKG

ten-design-vue

Version:

ten-vue

134 lines (133 loc) 2.72 kB
/** * 文字部分 * 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-progress__message { color: #666; } .ten-progress--type-bar { width: 210px; } .ten-progress--type-bar > div { display: flex; justify-content: space-between; align-items: center; min-height: 20px; } .ten-progress--type-bar .ten-progress__bar { flex: 1; background: #E9E9E9; height: 4px; border-radius: 0px; } .ten-progress--type-bar .ten-progress__bar-inner { background: #0052d9; transition: width 0.3s; height: 100%; border-radius: inherit; } .ten-progress--type-bar .ten-progress__valuetext { flex: none; padding-left: 8px; font-size: 14px; } .ten-progress--type-circle > div { display: inline-block; position: relative; } .ten-progress--type-circle svg { display: block; } .ten-progress--type-circle svg path { transition: all 0.3s; } .ten-progress--type-circle svg path:first-child { stroke: #E9E9E9; } .ten-progress--type-circle svg path:last-child { stroke: #0052d9; } .ten-progress--type-circle .ten-progress__valuetext { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); white-space: nowrap; font-size: 20px; } .ten-progress--type-circle .ten-progress__message { text-align: center; } .ten-progress--size-small.ten-progress--type-circle svg { width: 48px; } .ten-progress--size-small.ten-progress--type-circle .ten-progress__valuetext { font-size: 12px; } .ten-progress--size-default.ten-progress--type-circle svg { width: 90px; } .ten-progress--size-large.ten-progress--type-circle svg { width: 146px; } .ten-progress--size-large.ten-progress--type-circle .ten-progress__valuetext { font-size: 32px; } .ten-progress--size-large.ten-progress--type-bar { width: 300px; } .ten-progress--size-large.ten-progress--type-bar .ten-progress__bar { height: 8px; border-radius: 0px; } .ten-progress--inline { display: inline-block; } .ten-progress--block.ten-progress--type-bar { width: 100%; } /** * 紧凑版变量覆写 * 如发现需要用到的变量没有定义,先在样式文件中抽出来在 vars.less 中添加该变量 * 变量命名方式 组件名-属性-修饰 如 button-fontsize-small */ /* input */ /* check */ /* select */ /* popup */ /* menu */ /* steps */ /* tabs */ /* modal */ /* table */ /* pagination */ /* upload */ /* form */