region-manage.less 2.13 KB
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
// 背景灰色
@border-color-gray: #E4E4E4;
@btn-gray-color: #797979;
// 添加输入框的宽度
@Pixels-180: 273px;
.region-manage {
    background-color: white;
    padding-bottom: 20px;
    height: 100%;
    .disable-item {
        color: @color-gray88;
    }
    .tool-bar {
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .region-content {
        height: calc(~"100% - 52px");
        padding-left: 20px;
        padding-right: 20px;
        .region-tree-container {
            /*border: 1px solid @border-color-gray;*/
            height: 100%;
            overflow-y: scroll;
            /*min-width: 250px;*/
            /*max-width: 300px;*/
            margin-right: 10px;
            .tree-item-select {
                background-color: orange;
            }
            .region-tree {
                padding-top: 20px;
            }
            .tree-item-disable {
                color: #888888;
            }
            .loading-data {
                display: block;
                text-align: center;
                margin-top: 10px;
            }
        }
        .chinaMap-warp {
            width: calc(~"75% - 12px");
            height: 100%;
        }
    }
    .border-gray {
        border: 1px solid @border-color-gray;
    }
    #addRegionPop {
        input,
        select {
            width: @Pixels-180;
        }
        .ivh-treeview-checkbox {
            width: 30px !important;
        }
        .control-label {
            max-width: 120px;
            font-weight: normal;
        }
        .modal-footer {
            padding-left: 135px;
        }
    }
    .no-padding {
        padding: 0;
    }
    .region-btn-disable {
        background-color: @border-color-gray !important;
        border: 1px solid @border-color-gray !important;
        background-image: none;
    }
    .region-btn-disable:focus,
    hover,
    active,
    visited {
        background-color: @border-color-gray !important;
        border: 1px solid @border-color-gray !important;
        background-image: none;
    }
    div {
        outline: none;
    }

    .span-block{
        display: inline-block;
        width: 100%;
    }
}