.ui-ribbon-container {
    position: relative;
    .ui-ribbon-wrapper {
        position: absolute;
        overflow: hidden;
        width: 85px;
        height: 88px;
        top: -3px;
        right: -3px;
    }

    .ui-ribbon {
        position: relative;
        display: block;
        text-align: center;
        font-size: 15px;
        font-weight: bold;
        color: $reverse;
        @include transform( rotate(45deg) );
        padding: 7px 0;
        left: -5px;
        top: 15px;
        width: 120px;
        line-height: 20px;
        background-color: $gray;
        box-shadow: 0 0 3px rgba(0,0,0,0.3);
        &:before,
        &:after {
            position: absolute;
            content: " ";
            line-height: 0;
            border-top: 2px solid $gray;
            border-left: 2px solid transparent;
            border-right: 2px solid transparent;
            bottom: -2px;
        }
        &:before {
            left: 0;
            bottom: -1px;
        }
        &:after {
            right: 0;
        }
        }

    // color
    &.ui-ribbon-primary {
        .ui-ribbon {
            background-color: $brand-primary;
            &:before,
            &:after {
                border-top: 2px solid $brand-primary;
            }
        }
    }
    &.ui-ribbon-success {
        .ui-ribbon {
            background-color: $brand-success;
            &:before,
            &:after {
                border-top: 2px solid $brand-success;
            }
        }
    }
    &.ui-ribbon-info {
        .ui-ribbon {
            background-color: $brand-info;
            &:before,
            &:after {
                border-top: 2px solid $brand-info;
            }
        }
    }
    &.ui-ribbon-warning {
        .ui-ribbon {
            background-color: $brand-warning;
            &:before,
            &:after {
                border-top: 2px solid $brand-warning;
            }
        }
    }
    &.ui-ribbon-danger {
        .ui-ribbon {
            background-color: $brand-danger;
            &:before,
            &:after {
                border-top: 2px solid $brand-danger;
            }
        }
    }

}