UNPKG

vue-easytable

Version:
1,200 lines (1,014 loc) 25.4 kB
@font-face { font-family: 'fontello'; src: url('../font/fontello.eot?85200898'); src: url('../font/fontello.eot?85200898#iefix') format('embedded-opentype'), url('../font/fontello.woff2?85200898') format('woff2'), url('../font/fontello.woff?85200898') format('woff'), url('../font/fontello.ttf?85200898') format('truetype'), url('../font/fontello.svg?85200898#fontello') format('svg'); font-weight: normal; font-style: normal; } /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ /* @media screen and (-webkit-min-device-pixel-ratio:0) { @font-face { font-family: 'fontello'; src: url('../font/fontello.svg?85200898#fontello') format('svg'); } } */ [class^="v-icon-"]:before, [class*=" v-icon-"]:before { font-family: "fontello"; font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em; text-align: center; /* opacity: .8; */ /* For safety - reset parent styles, that can break glyph codes*/ font-variant: normal; text-transform: none; /* fix buttons height, for twitter bootstrap */ line-height: 1em; /* Animation center compensation - margins should be symmetric */ /* remove if not needed */ margin-left: .2em; /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } .v-icon-down-dir:before { content: '\e800'; } /* '' */ .v-icon-up-dir:before { content: '\e801'; } /* '' */ .v-icon-cancel:before { content: '\e802'; } /* '' */ .v-icon-spin3:before { content: '\e832'; } /* '' */ .v-icon-spin4:before { content: '\e834'; } /* '' */ .v-icon-spin5:before { content: '\e838'; } /* '' */ .v-icon-filter:before { content: '\f0b0'; } /* '' */ .v-icon-angle-double-left:before { content: '\f100'; } /* '' */ .v-icon-angle-double-right:before { content: '\f101'; } /* '' */ .v-icon-angle-left:before { content: '\f104'; } /* '' */ .v-icon-angle-right:before { content: '\f105'; } /* '' */ /* Animation example, for spinners */ .animate-loading-05 { -moz-animation: spin 0.5s infinite linear; -o-animation: spin 0.5s infinite linear; -webkit-animation: spin 0.5s infinite linear; animation: spin 0.5s infinite linear; display: inline-block; } .animate-loading-08 { -moz-animation: spin 0.8s infinite linear; -o-animation: spin 0.8s infinite linear; -webkit-animation: spin 0.8s infinite linear; animation: spin 0.8s infinite linear; display: inline-block; } .animate-loading-11 { -moz-animation: spin 1.1s infinite linear; -o-animation: spin 1.1s infinite linear; -webkit-animation: spin 1.1s infinite linear; animation: spin 1.1s infinite linear; display: inline-block; } .animate-loading-14 { -moz-animation: spin 1.4s infinite linear; -o-animation: spin 1.4s infinite linear; -webkit-animation: spin 1.4s infinite linear; animation: spin 1.4s infinite linear; display: inline-block; } .animate-loading-17 { -moz-animation: spin 1.7s infinite linear; -o-animation: spin 1.7s infinite linear; -webkit-animation: spin 1.7s infinite linear; animation: spin 1.7s infinite linear; display: inline-block; } .animate-loading-20 { -moz-animation: spin 2s infinite linear; -o-animation: spin 2s infinite linear; -webkit-animation: spin 2s infinite linear; animation: spin 2s infinite linear; display: inline-block; } .animate-loading-23 { -moz-animation: spin 2.3s infinite linear; -o-animation: spin 2.3s infinite linear; -webkit-animation: spin 2.3s infinite linear; animation: spin 2.3s infinite linear; display: inline-block; } .animate-loading-26 { -moz-animation: spin 2.6s infinite linear; -o-animation: spin 2.6s infinite linear; -webkit-animation: spin 2.6s infinite linear; animation: spin 2.6s infinite linear; display: inline-block; } .animate-loading-29 { -moz-animation: spin 2.9s infinite linear; -o-animation: spin 2.9s infinite linear; -webkit-animation: spin 2.9s infinite linear; animation: spin 2.9s infinite linear; display: inline-block; } @-moz-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-webkit-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-o-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-ms-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @charset "UTF-8"; *, :after, :before { box-sizing: border-box; } .v-page--large .v-page-total, .v-page--large .v-page-li, .v-page--large .v-page-select, .v-page--large .v-page-goto, .v-page--large .v-page-goto .v-page-goto-input{ font-size:16px; height:40px; line-height: 40px; } .v-page--large .v-page-li{ min-width: 40px; } .v-page--large .v-page-li i{ font-size:120%; } .v-page--large .v-page-goto .v-page-goto-input{ width:50px; } .v-page--middle .v-page-total, .v-page--middle .v-page-li, .v-page--middle .v-page-select, .v-page--middle .v-page-goto, .v-page--middle .v-page-goto .v-page-goto-input{ font-size:14px; height:32px; line-height: 32px; } .v-page--middle .v-page-li{ min-width: 32px; } .v-page--middle .v-page-li i{ font-size:120%; } .v-page--middle .v-page-goto .v-page-goto-input{ width:50px; } .v-page--small .v-page-total, .v-page--small .v-page-li, .v-page--small .v-page-select, .v-page--small .v-page-goto, .v-page--small .v-page-goto .v-page-goto-input{ font-size:12px; height:24px; line-height: 24px; } .v-page--small .v-page-li{ min-width: 24px; } .v-page--small .v-page-li i{ font-size:120%; } .v-page--small .v-page-goto .v-page-goto-input{ width:45px; } .v-page-ul { margin: 0; padding: 0; display: inline-block; margin: 0 4px; list-style-type: none; -webkit-user-select: none; -moz-user-select: none; -khtml-user-select: none; -ms-user-select: none; } .v-page-total { float: left; display: inline-block; margin: 0 4px; } .v-page-select{ float: left; margin: 0 4px; } .v-page-li{ float: left; margin-right: 4px; cursor: pointer; transition: all .1s ease-in-out; text-align: center; list-style: none; background-color: #fff; border: 1px solid #c8cdd4; border-radius: 4px; } .v-page-li a{ color:#333; } .v-page-li:hover{ border-color: #0092dd; } .v-page-li:hover a{ color:#0092dd; } .v-page-li-active{ border-color: #0092dd; background-color:#0092dd; } .v-page-li-active a{ color:#fff; } .v-page-li-active:hover{ border-color: #0092dd; background-color:#0092dd; } .v-page-li-active:hover a{ color:#fff; } .v-page-prev i,.v-page-next i{ color:#666; } .v-page-jump-prev:after,.v-page-jump-next:after{ content: "•••"; display: block; letter-spacing: 1px; color:#666; text-align: center; } .v-page-jump-prev i,.v-page-jump-prev:hover:after,.v-page-jump-next i,.v-page-jump-next:hover:after{ display: none; } .v-page-jump-prev:hover i,.v-page-jump-next:hover i { display: inline; color:#0092dd; } .v-page-select { display: inline-block; margin: 0 4px; } .v-page-pager{ float: left; } .v-page-goto { float: left; display: inline-block; margin: 0 4px; } .v-page-goto-input{ padding: 1px 7px; display: inline-block; border: 1px solid #c8cdd4; background-color: #fff; background-image: none; transition: border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out; border-radius: 4px; } .v-page-goto-input:hover{ border-color: #0092dd; } .v-page-disabled{ cursor: not-allowed; border-color: #d7dde4; } .v-page-disabled i { color: #ccc; } .v-page-disabled:hover { border-color: #d7dde4 } .v-page-disabled:hover i { color: #ccc; cursor: not-allowed } @charset "UTF-8"; /*-------------------------分割线-----------------------------------*/ .v-select--large .v-select-selected, .v-select--large .v-select-items-li{ font-size:16px; height:40px; line-height: 40px; } .v-select--large .v-select-selected-i{ line-height:40px !important; } .v-select--large .v-select-selected{ /* width:120px;*/ } .v-select--large .v-select-items{ /* min-width: 120px;*/ } .v-select--middle .v-select-selected, .v-select--middle .v-select-items-li{ font-size:14px; height:32px; line-height: 32px; } .v-select--middle .v-select-selected-i{ line-height:32px !important; } .v-select--middle .v-select-selected{ /* width:100px;*/ } .v-select--middle .v-select-items{ /* min-width: 100px;*/ } .v-select--small .v-select-selected, .v-select--small .v-select-items-li{ font-size:13px; height:24px; line-height: 24px; } .v-select--small .v-select-selected-i{ line-height:24px !important; } .v-select--small .v-select-selected{ /* width:90px;*/ } .v-select--small .v-select-items{ /* min-width: 90px;*/ } .v-select-input{ -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #fff; background-image: none; /* border-radius: 4px;*/ border: 1px solid #fff; box-sizing: border-box; color: #1f2d3d; display: inline-block; font-size: inherit; /* height: 36px;*/ line-height: 1; outline: none; padding-left: 2px; transition: border-color .2s cubic-bezier(.645,.045,.355,1); width: 80%; text-align: left; } .v-select-selected-span { width: 80%; display:block !important;/*修复会被别的样式覆盖的问题*/ text-align: center; cursor:pointer; white-space: nowrap; overflow: hidden; padding-left: 2px; } .v-select-selected-i{ display: inline-block; position: absolute; top:0; right:0; font-size: 120%; } @charset "UTF-8"; .v-table-views *,.v-table-views *:before,.v-table-views *:after{ -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; } .v-table-views { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; position: relative; overflow: hidden; border:1px solid rgba(221, 221, 221, 1); padding: 0; background-color: rgb(255, 255, 255); } .v-table-footer{ border-top:1px solid rgba(221, 221, 221, 1); } .v-table-leftview, .v-table-rightview { position: absolute; overflow: hidden; top: 0px; } .v-table-leftview { left: 0px; } .v-table-header { overflow: hidden; } .v-table-header { background-position: initial; background-size: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-repeat-x: repeat; background-repeat-y: no-repeat; } .v-table-header, .v-table-toolbar, .v-table-pager, .v-table-footer-inner { border-color: rgba(221, 221, 221, 1); } .v-table-header-inner { float: left; width: 10000px; } .v-table-htable, .v-table-btable, .v-table-ftable { border-collapse: separate; } /*.v-table-btable tr:nth-child(even) { background:#f4f4f4; }*/ .v-table-header td, .v-table-body td, .v-table-footer td { margin: 0; padding: 0; } .v-table-body-cell{ padding:0 3px; margin: 0; white-space: nowrap; word-wrap: normal; overflow:hidden; border-width: 0; border-style: solid; border-color: rgba(221, 221, 221, 1); text-overflow: ellipsis; } .v-table-body { margin:0; padding:0; zoom: 1; } .v-table-rightview .v-table-body,.v-table-rightview .v-table-footer{ overflow-x: auto; overflow-y: auto; } .v-table-leftview .v-table-body { overflow-x: hidden !important; overflow-y: hidden !important; } .v-table-leftview .v-table-body-inner { /* padding-bottom: 20px;*/ } .v-table-body-inner-pb{ padding-bottom: 20px; } .v-table-rightview { right: 0px; } .v-table-title-cell{ margin: 0; border-width: 0; border-style: solid; border-color: rgba(221, 221, 221, 1); } .v-table-title-cell:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; /* border: 1px solid red;*/ /* so we can see what's going on */ } .table-title{ display: inline-block; padding:0 3px; vertical-align: middle; word-break: break-all; overflow: hidden; line-height: 1.2em; } .v-table-sort-icon { position: relative; display: inline-block; vertical-align: middle; /*font-size:16px;*/ width:16px; height: 19px; margin-left: -5px; overflow: hidden; cursor: pointer; } .v-table-sort-icon i { position: absolute; display: block; width:16px; height: 15px; /*line-height: 12px;*/ overflow: hidden; color: #a6a6a6; transition: color .2s ease-in-out; } .v-table-sort-icon i:first-child { top: -5px; } .v-table-sort-icon i:last-child { bottom: 1px; } .v-table-header .cursorPointer{ cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -khtml-user-select: none; -ms-user-select: none; } .vertical-border{ border-right-width: 1px !important; } .horizontal-border{ border-bottom-width: 1px !important; } .v-table-rightview-special-border td:last-child .v-table-body-cell{ border-right-width: 0 !important; } .v-table-dropdown{ margin-left: -3px !important; } .v-table-filter-icon{ font-size:14px; cursor: pointer; } /*没数据时的样式 start*/ .v-table-empty{ } .v-table-empty-scroll{ position: absolute; overflow-y: hidden; text-align: center; } .v-table-empty-content{ position: absolute; overflow-x: auto; overflow-y: hidden; text-align: center; } .v-table-empty-inner{ overflow: hidden; } /*没数据时的样式 end*/ /*loading start*/ .v-table-loading{ position: relative; display: block; z-index: 99999; background-color: #fff; height:100%; width:100%; } .v-table-loading-content{ z-index: 9999999; position: absolute; left:50%; } /*loading end*/ /*列拖动线 start*/ .v-table-drag-line{ position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-left: 2px dashed #ddd; z-index: 10; } /*列拖动线 end*/ /* **预留给用户的** .v-table-class{} .v-table-title-class{} .v-table-body-class{} .v-table-footer-class */ .v-checkbox-wrapper{ cursor: pointer; font-size: 12px; display: inline-block; position: relative; } .v-checkbox{ white-space: nowrap; cursor: pointer; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: text-bottom; } .v-checkbox-checked:after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 2px; border: 1px solid #108ee9; content: ""; -webkit-animation-fill-mode: both; animation-fill-mode: both; visibility: hidden } .v-checkbox-input{ position: absolute; left: 0; z-index: 1; cursor: pointer; opacity: 0; filter: alpha(opacity=0); top: 0; bottom: 0; right: 0; /* width: 100%; height: 100%;*/ } .v-checkbox-inner{ position: relative; top: 0; left: 0; display: block; width: 14px; height: 14px; border: 1px solid #abbacc; border-radius: 2px; background-color: #fff; -webkit-transition: all .3s; transition: all .3s; } .v-checkbox-inner:after { -webkit-transform: rotate(45deg) scale(0); -ms-transform: rotate(45deg) scale(0); transform: rotate(45deg) scale(0); position: absolute; left: 4px; top: 1px; display: table; width: 5px; height: 8px; border: 2px solid #fff; border-top: 0; border-left: 0; content: " "; -webkit-transition: all .1s cubic-bezier(.71,-.46,.88,.6); transition: all .1s cubic-bezier(.71,-.46,.88,.6) } .v-checkbox-checked .v-checkbox-inner:after { -webkit-transform: rotate(45deg) scale(1); -ms-transform: rotate(45deg) scale(1); transform: rotate(45deg) scale(1); position: absolute; display: table; border: 2px solid #fff; border-top: 0; border-left: 0; content: " "; -webkit-transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s; transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s; } .v-checkbox-checked .v-checkbox-inner,.v-checkbox-indeterminate .v-checkbox-inner{ background-color: #108ee9; border-color: #108ee9; } .v-checkbox-input:focus+.v-checkbox-inner, .v-checkbox-wrapper:hover .v-checkbox-inner, .v-checkbox:hover .v-checkbox-inner { border-color: #108ee9 } .v-checkbox-disabled { cursor: not-allowed } .v-checkbox-disabled.v-checkbox-checked .v-checkbox-inner:after { -webkit-animation-name: none; animation-name: none; border-color: rgba(0,0,0,.25) } .v-checkbox-disabled .v-checkbox-input { cursor: not-allowed } .v-checkbox-disabled .v-checkbox-inner { border-color: #d9d9d9!important; background-color: #f7f7f7 } .v-checkbox-disabled .v-checkbox-inner:after { -webkit-animation-name: none; animation-name: none; border-color: #f7f7f7 } .v-checkbox-disabled+span { color: rgba(0,0,0,.25); cursor: not-allowed } .v-checkbox-indeterminate .v-checkbox-inner:after { content: " "; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); position: absolute; left: 2px; top: 5px; width: 8px; height: 1px } .v-checkbox-indeterminate.v-checkbox-disabled .v-checkbox-inner:after { border-color: rgba(0,0,0,.25) } .v-select-items-multiple{ display: table; width: 100%; padding: 5px; } .v-select-items-multiple span{ vertical-align: middle; font-size: 14px; font-weight: normal; color: rgba(0, 0, 0, 0.65); } .v-select-items-multiple:hover{ background-color: #e6f7ff; } @charset "UTF-8"; /*设置尺寸 start*/ .v-dropdown--large .v-dropdown-selected, .v-dropdown--large .v-dropdown-items-li{ font-size:16px; height:40px; line-height: 40px; } .v-dropdown--large .v-dropdown-selected-i{ line-height:40px !important; } .v-dropdown--large .v-dropdown-selected{ /* width:120px;*/ } .v-dropdown--large .v-dropdown-items{ /* min-width: 120px;*/ } .v-dropdown--middle .v-dropdown-selected, .v-dropdown--middle .v-dropdown-items-li{ font-size:14px; height:32px; line-height: 32px; } .v-dropdown--middle .v-dropdown-selected-i{ line-height:32px !important; } .v-dropdown--middle .v-dropdown-selected{ /* width:100px;*/ } .v-dropdown--middle .v-dropdown-items{ /* min-width: 100px;*/ } .v-dropdown--small .v-dropdown-selected, .v-dropdown--small .v-dropdown-items-li{ font-size:13px; height:24px; line-height: 24px; } .v-dropdown--small .v-dropdown-selected-i{ line-height:24px !important; } .v-dropdown--small .v-dropdown-selected{ /* width:90px;*/ } .v-dropdown--small .v-dropdown-items{ /* min-width: 90px;*/ } /*设置尺寸 end*/ .v-dropdown{ display: inline-table; margin: 0; } .v-dropdown-dd,.v-dropdown-dt{ z-index: 9999; } .v-dropdown-dd,.v-dropdown-dt,.v-dropdown-items { margin:0px; padding:0px; background-color: #fff; } .v-dropdown-items{ overflow:hidden; text-overflow:ellipsis; word-wrap:normal; white-space: nowrap; } .v-dropdown a, .v-dropdown a:visited { color:#000; text-decoration:none; outline:none; } .v-dropdown-selected { position: relative; display:block; border:1px solid #c8cdd4; border-radius: 2px; } .v-dropdown-selected:hover { color:#0092dd; border-color:#0092dd; } .v-dropdown-selected-span { width: 80%; display:block !important;/*修复会被别的样式覆盖的问题*/ text-align: center; cursor:pointer; white-space: nowrap; overflow: hidden; padding-left: 2px; } .v-dropdown-input{ -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #fff; background-image: none; /* border-radius: 4px;*/ border: 1px solid #fff; box-sizing: border-box; color: #1f2d3d; display: inline-block; font-size: inherit; /* height: 36px;*/ line-height: 1; outline: none; padding-left: 2px; transition: border-color .2s cubic-bezier(.645,.045,.355,1); width: 80%; text-align: left; } .v-dropdown-selected-i{ display: inline-block; position: absolute; top:0; right:0; font-size: 120%; } .v-dropdown-dd { position:absolute !important; z-index:9999999; } .v-dropdown-items { /*position:absolute;*/ position:fixed; top:2px; left:0px; list-style:none; border-radius: 2px; background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 0 6px rgba(0,0,0,.04); border:1px solid #d1dbe5; color:#C5C0B0; padding:5px 0px; width:auto; } .v-dropdown-items-li{ white-space: nowrap; } .v-dropdown-items-li.active{ background-color:#0092dd; } .v-dropdown-items-li.active a{ color:#fff; } .v-dropdown-items-li-a { width: 100%; display:block; padding-left: 8px; padding-right: 8px; } .v-dropdown-items-li-a-left{ text-align: left; } .v-dropdown-items-li-a-center{ text-align: center; } .v-dropdown-items-li-a-right{ text-align: right; } .v-dropdown-items-li:hover { background-color: #e4e8f1; color:#fff; } .v-dropdown-items-li.active:hover{ background-color:#0092dd; } /*------------分割线----------*/ .v-dropdown-items-multiple{ display: table; width: 100%; padding: 5px; } .v-dropdown-items-multiple span{ vertical-align: middle; font-size: 14px; font-weight: normal; color: rgba(0, 0, 0, 0.65); } .v-dropdown-items-multiple:hover{ background-color: #e6f7ff; } /*操作功能开始*/ .v-dropdown-operation { padding:8px 0 3px 0; font-size: 14px; border-top: 1px solid #e8e8e8; } .v-dropdown-operation-item { padding: 0 8px; color:#495060; } .v-dropdown-operation-item:last-child{ float: right; } .v-dropdown-operation-item:hover{ color: #1890ff; } /*操作功能结束*/ /*多主题放开后,此处作废*/ @charset "UTF-8"; @charset "UTF-8"; @charset "UTF-8"; .v-table-sort-icon .checked{ color:#48576a; } .v-table-filter-icon{ color:#999; } .v-table-filter-icon.checked{ color:#48576a; } @charset "UTF-8"; @charset "UTF-8";