@mixin transition() {
    transition: all 0.3s;
}
@keyframes redDotZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

.honour-quick-operations {
    position: fixed;
    bottom: 30px;
    right: 10px;
    z-index: 10000;
    width: 50px;
    padding-bottom: 10px;
    
    .quick-operation {
        position: relative;
        width: 50px;
        height: 50px;
        border-radius: 25px;
        background-color: #fff;
        margin-bottom: 50px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        
        
        &:hover {
           box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); 
        }
        &.hover {
            .quick-operation-title {
                opacity: 1;
                width: 150px;
            }
            box-shadow: none;
        }
        &-icon {
            position: absolute;
            right: 0;
            top: 0;
            font-size: 34px;
            line-height: 34px;
            text-align: center;
            z-index: 100;
            border: 8px solid #fff;
            background: #fff;
            border-radius: 50%;
            cursor: pointer;
        }
        &-title {
            position: absolute;
            right: 0;
            top: 0;
            opacity: 0;
            height: 50px;
            width: 50px;
            overflow: hidden;
            line-height: 50px;
            border-radius: 25px;
            font-size: 16px;
            box-sizing: border-box;
            color: #0A131A;
            background-color: #fff;
            padding-left: 25px;
            z-index: 10;
            cursor: default;
            transition: all 0.3s;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            .red {
                color: #ED5858;
            }
            
        }
        &-badge {
            position: absolute;
            right: 0;
            top: 0;
            display: inline-block;
            width: 18px;
            height: 18px;
            border-radius: 9px;
            background-color: #ED5858;
            line-height: 18px;
            text-align: center;
            font-size: 12px;
            color: #fff;
            z-index: 1000;
            animation: redDotZoom .3s cubic-bezier(0.12, 0.4, 0.29, 1.46);
        }
    }
}