﻿
.dropdown {
    position: relative;
    width: initial;
    display: inline-block;
    height: 24px;
    vertical-align: bottom;
    font-size: 12px;
    text-align: left;
}

    .dropdown .dropdown-toggle {
        height: 24px;
        line-height: 24px;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        padding: 0 6px 0 6px;
        border-radius: 2px;
        margin-left: -2px;
        color: #fff;
        background: #6e86a5;
        border: 0;
        opacity: 0.8;
    }

        .dropdown .dropdown-toggle:hover {
            opacity: 0.6;
        }

        .dropdown .dropdown-toggle:before {
            float: right;
            position: relative;
            right: 0px;
        }

    .dropdown .dropdown-menu {
        border: 1px solid #e4e4ea;
        position: absolute;
        left: -99999px;
        top: 24px;
        background: #fff;
        z-index: 999;
        color: #666;
    }

    .dropdown .dropdown-toggle:hover + .dropdown-menu {
        left: -2px;
    }

    .dropdown .dropdown-toggle:hover + .alignRight {
        right: 0;
        left: inherit;
    }

    .dropdown .dropdown-menu:hover {
        left: -2px;
    }

    .dropdown .alignRight:hover {
        right: 0;
        left: inherit;
    }

    .dropdown .dropdown-menu-item {
        height: 24px;
        line-height: 24px;
        cursor: pointer;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

        .dropdown .dropdown-menu-item:hover {
            background: #f1f1f6;
        }

        .dropdown .dropdown-menu-item > a {
            display: inline-block;
            width: 100%;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            padding: 0 7px;
        }

        .dropdown .dropdown-menu-item:hover > a {
        }

    .dropdown .split-icon {
        background: #6e86a5;
        opacity: 0.8;
        border: 0;
        color: #fff;
        width: 20px;
        padding: 0 19px 0 3px;
    }

        .dropdown .split-icon:hover {
            color: #fff;
            opacity: 1;
        }

/*分裂式按钮 图标前面的按钮*/
.split-text {
    display: inline-block;
    padding: 0 10px;
    height: 24px;
    line-height: 24px;
    border: 0;
    cursor: pointer;
    background: #6e86a5;
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
    border-radius: 2px;
}

    .split-text:hover {
        opacity: 0.6;
    }

a:hover {
    text-decoration: none;
}
