You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

364 lines
6.9 KiB

/*
IMPORTANT:
In order to preserve the uniform grid appearance, all cell styles need to have padding, margin and border sizes.
No built-in (selected, editable, highlight, flashing, invalid, loading, :focus) or user-specified CSS
classes should alter those!
*/
.slick-header.ui-state-default, .slick-headerrow.ui-state-default, .slick-footerrow.ui-state-default, .slick-top-panel-scroller.ui-state-default, .slick-group-header.ui-state-default {
width: 100%;
overflow: auto;
position: relative;
border-left: 0px !important;
}
.slick-header.ui-state-default {
overflow: inherit;
border-top: 1px solid #e8eaec;
}
.slick-header::-webkit-scrollbar, .slick-headerrow::-webkit-scrollbar, .slick-footerrow::-webkit-scrollbar {
display: none
}
.slick-header-columns, .slick-headerrow-columns, .slick-footerrow-columns, .slick-group-header-columns {
position: relative;
white-space: nowrap;
cursor: default;
overflow: hidden;
}
.slick-header-column.ui-state-default, .slick-group-header-column.ui-state-default {
position: relative;
display: inline-block;
box-sizing: content-box !important; /* this here only for Firefox! */
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
height: 40px;
line-height: 36px;
margin: 0;
border-width: 0;
font-weight: 700;
background-image: linear-gradient(#e8eaec,#e8eaec),linear-gradient(#e8eaec,#e8eaec);
background-repeat: no-repeat;
background-size: 1px 100%,100% 1px;
background-position: 100% 0,100% 100%;
}
.slick-footerrow-column.ui-state-default {
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
margin: 0;
padding: 4px;
border-right: 1px solid silver;
border-left: 0px;
border-top: 0px;
border-bottom: 0px;
float: left;
line-height: 20px;
vertical-align: middle;
}
.slick-headerrow-column.ui-state-default, .slick-footerrow-column.ui-state-default {
padding: 4px;
}
.slick-header-column-sorted {
font-style: italic;
}
.slick-sort-indicator {
display: inline-block;
width: 8px;
height: 5px;
margin-left: 4px;
margin-top: 6px;
}
.slick-sort-indicator-numbered {
display: inline-block;
width: 8px;
height: 5px;
margin-left: 4px;
margin-top: 0;
line-height: 20px;
font-family: Arial;
font-style: normal;
font-weight: bold;
color: #6190CD;
}
.slick-sort-indicator-desc {
background: url(images/sort-desc.gif);
}
.slick-sort-indicator-asc {
background: url(images/sort-asc.gif);
}
.slick-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
cursor: col-resize;
width: 9px;
right: -5px;
top: 0;
height: 100%;
z-index: 1;
}
.slick-sortable-placeholder {
background: silver;
}
.grid-canvas {
position: relative;
outline: 0;
}
.slick-row.ui-widget-content, .slick-row.ui-state-active {
position: absolute;
border: 0px;
width: 100%;
}
.slick-cell, .slick-headerrow-column , .slick-footerrow-column{
position: absolute;
background-image: linear-gradient(#e8eaec,#e8eaec),linear-gradient(#e8eaec,#e8eaec);
background-repeat: no-repeat;
background-size: 1px 100%,100% 1px;
background-position: 100% 0,100% 100%;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
vertical-align: middle;
z-index: 1;
padding: 8px 20px;
margin: 0;
white-space: nowrap;
cursor: default;
}
.slick-cell, .slick-headerrow-column{
border-bottom-color: silver;
}
.slick-footerrow-column {
border-top-color: silver;
}
.slick-group {
}
.slick-group-toggle {
display: inline-block;
}
.slick-cell.highlighted {
background: lightskyblue;
background: rgba(0, 0, 255, 0.2);
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
}
.slick-cell.flashing {
border: 1px solid red !important;
}
.slick-cell.editable {
z-index: 11;
overflow: visible;
}
.slick-cell:focus {
outline: none;
}
.slick-reorder-proxy {
display: inline-block;
background: blue;
opacity: 0.15;
filter: alpha(opacity = 15);
cursor: move;
}
.slick-reorder-guide {
display: inline-block;
height: 2px;
background: blue;
opacity: 0.7;
filter: alpha(opacity = 70);
}
.slick-selection {
z-index: 10;
position: absolute;
border: 2px dashed black;
}
.slick-pane {
position: absolute;
outline: 0;
overflow: hidden;
width: 100%;
}
.slick-pane-header {
display: block;
border-width: 0;
background-color: #f8f8f9;
height: 41px;
}
.slick-header {
overflow: hidden;
position: relative;
border-width: 0;
}
.slick-headerrow {
overflow: hidden;
position: relative;
}
.slick-top-panel-scroller {
overflow: hidden;
position: relative;
}
.slick-top-panel {
width: 10000px
}
.slick-viewport {
position: relative;
outline: 0;
width: 100%;
}
.slick-edit-checked {
margin: 0 auto;
display: inline-block;
position: relative;
border: 1px solid #dcdfe6;
border-radius: 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 14px;
height: 14px;
background-color: #fff;
z-index: 1;
background-color: #1890ff;
border-color: #1890ff;
}
.slick-edit-checked::after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
outline-width: 0;
}
.slick-edit-unchecked {
margin: 0 auto;
display: inline-block;
position: relative;
border: 1px solid #dcdfe6;
border-radius: 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 14px;
height: 14px;
background-color: #fff;
z-index: 1;
}
.slick-edit-unchecked::after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(0);
width: 3px;
outline-width: 0;
}
div.active.slick-cell.editable {
padding: 6px 10px;
}
.slick-cell.editable {
border-width: 0;
}
.slick-row.active {
background: #e6f7ff !important;
color: white;
}
.slick-cell {
color: #606266;
line-height: 24px;
}
.grid-canvas-left input[type='checkbox'] {
margin: 3px 0 0 2px;
}
.slick-cell.selected {
background-color: transparent;
}
.slick-footerrow-columns .slick-footerrow-column {
padding: 1px;
border: 1px solid #e8eaec;
border-width: 1px 1px 1px 0;
background-color: #f5f7fa;
font-weight: 400;
color: #606266;
height: 41px;
font-size: 14px;
line-height: 30px;
}
.decimal-column-show {
text-align: right;
}
.grid-footer-column-right {
text-align: right;
}
.slick-columnpicker {
overflow-y: scroll !important;
max-height: 300px !important;
}
.ui-widget {
font-family: "Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif";
font-size: 12px;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
color: #606266;
}