bee-table/build/Table.css

306 lines
8.0 KiB
CSS
Raw Normal View History

2017-01-12 08:53:51 +08:00
/* FormGroup */
/* Navlayout */
.u-table {
font-size: 12px;
color: #666;
transition: opacity 0.3s ease;
position: relative;
line-height: 1.5;
overflow: hidden; }
.u-table table {
width: 100%;
border-collapse: collapse;
text-align: left; }
.u-table th {
background: #f7f7f7;
font-weight: bold;
transition: background .3s ease; }
.u-table td {
border-bottom: 1px solid #e9e9e9; }
.u-table tr {
transition: all .3s ease; }
.u-table tr:hover {
background: rgb(227,242,253); }
.u-table tr.tr-row-hover {
background: rgb(227,242,253); }
.u-table th, .u-table td {
padding: 16px 8px;
word-break: break-all; }
2017-01-12 08:53:51 +08:00
.u-table-scroll {
overflow: auto; }
.u-table-header {
overflow: hidden;
background: #f7f7f7; }
.u-table-fixed-header .u-table-body {
background: #fff;
position: relative; }
.u-table-fixed-header .u-table-body-inner {
height: 100%;
overflow: scroll; }
.u-table-fixed-header .u-table-scroll .u-table-header {
overflow-x: scroll;
padding-bottom: 20px;
margin-bottom: -20px;
overflow-y: auto;
2017-01-12 08:53:51 +08:00
box-sizing: border-box; }
.u-table-title {
padding: 16px 8px;
border-top: 1px solid #e9e9e9; }
.u-table-content {
position: relative; }
.u-table-footer {
padding: 16px 8px;
border-bottom: 1px solid #e9e9e9; }
2017-10-12 16:54:17 +08:00
.u-table-footer .u-table {
margin: -16px -8px; }
2017-01-12 08:53:51 +08:00
.u-table-placeholder {
padding: 16px 8px;
background: #fff;
border-bottom: 1px solid #e9e9e9;
text-align: center;
position: relative; }
.u-table-expand-icon-col {
width: 10px; }
.u-table-row-expand-icon, .u-table-expanded-row-expand-icon {
cursor: pointer;
display: inline-block;
2017-10-12 16:54:17 +08:00
margin-right: 10px;
2017-01-12 08:53:51 +08:00
width: 16px;
height: 16px;
text-align: center;
line-height: 16px;
border: 1px solid #e9e9e9;
user-select: none;
background: #fff; }
.u-table-row-spaced, .u-table-expanded-row-spaced {
visibility: hidden; }
.u-table-row-spaced:after, .u-table-expanded-row-spaced:after {
content: '.'; }
.u-table-row-expanded:after, .u-table-expanded-row-expanded:after {
content: '-'; }
.u-table-row-collapsed:after, .u-table-expanded-row-collapsed:after {
content: '+'; }
.u-table tr.u-table-expanded-row {
background: #f7f7f7; }
.u-table tr.u-table-expanded-row:hover {
background: #f7f7f7; }
.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: '<'; }
.u-table-next-columns-page {
float: right; }
.u-table-next-columns-page:before {
content: '>'; }
.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 .u-table-fixed-left-body-inner {
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; }
.u-table .u-table-scroll-position-left .u-table-fixed-left {
box-shadow: none; }
.u-table .u-table-scroll-position-right .u-table-fixed-right {
box-shadow: none; }
.u-table.bordered table {
border-collapse: collapse; }
.u-table.bordered th, .u-table.bordered td {
border: 1px solid #e9e9e9; }
.move-enter, .move-appear {
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: .5s;
animation-fill-mode: both;
animation-play-state: paused; }
.move-enter.move-enter-active, .move-appear.move-enter-active {
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; }
.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; }
.bee-table-column-sorter {
position: relative;
margin-left: 4px;
display: inline-block;
width: 14px;
height: 1em;
vertical-align: middle;
text-align: center; }
.bee-table-column-sorter > .bee-table-column-sorter-down,
.bee-table-column-sorter > .bee-table-column-sorter-up {
line-height: 6px;
display: block;
width: 14px;
cursor: pointer; }
.bee-table-column-sorter-down.on .uf-triangle-down,
.bee-table-column-sorter-down.on .uf-triangle-up,
.bee-table-column-sorter-up.on .uf-triangle-down,
.bee-table-column-sorter-up.on .uf-triangle-up {
color: #108ee9; }
.bee-table-column-sorter .uf-triangle-down, .bee-table-column-sorter .uf-triangle-up {
-webkit-filter: none;
filter: none;
font-size: 12px; }
.bee-table-column-sorter .uf-triangle-down, .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;
color: #999;
-webkit-transition: all .3s;
transition: all .3s; }