@import "ladder-base";
@media all and (-webkit-min-device-pixel-ratio:0){
    -webkit-appearance: none;
}
.yui-datagrid-view{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
/*基本表格*/
.yui-datagrid-table {
    line-height: 20px;
    font-size: 12px;
    border-collapse: collapse;
    clear: both;
    & *{
        font: @font;
    }
}

/*表格标题列*/
//.yui-datagrid-table > thead th {
//    background-color: @background-lightest;
//    text-align: center;
//    height: @height-outer !important;
//    color: @color-base !important;
//    border: none !important;
//    font-weight: bold;
//    transition: all 0.3s;
//    border-bottom: @border-color-base solid 1px;
//}
.yui-datagrid-table > thead th.header{
    padding-right: 8px;
}
/*表头排序*/
.yui-datagrid-table > thead tr th {
    background-color: @background-lightest;
    cursor: pointer;
    overflow: hidden;
    height: @height-table !important;
    color: @color-light !important;
    border: none !important;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    border-bottom: @border-color-lighter solid 1px;
}
.yui-datagrid-table > thead tr .header:after{
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 0;
    content: "\e7ba";
    font-family:@icon-font-name;
    font-size: @font-small;
    line-height: @height-outer;
    //color: @color-lighter + 80;
    color:@color-lightest
}
.yui-datagrid-table > thead tr .headerSortUp:after {
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 0;
    content: "\e7c3";
    font-size: @font-small;
    font-family:@icon-font-name;
    line-height: @height-outer;
    color: @color-lightest;
}

.yui-datagrid-table > thead tr .headerSortDown:after {
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 0;
    content: "\e7c4";
    font-family:@icon-font-name;
    font-size: @font-small;
    line-height: @height-outer;
    color: @color-lightest;
}
/*表头排序背景*/
.yui-datagrid-table > thead > tr .headerSortDown, .yui-datagrid-table > thead > tr .headerSortUp {
    //background-color: #8dbdd8;
    background-color:@background-lightest;
}


/*表格数据行列*/
.yui-datagrid-table > tbody td {
    border: 1px solid @border-color-lighter;
    /*padding: 4px;*/
    height: @height-table;
    font-size: @font-small;
    vertical-align: middle;
    line-height: 20px;
    word-break: break-all;
    color: @color-light;
    border-bottom: none !important;
    cursor: pointer;
    box-sizing: border-box;
    padding: 5px;
}
.yui-datagrid-table.nogridline > tbody td{
    border: none;
}
.yui-datagrid-table > tbody td .td-placeholder{
    display: inline-block;
    width: 15px;
    height: 10px;
    cursor: pointer;
    font-size: 12px;
}
.yui-datagrid-table > tbody td > .menus{
    position: relative;
    &.down::after{
        content: "\e68f";
    }
    &::after{
        top: 2px;
        right: 10px;
        height: 24px;
        font-family: "ladderfont" !important;
        font-style: normal;
        content: '\e68c';
        font-size: 14px;
        font-weight: 400;
        color: @color-lightest;
    }
    &>*{
        position: absolute;
        margin-top: 100%;
        float: right;
    }
}
.yui-datagrid-table > tbody td>.operate > a {
    margin: 0 3px;
    text-decoration: none;
    color: @ladder-background-base;
}
.yui-datagrid-table > tbody td > .operate > a:hover {
    color: @ladder-color-base;
}
/*.yui-datagrid-table > tbody td > .operate > a[data-action="limit"] {*/
/*color: #ea5800;*/
/*}*/
/*.yui-datagrid-table > tbody td > .operate > a[data-action="sync"] {*/
/*color:#009fff ;*/
/*}*/
/*.yui-datagrid-table > tbody td > .operate > a[data-action="edit"] {*/
/*color: green;*/
/*}*/
/*.yui-datagrid-table > tbody td > .operate > a[data-action="delete"] {*/
/*color: #666;*/
/*}*/
/*.yui-datagrid-table > tbody td > .operate > a[data-action="approval"] {*/
/*color: red;*/
/*}*/
.yui-datagrid-table > tbody td.marker {
    background: url(images/prompt.png) right bottom no-repeat;
}
.yui-datagrid-table > tbody td.editing {
    padding: 0;
    margin: 0;
    //border: 1px solid @ladder-color-base;
    //border-right: none;
    *{
        outline: none;
    }
    .js-yui{
        border-color: @ladder-border-color;
    }
}
.yui-datagrid-table > thead td.selectArea {
    width: @height-base;
    cursor: pointer;
    border-color: #fff;
    //background: @ladder-background-base;
    background: @background-lighter;
    //color: #fff;
}
/*表格的选择框*/
//.yui-datagrid-table > tbody td .yui-datagrid-checkbox {
//    position: relative;
//    display: block;
//    outline: none;
//    border: none;
//    margin: 0;
//    padding: 0;
//    height: 14px;
//    width: 14px;
//}
//.yui-datagrid-table > tbody td .yui-datagrid-checkbox:after{
//    content: '';
//    display: block;
//    outline: none;
//    border: @border-color-base solid 1px;
//    background: #fff;
//    width: 12px;
//    height: 12px;
//    margin: 0;
//    padding: 0;
//}
//.yui-datagrid-table > tbody .yui-datagrid-checkbox:checked:after{
//    width: 14px;
//    height: 14px;
//    background: url(images/icon-checked.png) no-repeat;
//    border: 0;
//    background-size: 14px !important;
//}

/*.yui-datagrid-table > tbody .yui-datagrid-checkbox:checked:before{*/
/*content: '';*/
/*background: #4e4e4e;*/
/*width: 8px;*/
/*height: 8px;*/
/*display: block;*/
/*position: absolute;*/
/*left: 3px;*/
/*top: 3px;*/
/*}*/
/*.yui-datagrid-table > tbody .yui-datagrid-checkbox:checked:after{*/
/*border: #4e4e4e solid 1px;*/
/*}*/

/*当前选行*/
.yui-datagrid-table > tbody tr.currentSelect {
    /*background-color: #5c9ccc;*/
    background-color: @background-lightest;
    color:@color-dark;
    //border-top: 1px solid @border-color-base;
}
/*.yui-datagrid-table > tbody tr.currentSelect td > .operate > a{*/
/*color: inherit;*/
/*}*/
/*斑马线*/
.yui-datagrid-table > tbody tr:nth-child(odd) {
    /*background-color: #F0F0F6;*/
}

.yui-datagrid-table .hiddenRow {
    height: 0 !important;
    border: none;
    background-color: transparent !important;
    color: transparent !important;
}

.yui-datagrid-table .hiddenRow td, table.yui-datagrid .hiddenRow th {
    border: none !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}
.yui-datagrid-table tbody tr td .treearea{
    display: inline-block;
    width: 18px;
    height: 10px;
    cursor: pointer;
    background: url("images/gridparent_ico01.png") no-repeat left center;
    transition: all 0.6s;
}
.yui-datagrid-table tbody tr td .treearea.parentNode_expan{
    background: url("images/gridparent_ico02.png") no-repeat left center;
}

/*.yui-datagrid-table tbody tr td.parentNode_Noexpan {*/
/*background: url("images/gridparent_ico01.png") no-repeat left center;*/
/*}*/

/*.yui-datagrid-table tbody tr td.parentNode_expan {*/
/*background: url("images/gridparent_ico02.png") no-repeat left center;*/
/*}*/

/*.yui-datagrid-table tbody tr.childNode_Noexpan {*/
/*!*background-color: #fff8ca;*!*/
/*color: #6d7177;*/
/*}*/

table.yui-datagrid tbody tr.childNode_Noexpan td:first-child {
    background: url("images/gridchild_ico02.png") no-repeat left center;
}

/*表格数据体*/
.yui-datagrid-body {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /*position: relative;*/
}
/*冻结表格表头*/
.yui-datagrid-th {
    clear: both;
    /*position: relative;*/
    /*z-index: 500;*/
}

/*补白区域*/
.yui-datagrid-space {
    clear: both;
    border-left: 1px solid @border-color-base;
    border-right: 1px solid @border-color-base;
    border-bottom: none;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    /*border-top: 1px solid transparent;*/
    //margin-top: -1px;
}

.yui-datagrid-space .nodata {
    border: 1px dotted #ccc;
    height: 50px;
    line-height: 50px;
    width: 280px;
    /* position: relative; */
    /* top: 50%; */
    /* left: 50%; */
    /* margin-left: -140px; */
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}
/*表格组件的头部*/
.yui-datagrid-head {
    clear: both;
    width: 100%;
    float: left;
    clear: both;
    padding: 6px 0 0 0;
    box-sizing: unset;
    /*background: #f2f2f2;*/
    height: auto !important;
    position: relative;
}
.yui-datagrid-head .yui-dgqf ul {
    display: inline;
}

.yui-datagrid-head li {
    float: left;
    list-style: none;
    margin-right: 5px;
}
/*.yui-datagrid-head .yui-dgqf li:first-child{*/
/*margin-left: 10px;*/
/*}*/
.yui-datagrid-head .caption,.yui-datagrid-first .caption {
    margin: 0;
    display: inline-block;
    background-color: #384355;
    color: #ffffff;
    font-size: 14px;
    padding: 0 10px;
    line-height: 32px;
    float: left;
}
/*表格设置按钮*/
.yui-datagrid-head .setting {
    padding-right: 5px;
    float: right;
}

.yui-datagrid-head .setting .settingbtn {
    height: 26px;
    line-height: 26px;
    margin: 0px;
}

.yui-datagrid-head .iconsetting {
    background-color: transparent;
    position: relative;
    bottom: 0;
    border: none;
    padding: 0;
    width: 28px;
    min-width: 0;
    height: 28px;
    background-image: url("images/set_icon.png");
    background-repeat: no-repeat;
    outline: none;
    margin: 3px 0 0;
}
/*表格导出按钮*/
.yui-datagrid-head .exportbtn {
    height: @height-inner;
    width: 90px;
    margin: 0;
    display: block;
    border: 1px solid #384355;
    text-align: center;
    line-height: @height-inner;
    background-color: #384355;
    color: #fff;
}

.yui-datagrid-head .exportbtn:hover {
    background-color: #f5f7fb;
    color: #384355;
    cursor: pointer;
    border: 1px solid @border-color-dark;
}
.yui-datagrid-first {
    //float: left;
    clear: both;
    padding: 4px 0 0 2px!important;
    height: 30px;
    border-bottom: 3px solid #384355;
}
.export-view {
    padding-top: 15px;
}

.export-view button {
    display: block;
    margin: 10px auto;
    width: 150px;
    height: 35px;
}

.yui-datagrid-head .yui-dgqf {
    float: left;
    margin: 0 0 1px 1px;
    z-index: 2;
    left: 0;
    height: @height-base;
    /*background-color: #fff;*/
    display: inline-table;
}

.yui-dgqf li {
    display: table-cell;
    vertical-align: middle;
}

.yui-dgqf input {
    border: 1px solid @border-color-dark;
    line-height: 22px;
    outline-color: #0AA699;
    outline-width: 1px;
    padding: 0 2px;
    vertical-align: baseline;
    border-radius: 2px;
    height: @height-base;
    margin: 0;
}

.yui-dgqf .querytitle {
    font-size: 12px;
    margin: 0px 3px;
    color: @color-light;
    line-height: @height-base;
}

.yui-dgqf button{
    margin: 0;
    padding: 0 5px;
    /* background-image: url(images/datagrid_hbtns_bg01.jpg); */
    border: none;
    color: #fff;
    border-radius: 2px;
    background: @ladder-background-base;
    font-size: 14px;
    box-sizing: unset;
}
.yui-dgqf button:hover,
.fullColorButton:hover{
    background: @ladder-background-base-hover;
}
.yui-dgqf,.yui-datagrid-hbtns{
    margin-bottom: 6px;
}

.yui-datagrid-bookmarks{
    width: 85px;
    height: 100%;
    display: inline-block;
    line-height: @height-base;
    float: right;
    position: relative;
    cursor: pointer;
}
.yui-datagrid-bookmarks .checkselects{
    margin: 0 0 0 30px;
    vertical-align: bottom;
    font-size: @font-small;
}

.yui-datagrid-bookmarks>.ladderfont{
    font-size: 24px;
    position: absolute;
    color: rgba(255, 0, 0, 0.47)!important;
    top: 3px;

}
.yui-datagrid-bookmarks>.addAnimation{
    animation: addAnimation 2s;
}
@keyframes addAnimation
{
    0% {transform:rotate(0deg);}
    50% {transform:rotate(-20deg);}
    100% {transform:rotate(0deg);}
}
.yui-datagrid-hbtns {
    width: auto;
    text-align: right;
    float: right;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}
.yui-datagrid-hbtns .headbtngroup{
    display: inline-block;
    min-width: 70px;
    color: @color-base;
    border: 1px solid @border-color-dark;
    background-image: url("images/datagrid_hbtns_bg01.jpg");
    margin: 0 0 0 2px;
    padding: 2px 6px 2px 6px;
    cursor: pointer;
    outline: none;
    text-align: center;
    position: relative;
}
.yui-datagrid-hbtns .headbtngroup .down{
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid @border-color-dark;
}
.yui-datagrid-hbtns .headbtngroup .up{
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid @border-color-dark;
}
.yui-datagrid-hbtns .headbtngroup .icon{
    position: absolute;
    line-height: 20px;
    color: @color-lighter;
    font-size: 9px;
    height: 0;
    width: 0;
    top: 10px;
    right: 4px;
}
.yui-datagrid-hbtns .headbtngroup .btngroups{
    position: absolute;
    top:100%;
    right: 0;
    display: none;
    margin-top: 2px;
    background: #eee;
    z-index: 99999;
    padding: 0 0 4px 4px;
}
.yui-datagrid-hbtns .headbtngroup .btngroups li{
    display: block;
    clear: both;
    height: 24px;
    margin: 1px 0;
    min-width: 80px;
    text-align: center;
    transition: all 0.5s;
    line-height: 24px;
    padding: 0 4px;
    color: @color-base;
    border: 1px solid @border-color-dark;
    background-image: url("images/datagrid_hbtns_bg01.jpg");
}
.yui-datagrid-hbtns .headbtngroup .btngroups li:hover{
    background-color: @border-color-dark;
}
.yui-datagrid-settingpage {
    font: 12px/20px "Microsoft YaHei", Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
    margin: 5px auto;
    /*text-align: center;*/
}
/*表格设置页一行样式*/
.yui-datagrid-settingpage .row {
    clear: both;
    overflow: hidden;
    margin-left: 15px;
    line-height: 40px;
}
/*表格设置页*/
.yui-datagrid-settingpage .savebtn {
    position: relative;
    width: 100px;
    height: @height-base;
    left: 50%;
    margin: 10px auto 10px -55px;
    clear: both;
}
/*设置页长输入框*/
.yui-datagrid-settingpage .longinput {
    width: 280px;
    background-color: #FFF;
    height: 23px;
}

.yui-datagrid-settingpage .shortinput {
    width: 80px;
    height: 23px;
}
/*����ҳ�������*/
.yui-datagrid-settingpage .bigword {
    font-size: 14px;
    font-weight: bold;
    padding-left: 1px;
}
.yui-datagrid-settingpage>.columnselection{
    width: 500px;
    height: auto;
    margin: 2px auto;
    select{
        outline: none;
        border: @ladder-color-base 1px solid;
    }
}

/*列选控制按钮*/
.yui-datagrid-settingpage>.columnselection .controlbtn {
    position: relative;
    float: left;
    height: 100px;
    margin: 0 5px;
}

.yui-datagrid-settingpage>.columnselection .controlbtn button {
    margin-top: 9px;
    display: block;
    height: 25px;
    width: 50px;
    padding: 0;
    line-height: 20px;
}
/**列选*/
.yui-datagrid-settingpage .columns option {
    padding: 3px 0 3px 5px;
    border-bottom: 1px dashed @border-color-dark;
}
/*�п�ı䴦���ǩ*/
.rchandle {
    position: absolute;
    width: 7px;
    cursor: ew-resize;
    margin-left: -3px;
    /*background-color: #000088;*/
}


.yui-datagrid-subColumn {
    padding: 0 !important;
}

.yui-datagrid-subgrid tr th {
    /*height: 100%!important;*/
    border: none !important;
    padding: 0 4px;
    /*border-right: 1px solid #000!important;*/
}
.yui-datagrid-subdata{
    padding: 0!important;
}
.yui-datagrid-subdata tr td{
    border:none!important;
    border-bottom: 1px solid @border-color-dark!important;
}
.yui-datagrid-body-container{
    /*width: 100%;*/
    height: 100%;
    overflow: hidden;
    //border-bottom: @border-color-base solid 1px;
}
.yui-datagrid-body-container table{
    margin: 0;
}
.yui-datagrid-body-corner{
    overflow: hidden;
    position: relative;
    z-index: 50;
}
.yui-datagrid-body-head{
    overflow: hidden;
    position: relative;
    z-index:45;
    display: none;
}
.yui-datagrid-body-columns{
    overflow: hidden;
    position: relative;
    z-index:40;
    display: none;
}
.yui-datagrid-body-columns td{
    background-color: @border-color-base;
    border-color: #fff;
}
.yui-datagrid-body-data{
    overflow: auto;
    position: relative;
    z-index: 35;
    background: #fff;
    height: 100%;
    /*border-bottom: #ddd solid 1px;*/
}

/*.yui-datagrid-body-data::-webkit-scrollbar {*/
/*width: 6px;*/
/*height: 1px;*/
/*}*/
/*.yui-datagrid-body-data::-webkit-scrollbar-thumb {*/
/*!*border-radius: 10px;*!*/
/*-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);*/
/*background: #ebebeb;*/
/*!*border: #ddd solid 1px;*!*/
/*}*/
/*.yui-datagrid-body-data::-webkit-scrollbar-track {*/
/*-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);*/
/*!*border-radius: 10px;*!*/
/*background: #fff;*/
/*}*/
.yui-datagrid-foot{
    position: relative;
    clear: both;
}
/*表格底部统计按钮*/
.yui-datagrid-foot .counterbtn{
    margin: 3px 0px 0 5px;
    display: inline-block;
    width: 50px;
    height: 23px;
    /*border: 1px solid #d7c7b6;*/
    padding: 0px 0 0 10px;
    text-align: center;
    cursor:default;
    float: left;
    outline: none;
    background: #f5f7fb url(images/count_ico.png) no-repeat left center;
}
.yui-datagrid-foot>.counterView{
    position: absolute;
    height: @height-base;
    width: 100%;
    top: 0;
    //background-color: #d4dbe9;
    background-color: @background-lighter;
}
.yui-datagrid-foot>.counterView>.closeicon{
    background: url(images/close1.png) no-repeat right center;
    margin-top: 3px;
    display: inline-block;
    width: 15px;
    height: 25px;
    vertical-align: middle;
    float: right;
    margin-right: 3px;
}
.yui-datagrid-foot>.counterView>.closeicon:hover{
    background-image:url('images/close2.png');
}
.yui-datagrid-foot>.counterView>.counterItem{
    display: inline-block;
    margin-left: 3px;
    line-height: 30px;
    color: #384355;
}
.yui-datagrid-foot>.counterView>.counterItem>.title{

}
.yui-datagrid-foot>.counterView>.counterItem>.value{
    font-weight: bold;  color: #dd4444;padding:0 3px;
}
/*分页样式表*/
.yui-datagrid-pager{
    height: @height-base - 1 !important;
    line-height: @height-base - 1 !important;
    border-top: @border-color-lighter solid 1px;
    padding: @padding-outer 0;
    background-color: @background-lightest;
    box-sizing: unset;

    ///* margin-top: 2px; */
    //width: 100%;
    //background-color: #f2f2f2;
    //height: 38px;
    //line-height: 28px;
    //padding: 5px 0;
    //border: #ddd solid 1px;
    //border-top: 0;
    //box-sizing: border-box;
    //width: calc(100% - 2px);
    //height: @height-inner;
    //line-height: @height-inner;
    ///* padding: 5px 0; */
    //border: #ddd solid 1px;
    //border-top: 0;
}
.yui-datagrid-pager .display {
    margin: 2px 0 0 10px;
    float: left;
    color: @color-light !important;
    font-size: 12px;
}
.yui-datagrid-pager .pagesize {
    border: 1px solid @border-color-base;
    position: relative;
    width: 51px;
    margin: 0 10px;
    height: 26px;
    border-radius: 2px;
    text-indent: 6px;
    color: @color-light;
}
.yui-datagrid-pager .pagebtnAara {
    margin-top: 1px;
    margin-right: 10px;
    float: @fr;
    color: @color-lighter;
    height: @height-small;
    line-height: @height-small;
    background: @ladder-background-base;
    border: @ladder-background-base solid 1px;
    border-radius: @radius-small;
    padding: 0 6px;
    /* margin-top: 2px !important; */
    overflow: hidden;
}

/*分页组件的动作按钮*/
.yui-datagrid-pager .actionbtn {
    margin: 2px 2px 0 2px;
    display: inline-block;
    padding: 0 10px !important;
    height: 20px;
    border: 1px solid @border-color-base;
    text-align: center;
    background-color: @background-dark;
    cursor: pointer;
    box-sizing: unset;
    border-radius: 2px;
}
.yui-datagrid-pager .pagebtnAara .actionbtn{
    float: left;
    background: transparent url(images/footer-page-btn.png) no-repeat;
    border: none !important;
    margin: 0!important;
    padding: 0 !important;
    width: 26px;
    height: 18px;
    overflow: hidden;
    background-size: 18px !important;
    background-position: center 0 !important;
    margin-top: 4px !important;
}
/*.yui-datagrid-pager .pagebtnAara .actionbtn:hover,.yui-datagrid-pager .pagebtnAara .actionbtn:after {*/
/*background-color: #6d7d94;*/
/*}*/
.yui-datagrid-pager .pagebtnAara .js-previous {
    background-position: center -16px !important;
}
.yui-datagrid-pager .pagebtnAara .pageCenter {
    float: left;
    width: 70px;
    background: #fff;
    color: @color-light;
    height: @height-small;
    //display: flex;
    //justify-content:center;
}
.yui-datagrid-pager .pagebtnAara .js-gopage{
    float: left;
    border: 0;
    width: @height-small;
    height: 26px;
    line-height: 26px;
    margin: 0;
    color: @color-light;
    outline: none;
    text-align: right;
    padding:0;
}
.yui-datagrid-pager .pagebtnAara .pagecount{
    float: left;
    max-width:42px ;
    height: 26px;
    line-height: 26px;
}
.yui-datagrid-pager .pagebtnAara .js-previous {
    background-position: center -18px !important;
    /*margin-right: 10px;*/
}
.yui-datagrid-pager .pagebtnAara .js-next {
    background-position: center -36px !important;
    /*margin-left: 10px;*/
}
.yui-datagrid-pager .pagebtnAara .js-end {
    background-position: center -54px !important;
    /*margin-left: 10px;*/
}
/*.yui-datagrid-pager .pagebtnAara .actionbtn:hover,.yui-datagrid-pager .pagebtnAara .actionbtn:after {*/
/*background-color: #6d7d94;*/
/*}*/
/*表格上行提示*/
.yui-datagrid-contenthint{
    position: absolute;
    margin-top: 28px;
    background-color: #fff;
    color: @color-base;
    padding: @padding-fill;
    box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.8);
    /*max-width: 300px;*/
    border-radius: 2px;
    text-align: left;
}

