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

$borderSize: 6px;

.comp {
  font-size: 22px;
}

.clarms-container {
  box-sizing: border-box;
  @include border-tans($borderRadius);

  .clarms-box {
    @extend .bb;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: $borderSize;
    background: #fff;
    // padding: 40px 50px 20px 40px;
    padding: 40px 0 20px;

    .clarms-tips {
      top: 40px;
      left: 98px;
      position: absolute;
      z-index: 11;
      padding: 2px;
      max-width: 400px;
      @include border-tans($borderRadius);

      .cont {
        @extend .bb;
        padding: 4px;
        width: 100%;
        height: 100%;
        font-size: 18px;
      }
    }

    .clarms-header {
      display: flex;
      align-items: center;
      padding-bottom: 20px;
      padding-right: 40px;

      .clarms-header-2 {
        position: relative;
        flex-grow: 1;
        display: flex;
        align-items: center;


        .clarms-icon {
          @extend .fcc;
          width: 182px;
          height: 100%;
        }
      }


    }

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

      .clarmsActivty {
        // color: #ffb31d !important;
      }

      .clarms-t1 {
        font-size: 22px;
        letter-spacing: 1.1px;
        color: $cOrange2;
      }

      .clarms-t2 {
        color: $cFontGray2;
        letter-spacing: 0.9px;
        font-size: 18px;
        margin-top: 6px;
      }
    }




    .clarms-btn {

      background: url(~@/assets/images/clarms/button.png);
      background-size: 100% 100%;
      width: 150px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      color: #ffffff;
      letter-spacing: 1.1px;
      font-size: 18px;
      cursor: pointer;
    }

    .line {
      @extend .bb;
      padding: 0 24px;
    }

    hr {
      border-top: 1px solid #dddede;
      width: 100%;
      margin-bottom: 20px;
    }

    .clarms-img-group {
      @extend .bb;
      padding: 0 28px;
      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: $cFontGray2;
          text-align: center;
        }
      }
    }
  }

  .clarms-empty-line {
    height: .833333rem;
  }
}

@media (max-width: 768px) {
  .clarms-container {
    .clarms-box {
      padding: 40px 12px 20px 12px;

      .clarms-header {
        flex-wrap: wrap;
        padding: 0;
      }

      .clarms-btn{
        margin: 20px 0;
        width: 100%;
      }

      .line {
        padding: 0;
      }
    }

  }
}



// @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;
//   }
// }