bee-table/build/Table.css

620 lines
17 KiB
CSS
Raw Normal View History

2017-01-12 08:53:51 +08:00
/* FormGroup */
/* Navlayout */
.u-table {
font-size: 12px;
color: #212121;
2017-01-12 08:53:51 +08:00
position: relative;
2019-04-17 15:47:46 +08:00
line-height: 1.33;
2017-01-12 08:53:51 +08:00
overflow: hidden; }
2018-05-11 11:30:56 +08:00
.u-table-body {
position: relative; }
.u-table-hiden-drag {
position: relative; }
.u-table-hiden-drag-li {
position: absolute;
top: 0px;
2019-01-07 14:57:58 +08:00
left: 0px; }
2017-01-12 08:53:51 +08:00
.u-table table {
width: 100%;
border-collapse: collapse;
text-align: left; }
.u-table th {
2019-04-03 15:23:36 +08:00
font-weight: bold;
text-align: left;
line-height: 16px; }
.u-table th[colspan] {
text-align: center; }
2018-12-16 22:22:45 +08:00
.u-table th ::last-child {
overflow: hidden; }
2017-01-12 08:53:51 +08:00
.u-table td {
border-bottom: 1px solid rgb(193, 199, 208);
line-height: 1.33; }
2019-02-20 15:16:58 +08:00
.u-table td a {
color: #2196F3; }
2019-02-20 15:16:58 +08:00
.u-table td a:hover {
2019-03-13 17:43:56 +08:00
color: #1565c0; }
2019-02-20 15:16:58 +08:00
.u-table td a:active {
2019-03-13 17:43:56 +08:00
color: #1565c0; }
2019-04-03 15:23:36 +08:00
.u-table thead tr:last-child {
border-bottom: 1px solid #C1C7D0; }
2019-04-22 10:24:52 +08:00
.u-table thead tr > th:last-child {
border-right: none; }
2019-02-25 15:39:56 +08:00
.u-table tr:hover td .uf-eye {
visibility: visible !important; }
2019-02-20 15:16:58 +08:00
.u-table tr tr a {
2019-03-13 17:43:56 +08:00
color: #2196F3; }
2019-02-20 15:16:58 +08:00
.u-table tr tr a:hover {
2019-03-13 17:43:56 +08:00
color: #1565c0; }
2019-02-20 15:16:58 +08:00
.u-table tr tr a:active {
2019-03-13 17:43:56 +08:00
color: #1565c0; }
2017-01-12 08:53:51 +08:00
.u-table tr.tr-row-hover {
2019-03-01 11:08:23 +08:00
background: rgb(235, 236, 240); }
.u-table th,
.u-table td {
padding: 12px 8px;
word-break: break-all; }
2019-04-18 11:08:30 +08:00
.u-table th.text-center,
.u-table td.text-center {
text-align: center; }
.u-table th.text-right,
.u-table td.text-right {
text-align: right; }
.u-table-sm td {
padding: 8px 8px; }
.u-table-lg td {
padding: 16px 8px; }
.u-table tr.filterable th {
2019-04-03 15:23:36 +08:00
padding-top: 5px !important;
padding-bottom: 5px !important; }
.u-table tr.filterable th .filterContext {
height: 35px; }
2019-04-17 15:47:46 +08:00
.u-table tr.filterable th .u-select-selection--single {
height: 26px; }
2017-12-24 21:42:58 +08:00
.u-table-row-hover {
2019-03-01 11:08:23 +08:00
background: rgb(235, 236, 240); }
2017-01-12 08:53:51 +08:00
.u-table-scroll {
overflow: auto; }
.u-table-bordered table {
2019-03-27 16:53:26 +08:00
border: 1px solid rgb(193, 199, 208);
2018-05-11 11:30:56 +08:00
box-sizing: border-box;
table-layout: fixed; }
2019-04-03 15:23:36 +08:00
.u-table-bordered .u-table-header > table {
border-bottom: 0; }
.u-table-bordered .u-table-header ~ .u-table-body table, .u-table-bordered .u-table-header ~ .u-table-body-outer table {
border-top: 0px; }
.u-table-bordered th {
2019-03-27 16:53:26 +08:00
border-bottom: 1px solid rgb(193, 199, 208);
2018-05-11 09:29:43 +08:00
box-sizing: border-box; }
.u-table-bordered th,
.u-table-bordered td {
2019-03-27 16:53:26 +08:00
border-right: 1px solid rgb(193, 199, 208);
2018-05-11 09:29:43 +08:00
box-sizing: border-box; }
.u-table-drag-border tr th.th-can-not-drag {
overflow: hidden; }
2017-01-12 08:53:51 +08:00
.u-table-header {
overflow: hidden;
background: rgb(241, 242, 245);
color: rgb(33, 33, 33); }
.u-table.fixed-height td {
padding: 0px 8px; }
2017-01-12 08:53:51 +08:00
.u-table-fixed-header .u-table-body {
background: #fff;
position: relative; }
.u-table-fixed-left .u-table-body-inner {
margin-right: -20px;
padding-right: 20px; }
.u-table-fixed-header .u-table-fixed-left .u-table-body-inner {
padding-right: 0px; }
2017-01-12 08:53:51 +08:00
.u-table-fixed-header .u-table-body-inner {
2019-04-03 15:23:36 +08:00
height: 100%; }
2017-01-12 08:53:51 +08:00
.u-table-fixed-header .u-table-scroll .u-table-header {
overflow-x: scroll;
2017-01-12 08:53:51 +08:00
padding-bottom: 20px;
margin-bottom: -20px;
overflow-y: scroll;
2017-01-12 08:53:51 +08:00
box-sizing: border-box; }
.u-table-title {
padding: 12px 8px;
2019-03-27 16:53:26 +08:00
border-top: 1px solid rgb(193, 199, 208); }
2017-01-12 08:53:51 +08:00
.u-table-content {
position: relative; }
.u-table-footer {
padding: 12px 8px;
2019-03-27 16:53:26 +08:00
border-bottom: 1px solid rgb(193, 199, 208); }
.u-table-footer .u-table-scroll {
overflow-x: hidden; }
2017-10-12 16:54:17 +08:00
.u-table-footer .u-table {
margin: -12px -8px; }
2017-01-12 08:53:51 +08:00
.u-table-placeholder {
2018-05-22 19:38:15 +08:00
padding: 12px 8px;
2017-01-12 08:53:51 +08:00
background: #fff;
2019-03-27 16:53:26 +08:00
border-bottom: 1px solid rgb(193, 199, 208);
2017-01-12 08:53:51 +08:00
text-align: center;
position: relative; }
.u-table-placeholder .table-nodata {
font-size: 48px; }
2017-01-12 08:53:51 +08:00
.u-table-expand-icon-col {
width: 10px; }
2019-04-11 11:39:21 +08:00
.u-table-row .u-table tr, .u-table-expanded-row .u-table tr {
background: #fff; }
.u-table-row .u-table tr.u-table-row-hover, .u-table-expanded-row .u-table tr.u-table-row-hover {
background: rgb(235, 236, 240); }
2017-01-12 08:53:51 +08:00
.u-table-row-expand-icon, .u-table-expanded-row-expand-icon {
cursor: pointer;
display: inline-block;
margin-right: 0px;
2017-01-12 08:53:51 +08:00
width: 16px;
height: 16px;
text-align: center;
line-height: 16px;
2019-03-27 16:53:26 +08:00
border: 1px solid rgb(193, 199, 208);
2017-01-12 08:53:51 +08:00
user-select: none;
2018-12-29 14:47:52 +08:00
background: #fff;
margin-right: 10px; }
2017-01-12 08:53:51 +08:00
.u-table-row-spaced, .u-table-expanded-row-spaced {
visibility: hidden; }
.u-table-row-spaced:after, .u-table-expanded-row-spaced:after {
content: "."; }
2017-01-12 08:53:51 +08:00
.u-table-row-expanded:after, .u-table-expanded-row-expanded:after {
content: "-"; }
2017-01-12 08:53:51 +08:00
.u-table-row-collapsed:after, .u-table-expanded-row-collapsed:after {
content: "+"; }
2019-02-20 15:16:58 +08:00
.u-table-row.selected {
background: #FFF7E7; }
2017-01-12 08:53:51 +08:00
.u-table tr.u-table-expanded-row {
background: #f7f7f7; }
.u-table tr.u-table-expanded-row:hover {
background: #f7f7f7; }
.u-table tr.u-table-expanded-row .u-table {
z-index: 1; }
2017-01-12 08:53:51 +08:00
.u-table-column-hidden {
display: none; }
.u-table-prev-columns-page, .u-table-next-columns-page {
cursor: pointer;
color: #666;
z-index: 1; }
.u-table-prev-columns-page:hover, .u-table-next-columns-page:hover {
color: #2db7f5; }
.u-table-prev-columns-page-disabled, .u-table-next-columns-page-disabled {
cursor: not-allowed;
color: #999; }
.u-table-prev-columns-page-disabled:hover, .u-table-next-columns-page-disabled:hover {
color: #999; }
.u-table-prev-columns-page {
margin-right: 8px; }
.u-table-prev-columns-page:before {
content: "<"; }
2017-01-12 08:53:51 +08:00
.u-table-next-columns-page {
float: right; }
.u-table-next-columns-page:before {
content: ">"; }
2017-01-12 08:53:51 +08:00
.u-table-fixed-left, .u-table-fixed-right {
position: absolute;
top: 0;
overflow: hidden;
z-index: 1; }
.u-table-fixed-left table, .u-table-fixed-right table {
width: auto;
background: #fff; }
.u-table-fixed-left {
left: 0;
box-shadow: 4px 0 4px rgba(100, 100, 100, 0.1); }
.u-table-fixed-left-body-inner {
2017-01-12 08:53:51 +08:00
margin-right: -20px;
padding-right: 20px; }
.u-table-fixed-left-fixed-header .u-table-fixed-left .u-table-fixed-left-body-inner {
padding-right: 0; }
.u-table-fixed-right {
right: 0;
box-shadow: -4px 0 4px rgba(100, 100, 100, 0.1); }
.u-table-fixed-right-expanded-row {
color: transparent;
pointer-events: none; }
2019-02-18 14:54:33 +08:00
.u-table-scroll-position-left .u-table-fixed-left {
box-shadow: none; }
.u-table-scroll-position-right .u-table-fixed-right {
2017-01-12 08:53:51 +08:00
box-shadow: none; }
.u-table-thead .filter-text, .u-table-thead .filter-dropdown, .u-table-thead .filter-date {
font-weight: normal; }
.u-table-thead .filter-wrap {
2018-11-13 14:36:12 +08:00
display: flex;
justify-content: center;
align-items: center; }
.u-table-thead .filter-wrap .filter-btns {
min-width: 58px; }
2018-05-11 09:29:43 +08:00
.u-table-thead th {
background: rgb(241, 242, 245);
color: rgb(33, 33, 33);
2018-12-18 19:32:36 +08:00
background-clip: padding-box;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
2019-03-29 11:30:44 +08:00
/*
Introduced in IE 10.
2018-12-18 19:32:36 +08:00
*/
-ms-user-select: none;
user-select: none; }
.u-table-thead th .bee-table-column-sorter {
position: relative;
margin-left: 4px;
2019-04-17 15:47:46 +08:00
height: 16px;
vertical-align: middle;
text-align: center;
2019-04-17 15:47:46 +08:00
display: inline-block;
margin-top: -3px; }
.u-table-thead th .bee-table-column-sorter i {
padding: 0px;
font-weight: 600;
color: #505F79; }
.u-table-thead th .bee-table-column-sorter > .bee-table-column-sorter-down,
.u-table-thead th .bee-table-column-sorter > .bee-table-column-sorter-up, .u-table-thead th .bee-table-column-sorter > .bee-table-column-sorter-flat {
2019-04-17 15:47:46 +08:00
line-height: 16px;
display: block;
2018-11-27 17:17:03 +08:00
width: 34px;
cursor: pointer; }
.u-table-thead th .bee-table-column-sorter-down.on .uf-triangle-down,
.u-table-thead th .bee-table-column-sorter-down.on .uf-triangle-up,
.u-table-thead th .bee-table-column-sorter-up.on .uf-triangle-down,
.u-table-thead th .bee-table-column-sorter-up.on .uf-triangle-up {
color: #108ee9; }
.u-table-thead th .bee-table-column-sorter .uf-triangle-down,
.u-table-thead th .bee-table-column-sorter .uf-triangle-up {
-webkit-filter: none;
filter: none;
font-size: 12px; }
.u-table-thead th .bee-table-column-sorter .uf-triangle-down,
.u-table-thead th .bee-table-column-sorter .uf-triangle-up {
display: inline-block;
padding: 0;
font-size: 12px;
font-size: 8px\9;
-webkit-transform: scale(0.66667) rotate(0deg);
-ms-transform: scale(0.66667) rotate(0deg);
transform: scale(0.66667) rotate(0deg);
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=1, M12=0, M21=0, M22=1)";
zoom: 1;
line-height: 4px;
height: 4px;
2019-01-07 14:57:58 +08:00
color: #999; }
.u-table-thead th:hover .bee-table-column-sorter {
display: inline-block; }
2018-05-11 09:29:43 +08:00
.u-table-thead .th-drag {
2018-10-11 14:12:19 +08:00
cursor: move; }
.u-table-thead .th-drag:hover {
2019-03-01 11:08:23 +08:00
background: rgb(235, 236, 240); }
2018-05-11 09:29:43 +08:00
.u-table-thead .th-drag-hover {
background: #ccc; }
2018-05-11 11:30:56 +08:00
.u-table-thead-th {
position: relative; }
.u-table-thead-th-drag-gap {
height: 100%;
position: absolute;
2018-11-26 20:42:18 +08:00
right: -10px;
2018-05-11 11:30:56 +08:00
top: 0;
2018-11-26 20:42:18 +08:00
width: 20px;
box-sizing: border-box;
z-index: 1; }
2018-11-26 20:42:18 +08:00
.u-table-thead-th-drag-gap .online {
height: 100%;
width: 1px;
2019-02-13 17:11:07 +08:00
background: transparent;
2018-11-26 20:42:18 +08:00
margin: 0 auto; }
.u-table-thead-th-drag-gap .online-hover {
background: #000000; }
2018-12-02 16:53:06 +08:00
.u-table-thead-th-drag-gap:hover {
cursor: col-resize; }
2018-12-02 16:53:06 +08:00
.u-table-thead-th-drag-gap:hover .online {
background: #000000; }
2018-05-11 11:30:56 +08:00
.u-table-thead-th:last-child-drag-gap {
border: none; }
.u-table-filter-column-pop-cont {
2019-03-29 11:30:44 +08:00
margin: 0px;
max-height: 300px;
2019-03-29 16:21:35 +08:00
overflow-y: scroll;
color: #212121; }
.u-table-filter-column-clear-setting {
2019-04-03 15:23:36 +08:00
cursor: pointer;
2019-03-29 11:30:44 +08:00
margin-bottom: 4px; }
.u-table-filter-column-cont {
position: relative; }
.u-table-filter-column-filter-icon {
position: absolute;
2019-04-17 15:47:46 +08:00
width: 30px;
height: 38px;
line-height: 38px;
right: 0px;
2019-04-17 15:47:46 +08:00
top: 1px;
z-index: 2;
2019-03-29 11:30:44 +08:00
background: rgb(241, 242, 245);
text-align: center;
cursor: pointer; }
.u-table-filter-column-filter-icon i.uf {
2019-04-17 15:47:46 +08:00
padding: 0px;
color: #505F79; }
.u-table-filter-column-pop-cont-item {
2019-03-29 11:30:44 +08:00
margin-top: 8px;
2019-04-23 18:47:27 +08:00
font-size: 12px;
cursor: pointer; }
2019-03-29 11:30:44 +08:00
.u-table-filter-column-pop-cont-item .u-checkbox {
margin: 0px; }
.u-table-filter-column-pop-cont-item span.drop-menu-title {
2019-03-29 11:30:44 +08:00
margin-left: -3px;
2019-04-03 15:23:36 +08:00
max-width: 132px;
width: auto !important;
min-width: 56px;
overflow: hidden;
text-overflow: ellipsis;
2019-03-29 11:30:44 +08:00
white-space: nowrap;
display: inline-block;
vertical-align: middle; }
.u-table-filter-column-pop .u-modal-dialog {
border: 1px solid #ccc;
background: #fff; }
.u-table-row-fixed-columns-in-body {
display: none;
pointer-events: none; }
2019-01-16 13:57:31 +08:00
.u-table .u-checkbox {
2019-04-17 15:47:46 +08:00
height: 14px;
line-height: 14px;
2019-04-25 14:12:43 +08:00
margin: 0px;
display: block; }
2019-04-17 15:47:46 +08:00
.u-table .u-checkbox .u-checkbox-label {
2019-04-18 11:08:30 +08:00
line-height: 14px;
padding-left: 16px; }
2019-04-17 15:47:46 +08:00
.u-table .u-checkbox .u-checkbox-label:before, .u-table .u-checkbox .u-checkbox-label:after {
width: 14px;
height: 14px; }
.u-table .u-table-scroll tr td:first-child, .u-table .u-table-scroll tr th:first-child, .u-table .u-table-fixed-left tr td:first-child, .u-table .u-table-fixed-left tr th:first-child {
padding-left: 12px; }
.u-table.has-fixed-left .u-table-scroll tr td:first-child, .u-table.has-fixed-left .u-table-scroll tr th:first-child {
padding-left: 8px; }
.u-table ::-webkit-scrollbar {
width: 8px;
height: 8px; }
.u-table ::-webkit-scrollbar-button {
display: none; }
.u-table ::-webkit-scrollbar-thumb {
background: #d5d5d5 !important;
border-radius: 5px; }
.u-table ::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: #d5d5d5;
position: absolute; }
.u-table ::-webkit-scrollbar-track {
display: none; }
.u-table ::-webkit-scrollbar-track-piece {
display: none; }
2017-01-12 08:53:51 +08:00
2018-12-26 14:39:20 +08:00
.u-table:focus {
outline: none;
box-shadow: 0 0 0; }
2019-02-13 17:11:07 +08:00
.u-table-bordered .u-table-drag-gap {
background: #e9e9e9; }
2017-01-12 08:53:51 +08:00
.u-table.bordered table {
border-collapse: collapse; }
.u-table.bordered th,
.u-table.bordered td {
2019-03-27 16:53:26 +08:00
border: 1px solid rgb(193, 199, 208); }
2017-01-12 08:53:51 +08:00
.move-enter,
.move-appear {
2017-01-12 08:53:51 +08:00
opacity: 0;
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-duration: 2.5s;
animation-fill-mode: both;
animation-play-state: paused; }
.move-leave {
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
animation-duration: 0.5s;
2017-01-12 08:53:51 +08:00
animation-fill-mode: both;
animation-play-state: paused; }
.move-enter.move-enter-active,
.move-appear.move-enter-active {
2017-01-12 08:53:51 +08:00
animation-name: moveLeftIn;
animation-play-state: running; }
.move-leave.move-leave-active {
animation-name: moveRightOut;
animation-play-state: running; }
@keyframes moveLeftIn {
0% {
transform-origin: 0 0;
transform: translateX(30px);
opacity: 0;
background: rgb(238,238,238); }
20% {
transform-origin: 0 0;
transform: translateX(0);
opacity: 1; }
80% {
background: rgb(238,238,238); }
100% {
background: transparent;
opacity: 1; } }
@keyframes moveRightOut {
0% {
transform-origin: 0 0;
transform: translateX(0);
opacity: 1; }
100% {
transform-origin: 0 0;
transform: translateX(-30px);
opacity: 0; } }
.formItem-style {
height: unset;
min-height: unset;
padding: 0; }
.errMessage-style {
display: none;
border: none;
/* margin-top: 5px; */
/* margin-bottom: 5px; */
background: transparent;
color: #f22c1d;
/* padding-left: 12px; */
/* padding-right: 12px; */
margin: 0;
position: absolute;
padding: 0;
top: 3px;
right: 0; }
2017-11-08 15:54:23 +08:00
.editable-cell {
position: relative; }
.editable-cell-input-wrapper,
.editable-cell-text-wrapper {
padding-right: 24px; }
2019-03-04 16:44:31 +08:00
.editable-cell-input-wrapper .u-form-item.formItem-style .u-label {
display: none; }
.editable-cell-input-wrapper .u-input-group .u-form-control {
height: 26px;
font-size: 12px; }
2017-11-08 15:54:23 +08:00
.editable-cell-text-wrapper {
padding: 5px 24px 5px 5px;
height: 30px; }
.editable-cell-icon,
.editable-cell-icon-check {
position: absolute;
top: 0;
right: 0;
width: 20px;
cursor: pointer; }
.editable-cell-icon {
line-height: 28px;
display: none; }
.editable-cell-icon-check {
line-height: 28px; }
.editable-cell:hover .editable-cell-icon {
display: inline-block; }
.editable-cell-icon:hover,
.editable-cell-icon-check:hover {
color: #2db7f5; }
.editable-add-btn {
margin-bottom: 8px; }
.search-component {
margin-bottom: 20px; }
.search-component .empty-search {
position: absolute;
right: 45px;
z-index: 20;
top: 5px;
color: #524e4e;
cursor: pointer; }
.search-component.u-input-group.simple {
float: right; }
.search-component.u-input-group.simple .u-form-control {
width: 251px;
background: #f5f5f5;
border-color: #f5f5f5;
border-radius: 20px; }
.search-component.u-input-group.simple .u-input-group-btn {
top: 3px;
right: 20px;
position: absolute; }
2018-05-11 09:29:43 +08:00
.col-resize-container {
height: 0px;
position: relative; }
.col-resize-container + .table-col-resizer:first-of-type {
table-layout: fixed; }
.col-resize-container .active-drag .icon {
visibility: visible; }
.col-resize-container .last-handle {
display: none; }
.col-resize-container .drag-handle {
margin-left: -5px;
position: absolute;
z-index: 5;
width: 10px;
cursor: col-resize; }
.col-resize-container .drag-handle .icon {
color: #40b0dc;
top: -1px;
position: absolute;
visibility: hidden; }
.col-resize-container .drag-handle .icon:first-child {
left: -2px; }
.col-resize-container .drag-handle .icon:last-child {
left: 6px; }
.col-resize-container .drag-handle:hover .icon {
visibility: visible; }
.col-resize-container .drag-handle:hover .col-resizer {
border: 1px solid; }
.col-resize-container .drag-handle.disabled-drag {
cursor: default;
display: none; }
.col-resize-container .drag-handle .col-resizer {
position: absolute;
width: 1px;
height: 100%;
top: 0px;
left: 3px; }
2018-12-11 16:54:25 +08:00
.u-filter-dropdown-menu-wrap {
z-index: 1800; }
.u-filter-dropdown-menu-wrap .u-dropdown-menu li.u-dropdown-menu-item {
2019-04-17 15:47:46 +08:00
line-height: 26px;
height: 26px;
2018-12-11 16:54:25 +08:00
padding: 0px 16px 0 16px;
cursor: pointer; }
2019-02-18 14:54:33 +08:00
2019-04-03 15:23:36 +08:00
.filter-wrap .u-form-control {
2019-04-17 15:47:46 +08:00
height: 26px; }
2019-04-03 15:23:36 +08:00
.filter-wrap .u-input-number.u-input-group.simple .u-input-group-btn .icon-group {
2019-04-17 15:47:46 +08:00
height: 26px; }
2019-04-03 15:23:36 +08:00
2019-02-18 14:54:33 +08:00
.u-row-hover {
position: absolute;
right: 24px;
display: none;
align-items: center;
justify-content: center;
2019-03-11 13:08:56 +08:00
background: transparent; }
2019-02-18 14:54:33 +08:00
.u-row-hover2 {
position: absolute;
left: 100; }
2019-03-01 11:08:23 +08:00
.header-dispaly-in-row.u-table table {
table-layout: fixed; }
.header-dispaly-in-row th {
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
overflow: hidden; }
.body-dispaly-in-row.u-table table {
table-layout: fixed; }
.body-dispaly-in-row td {
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
overflow: hidden; }
2019-04-23 18:47:27 +08:00
.u-table-drag-hidden-cont {
position: absolute;
top: -1000px; }