/*input，checked,radio*/
.yui-datagrid-table > tbody .yui-datagrid-checkbox{
    margin-top: 5px;
}
.yui-datagrid-table input[type=checkbox],
.yui-datagrid-table input[type=radio],
.yui-datagrid-table > tbody .yui-datagrid-checkbox{
    position: relative;
    height: 0 !important;
}
.yui-datagrid-table input[type=checkbox]:before,
.yui-datagrid-table input[type=radio]:before,
.yui-datagrid-table > tbody .yui-datagrid-checkbox:before{
    content: "";
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 0;
    height: 12px;
    width: 12px;
    border: @border-color-dark solid 1px;
    //border-radius: 50%;
}
.yui-datagrid-table input[type=checkbox]:checked:before,
.yui-datagrid-table input[type=radio]:checked:before,
.yui-datagrid-table > tbody .yui-datagrid-checkbox:checked:before{
    border:@ladder-border-color solid 1px;
}
.yui-datagrid-table input[type=checkbox]:checked:after,
.yui-datagrid-table input[type=radio]:checked:after,
.yui-datagrid-table > tbody .yui-datagrid-checkbox:checked:after{
    font-family: @icon-font-name;
    content: "\e991";
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 0;
    color: #ffffff;
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 18px;
    background: @ladder-background-base;
}
.yui-datagrid-table input[type=radio]:checked:after,
.yui-datagrid-table input[type=radio]:before{
    border-radius: 50%;
}
/*宽版*/
.yui-datagrid-body-container table {
    border: @border-color-lighter solid 1px !important;
}
.yui-datagrid-head{
    padding: @padding-fill 10px !important;
    box-sizing: border-box !important;
    .yui-datagrid-capsule{
        display: inline-block;
        border: 1px solid #ddd;
        border-radius: 20px;
        min-width: 80px;
        text-align: center;
        margin: 0 10px;
        padding: 4px 6px;
        font: @font;
        cursor: pointer;
        color: @color-blue-hover;
        transition: all 0.3s;
    }
    .yui-datagrid-capsule.current{
        background-color: @background-blue;
        color: @color-white;
    }
}
.yui-datagrid-first {
    padding: 4px 0 0 2px!important;
}
.yui-datagrid-head .yui-dgqf li{
    position: relative;
    height: 20px;
    border-radius: 2px;
    border: @border-color-base solid 1px;
    background: #fff;
    padding: 6px 6px 6px 0;
    box-sizing: unset;
}
.yui-datagrid-head .yui-dgqf li select{
    margin: 0 !important;
    border: 0 !important;
    height: 20px !important;
    outline: none !important;
    width: 100px !important;
}
.yui-datagrid-head .yui-dgqf li .Ladder-Selector{
    width: auto !important;
    z-index: 60;
    min-width: 100px !important;
    float: left;
}
.yui-datagrid-head .yui-dgqf li .Ladder-Selector .select-header{
    border: none;
    min-height: 20px;
    box-shadow: none;
}
.yui-datagrid-head .Ladder-Selector .select-radio .select-name{
    padding: 0;
}
.yui-datagrid-head .yui-dgqf li .querytitle{
    float: left;
    padding: 0 15px;
    border-right: @border-color-base solid 1px;
    line-height: 20px;
    color: @color-lighter;
}
.yui-datagrid-head .yui-dgqf li input{
    height: 100%;
    border: none;
}
.yui-datagrid-head .yui-dgqf li .ladder-animation-input{
    float: left;
    height: 20px !important;
    width: 150px;
    background: #fff;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    text-indent: 5px;

    &::before,&::after{
        content: unset;
    }
}
.yui-datagrid-head .yui-dgqf button,
.yui-datagrid-hbtns button{
    /*width: unset;*/
    /*height: 35px !important;*/
    /*min-width: 80px !important;*/
    padding: 0 15px !important;
    font-size: 14px !important;
    outline: none !important;
    cursor: pointer !important;
    box-sizing: border-box;
}
.yui-datagrid-head .yui-dgqf, .yui-datagrid-hbtns{
    margin: 0 !important;
}
.yui-datagrid-body-head thead tr{
    border-bottom: @border-color-light solid 1px;
    border-top: @border-color-light solid 1px;
}
.yui-datagrid-body-head thead tr td{
    height: 40px !important;
    //background: #eaf5ff !important;
    background:@background-lighter !important;
    color: @color-base !important;
    border: none !important;
    font-weight: bold;
}
//.yui-datagrid-table > tbody td{
//    height: 45px !important;
//    border: none !important;
//    border-bottom: none !important;
//    cursor: pointer;
//}
.yui-datagrid-table > tbody tr{
    border-bottom: @border-color-lighter solid 1px !important;
    border-top: @border-color-lighter solid 1px;
}
.yui-datagrid-table > tbody tr:last-child{
    border-bottom: none !important
}
.yui-datagrid-table > thead td.selectArea,
.yui-datagrid-table > tr td[data-modelindex=selectArea]{
    min-width: 50px;
}

.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    list-style: none;
}

.gu-mirror .block-caption{
    float: left;
    width: 100px;
    line-height: 30px;
    text-align: center;
}
.gu-mirror .block-form{
    float: left;
}
.gu-hide {
    display: none !important;
}
.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.yui-datagrid-view .yui-datagrid-table tr.gu-transit {
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    background-color:@background-lighter-hover;
    color:@color-dark;
    cursor: move!important;
    td{
        cursor: move!important;
    }
}
