vhb-table
Version:
一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...
116 lines (106 loc) • 2.6 kB
CSS
/*font*/
/*size*/
/*icon*/
/*color*/
/*input/radio/checkbox*/
/*popup*/
/*table*/
/*filter*/
/*menu*/
/*loading*/
/*validate*/
/*grid*/
/*toolbar*/
/*tooltip*/
/*pager*/
/*modal*/
/*checkbox*/
/*radio*/
/*button*/
/*input*/
/*textarea*/
/*form*/
/*select*/
/*switch*/
/*pulldown*/
.vhb-textarea {
position: relative;
display: inline-block; }
.vhb-textarea:not(.def--cols) {
width: 100%; }
.vhb-textarea:not(.def--cols) .vhb-textarea--inner {
width: 100%; }
.vhb-textarea--inner {
border-radius: 4px;
outline: 0;
font-size: inherit;
padding: 0 0.6em;
color: #606266;
line-height: inherit;
border: 1px solid #dcdfe6;
background-color: #fff;
display: block;
padding: 0.3em 0.6em; }
.vhb-textarea--inner::-webkit-input-placeholder {
color: #C0C4CC; }
.vhb-textarea--inner::-moz-placeholder {
color: #C0C4CC; }
.vhb-textarea--inner:-ms-input-placeholder {
color: #C0C4CC; }
.vhb-textarea--inner::-ms-input-placeholder {
color: #C0C4CC; }
.vhb-textarea--inner::placeholder {
color: #C0C4CC; }
.vhb-textarea--inner:focus {
border: 1px solid #409eff; }
.vhb-textarea--inner[disabled] {
cursor: not-allowed;
background-color: #f3f3f3; }
.vhb-textarea--inner,
.vhb-textarea--autosize {
line-height: 1.5715;
color: #606266;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; }
.vhb-textarea--autosize {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
margin: 0;
padding: 0.3em 0.6em;
word-wrap: break-word;
white-space: pre-wrap;
z-index: -1;
visibility: hidden; }
.vhb-textarea--count {
position: absolute;
bottom: 0.2em;
right: 1.4em;
padding-left: 0.2em;
color: #999;
background-color: #fff; }
.vhb-textarea--count.is--error {
color: #f56c6c; }
.vhb-textarea,
.vhb-textarea--autosize {
font-size: 14px; }
.vhb-textarea.size--medium,
.vhb-textarea--autosize.size--medium {
font-size: 14px; }
.vhb-textarea.size--small,
.vhb-textarea--autosize.size--small {
font-size: 13px; }
.vhb-textarea.size--mini,
.vhb-textarea--autosize.size--mini {
font-size: 12px; }
.vhb-textarea:not(.is--autosize) {
min-height: 34px; }
.vhb-textarea.size--medium {
font-size: 14px; }
.vhb-textarea.size--medium:not(.is--autosize) {
min-height: 32px; }
.vhb-textarea.size--small:not(.is--autosize) {
min-height: 30px; }
.vhb-textarea.size--mini:not(.is--autosize) {
min-height: 28px; }