clarms-plugins-upload.scss 4.73 KB
@import '@/styles/_support';


.clarms-container {
    box-sizing:border-box; 
    padding:.166667rem;
    border-radius: .416667rem;
    background-image: linear-gradient(to right , #ffb31d, #f15907) ;

    .clarms-box { 
        width:100%; 
        height:100%; 
        border-radius: .416667rem;
        background:#fff; 
        padding: 1.666667rem 2.5rem 0 2.5rem;

        .clarms-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.666667rem;
    
            .clarms-header-2 {
                flex-grow: 1;
                display: flex;
                align-items: center;
            }

            .clarms-icon {
                width: 4.166667rem;
            }
        }
    
        .clarms-title-container {
            margin-left: 2.5rem ;
            flex-grow: 1;
            width: 100%;

            .clarmsActivty {
                color: #ffb31d !important;
            }

            .clarms-t1 {
                font-size: 2rem;
                color: #f15907;
                letter-spacing: .166667rem;
            }

            .clarms-t2 {
                color: #58595b;
                letter-spacing: .166667rem;
            }
        }

        hr {
            margin: 0 .833333rem 1.666667rem .833333rem;
            border-top: 1px solid #dddede ;
        }

        .clarms-btn {
            background: url(~@/assets/images/clarms/button.png);
            background-size: 100% 100%;
            width: 10.583333rem !important;
            height: 3rem;
    
            text-align: center;
            line-height: 3rem;
            color: white;
            letter-spacing: .166667rem ;
            font-size: 1.166667rem;
            cursor: pointer;
        }

        .clarms-img-group {
            display: flex;
            flex-wrap: wrap;

            .clarms-img-item-plugin {
                cursor: pointer;
                margin-right: .833333rem;
                margin-bottom:  .833333rem;
                width: 5.833333rem;
                height: 5.833333rem;

                .clarms-img-item {
                    position:  relative;
                    width: 5.833333rem;
                    height: 5.833333rem;

                    .clarms-img-cont {
                        width: 5.833333rem;
                        height: 5.833333rem;
                        position: absolute;
                        left: 0;
                        top: 0;
                    }

                    .clarms-img-mask {
                        width: 5.833333rem;
                        height: 5.833333rem;
                        text-align: center;
                        line-height: 5.833333rem;
                        position: absolute;
                        left: 0;
                        top: 0;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        background-color: rgba($color: #000000, $alpha: .1);

                        img {
                            width: 2.5rem ;
                            height:  2.5rem ;
                        }
                    }

                    .mask-bg-2 {
                        background-color: rgba($color: #000000, $alpha: .5) !important;
                        color: white !important;
                        font-size: 1rem;
                    }
                }

                .clarms-upload-tips {
                    font-size: 1rem ;
                    color: #58595b;
                    text-align: center;
                }
            }
        }
    }
    
    .clarms-empty-line {
        height: .833333rem;
    }
}


@media (max-width: 800px) {
    
    .clarms-container {
        .clarms-box { 
            .clarms-header {
                flex-direction: column;

                .clarms-header-2{
                    align-self: flex-start;
                }

                .clarms-btn {
                    align-self: flex-end;
                    margin-top: .833333rem;
                }
                .clarms-icon {
                    width: 4.166667rem;
                }
            }
            .clarms-title-container {
                margin-top: .833333rem;
                margin-left: .833333rem;
            }
        }
    }
}

@media (max-width: 600px) {
    .clarms-container .clarms-box .clarms-title-container .clarms-t1{
        font-size: 1.333333rem ;
    }

    .clarms-container .clarms-box .clarms-title-container .clarms-t2{
        font-size: 1.333333rem ;
    }
}



@media (max-width: 500px) {
    .clarms-container .clarms-box .clarms-title-container .clarms-t1{
        font-size: 1rem;
    }

    .clarms-container .clarms-box .clarms-title-container .clarms-t2{
        font-size: 1rem;
    }
}