_breadcrumb.css 2.18 KB
.cart-bc {
    width: 100%;
    position: relative;
    background: #999;
    top: -2px;

    .breadcrumb {
        list-style: none;
        overflow: hidden;
        margin: 0;
        padding: 0;
        height: 32px;

        li.current {
            background: #1b1b1b;
            color: #fff;

            &:after,
            &:before {
                content: "";
                position: absolute;
                width: 0;
                top: 0;
                height: 32px;
                overflow: hidden;
            }

            &:after {
                right: 0;
                border: 16px solid #fff;
                border-left-color: #1b1b1b;
                border-right: 0;
            }

            &:before {
                left: 0;
                border: 16px solid #1b1b1b;
                border-left-color: #fff;
            }
        }

        li {
            float: left;
            width: 365px;
            text-align: center;
            position: relative;
            z-index: 2;
            font-weight: bold;
            font-size: 14px;
            line-height: 35px;

            a {
                color: #fff;
                width: 100%;
                display: inline-block;
                position: relative;
                cursor: default;
            }

            &:after,
            &:before {
                content: "";
                position: absolute;
                width: 0;
                top: 0;
                height: 32px;
                overflow: hidden;
            }

            &:after {
                right: 0;
                border: 16px solid #fff;
                border-left-color: #999;
                border-right: 0;
            }

            &:before {
                left: 0;
                border: 16px solid #999;
                border-left-color: #fff;
            }

            &.ie8-last-bug:after {
                display: none;
            }

            &:first-child:before {
                display: none;
            }
        }

        .level-1 {
            width: 375px;
        }

        .level-2 {
            width: 400px;
        }

        .level-3 {
            width: 375px;
        }
    }
}