﻿.MagicBox-GridView * {
    margin: 0;
    padding: 0;
}

.MagicBox-GridView .MagicBox-GridView-body * {
    /*文本不允许被选中 added by Wangpeng 2014年5月6日 14:17:42*/
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    user-select: text !important;
}

.MagicBox-GridView-body-selectedCell {
    background-color: #0cf !important;
}

.MagicBox-GridView {
    position: relative;
    overflow: hidden;
    padding-bottom: 77px;
    border: 1px solid #f0f0f0;
    height: 80vh;
}

    .MagicBox-GridView .MagicBox-GridView-title {
        border-bottom: 1px solid #ddd;
        background-color: #eee;
    }

    .MagicBox-GridView .MagicBox-GridView-title,
    .MagicBox-GridView .MagicBox-GridView-foot {
        height: 39px;
    }

    .MagicBox-GridView tr {
        height: 38px;
    }

    .MagicBox-GridView .MagicBox-GridView-title thead,
    .MagicBox-GridView .MagicBox-GridView-foot tfoot {
        position: absolute;
    }

    .MagicBox-GridView .MagicBox-GridView-body {
        height: 100%;
        overflow: auto;
    }

        .MagicBox-GridView .MagicBox-GridView-body a {
            color: #26c281;
        }

        .MagicBox-GridView .MagicBox-GridView-body div input[type='checkbox'] {
            height: 15px;
        }

    .MagicBox-GridView tbody td div * {
        width: 100%;
        height: 25px;
        /*display: block;
        left: 0;
        top: 0;*/
        background-color: transparent !important;
    }

        .MagicBox-GridView tbody td div * > div > span[class="input-group-addon"] {
            width: 20px;
            border: 0px;
        }

    .MagicBox-GridView tbody td div > my-upload > * {
        background-color: #5bc0de !important;
    }

    .MagicBox-GridView tbody td div .input-group {
        display: flex;
    }

        .MagicBox-GridView tbody td div .input-group .btn {
            border: 0px !important;
        }

        .MagicBox-GridView tbody td div .input-group .btn-glyphicon {
            padding-top: 5px;
        }

    .MagicBox-GridView tbody td input[type="text"] {
        border: 0;
        outline: none;
        background-color: #fae065;
    }

    .MagicBox-GridView .page {
        height: 38px;
        display: flexbox;
        display: flex;
        align-items: center;
        border-top: 1px solid #f0f0f0;
    }

    .MagicBox-GridView table {
        border-spacing: 0;
        border-collapse: collapse;
    }

        .MagicBox-GridView table > thead th a {
            user-select: none;
        }

        .MagicBox-GridView table > thead th {
            position: relative;
            border-right: 1px solid #ddd;
            padding-top: 5px !important;
            padding-bottom: 5px !important;
            border-bottom: 1px solid #f0f0f0;
            letter-spacing: 1px !important;
        }
        /*
        .MagicBox-GridView table > tbody tr:nth-child(2n+1) {
            background-color: lightCyan;
        }*/

        .MagicBox-GridView table > tbody td {
            position: relative;
            border-right: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
        }

        .MagicBox-GridView table > tfoot td {
            position: relative;
            border-top: 1px solid #ddd;
            border-right: 1px solid #ddd;
        }

        .MagicBox-GridView table > thead > tr > th,
        .MagicBox-GridView table > tbody > tr > td,
        .MagicBox-GridView table > tfoot > tr > td {
            padding: 0;
            line-height: 15px.42857143;
        }

            .MagicBox-GridView table > tbody > tr > td > div {
                height: 25px;
            }

                .MagicBox-GridView table > tbody > tr > td > div > * {
                    line-height: 25px;
                    vertical-align: middle;
                }

    .MagicBox-GridView .MagicBox-GridView-body > table > tbody > tr:hover {
        background-color: #e3f6f0;
    }

    .MagicBox-GridView .MagicBox-GridView-body > table > tbody .selectedrow {
        background-color: #d9f9ec !important;
    }

.cell-nowrap {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 3px 0 3px;
}

.column-splitter {
    position: absolute;
    overflow: hidden;
    cursor: e-resize;
    top: 0px;
    right: -3px;
    width: 5px;
    height: 30px;
}


.page .displaycount {
    display: block;
    width: auto;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    height: 20px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.page .separator {
    display: inline-block;
    zoom: 1;
    border: 0;
    border-left: solid 1px #ddd;
    margin-top: 0px;
    height: 36px;
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 8px;
}

.page .currentpage {
    border: 0px solid #ccc;
    width: 40px;
    text-align: center;
    background-color: transparent;
}

.page .datainfo {
    display: table-cell;
}
/*.MagicBox-GridView .MagicBox-GridView-body > table > thead > tr  input[type="checkbox"] {
    margin: auto;
    margin-top: 8px;
}*/
.MagicBox-GridView .MagicBox-GridView-title .checkbox input[type="checkbox"] {
    margin: auto;
    margin-top: 8px;
}

.MagicBox-GridView tbody td .row * {
    width: auto !important;
}


.MagicBox-GridView table > tbody td select {
    border: none !important;
    margin-left: -4px;
    width: 109%;
}
