custom-tree.less 1.83 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
.custom-tree-wrapper {
    display: inline-block;
    position: relative;

    .scoreDropDownBtn {
        width: 250px;
        border-radius: 5px;
    }

    .dropdown-toggle {
        background-color: #FFF;
        border-radius: 5px;
    }

        .dropdown-toggle .caret {
            width: 10px;
            height: 10px;
            border: none;
            margin-top: -2px !important;
        }

            .dropdown-toggle .caret:before {
                content: url(../../../../app-resources/images/ie11Trigangle.png);
                margin-left: -12px !important;
                margin-right: 1px;
            }
    //Target Chrome
    @media screen and (-webkit-min-device-pixel-ratio:0) {
        .dropdown-toggle .caret {
            width: 10px;
            height: 10px;
            border: none;
            margin-top: 0px;
            margin-right: -10px;
        }

            .dropdown-toggle .caret:before {
                content: url(../../../../app-resources/images/chromeTriangle.png);
                margin-left: 3px;
            }
    }

    .dropdown {
        position: initial;
    }

    .expander {
        line-height: 25px;
    }

    .dropdown-menu {
        color: #333;
        width: 250px;
        white-space:nowrap;
        word-break:keep-all;
        text-overflow:ellipsis;
        max-height: 200px;
    }

    .select-dropdown-icon {
        -webkit-appearance: menulist;
        -webkit-rtl-ordering: logical;
    }

    .angular-ui-tree-handle {
        width: 90%;
        height: 25px;
        line-height: 25px;
        margin-bottom: 0px;
        padding: 0 10px;

        &:hover {
            width: 90%;
            background-color: #F16100;
            border-radius: 4px;
            height: 25px;
            line-height: 25px;
            color: #FFF;
            padding: 0 10px;
        }
    }
}