/* Copyright CloudLinux Zug GmbH 2010-2017 All Rights Reserved
 *
 * Licensed under CLOUD LINUX LICENSE AGREEMENT
 * http://cloudlinux.com/docs/LICENSE.TXT
 */
@import "grid";

.users_grid {
    .input_block {
        margin: 0;
        width: 60px;
        input {
            height: 31px;
            padding: 0;
            text-align: center;
        }
    }
    .input_block.with_placeholder {
    }
    tr.editable {
        li {
            height: 27px;
        }
    }

    tr.appended-row {
        td {
            border: none;
        }
    }

    tr.expanded {
        li, span {
            &.long_text {
                width: 100%;
                white-space: initial;
                height: auto;
            }
            line-height: 25px;
            height: 25px;
        }

        .plus_li{
            line-height: 25px;
            height: 25px;
        }
    }

    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;

        li {
            padding: 2px 0;
            //height: 31px;
            line-height: 40px;
        }
        li.italic {
            font-style: italic;
        }


    }

    .plus_li{
        line-height: 65px;
        height: 50px;
    }

    .plus {
        cursor: pointer;
        color: #b5bbc1;
        transition: 0.2s color;

        &:hover{
            color: @disabledColor;
        }
    }
    th {
        text-align: left;
        vertical-align: middle;
    }
    td {
        padding: 0 5px;
        text-align: left;
        .package_name {
          text-overflow: ellipsis;
          overflow: hidden;
          max-width: 200px;
        }
    }
    span {
        display: inline-block;
        white-space: nowrap;
    }
    span.long_text {
        width: 50px;
    }
    .actions {
        text-align: left;

        li{
            line-height: 30px;
        }
    }
    .btn {
        margin: 0;
    }
    button {
        font-size: 12px;
        height: 20px;
        min-height: 20px;
        min-width: 47px;
        padding: 1px 5px;
    }

    .btn-clear {
        color: #b5bbc1;
        transition:  0.2s color;
        width: 27px;
        min-width: 27px;
        height: 31px;

        &:hover{
            color: @disabledColor;
        }

        &.btn-blue{
            color: @mainColor;
        }

        &:focus, &:active{
            outline: none;
        }
    }

    table.table tbody tr td {
        vertical-align: top;
    }

    .right_dropdown {
        right: 0;
        left: auto;
        background: #fff;
        margin-top: 10px;

        li {
            height: 39px !important;
        }
    }

    .even {
        background-color: #fff;
    }
}
.users_grid_plesk {
    .input_block {
        input {
            &::-webkit-input-placeholder {
                font-size: 12px;
            }
            &::-moz-placeholder {
                font-size: 12px;
            }
        }
    }
    .actions.editable {
        //width: 240px;
    }
}
.users_grid_da {
    border-collapse: separate;
    border-spacing: 0 1px;
    .input_block {
        input {
            &::-webkit-input-placeholder {
                font-size: 11px;
            }
            &::-moz-placeholder {
                font-size: 11px;
            }
        }
    }
    .actions.editable {
        width: 242px;
    }
    input {
        font-size: inherit;
    }
}

.loader {
    height: 50px;
    vertical-align: middle;
    display: table-cell;
}
