@import './common/var.scss';

.sscstore-platform {
  width: 100%;
  height: 100%;
  color: #eee;
  background-size: cover !important;
  .el-header {
    position: relative;
    background-color: var(--theme);
    background-color: $--color--theme;
    .platform-logo {
      position: absolute;
      height: 30px;
      top: 15px;
      left: 20px;
    }
    .userInfo {
      position: absolute;
      right: 20px;
      height: 100%;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
    }
    .loginout{
      margin-left: 10px;
      &:hover {
        cursor: pointer;
      }
    }
  }
  .platform-content {
    padding-top: 20px;
    .el-input {
      position: relative;
      width: 300px;
      left: 10%;
      .el-input__inner {
        background-color: transparent;
        border: 1px solid #666;
        color: #ccc;
        &:focus {
          border: 1px solid #ccc;
        }
      }
    }
    .el-scrollbar__wrap {
      overflow-x: hidden;
    }
    .el-carousel {
      width: 100%;
      height: calc(100% - 50px);
      padding: 10px 0;
      overflow: hidden;
      .el-carousel__container {
        height: 100%;
      }
      button.el-carousel__button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 6px;
      }
      & .el-carousel__arrow {
        width: 80px;
        height: 80px;
        i {
          font-size: 60px;
          color: #999;
          &:hover {
            color: white;
          }
        }
      }
    }
  }
  .app-containter {
    position: relative;
    left: 10%;
    width: 80%;
    display: flex;
    flex-flow: column nowrap;
    font-size: 14px;
    .app-type-wrapper {
      label {
        line-height: 40px;
      }
      position: relative;
      width: 100%;
      margin-bottom: 20px;
    }
  }
  .apps-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    .app-wrapper {
      position: relative;
      box-sizing: border-box;
      width: 200px;
      height: 80px;
      margin-right: 30px;
      background-color: rgba(255,255,255,0.2);
      display: flex;
      justify-content: space-around;
      align-items: center;
      border-radius: 6px;
      transition: all .2s;
      margin-bottom: 20px;
      transition: all .3s;
      &:hover {
        cursor: pointer;
        background-color: rgba(255,255,255,0.1);
        .app-name, i {
          color: white;
        }
      }
      .app-name, i {
        color: #ccc;
      }
      .icon-wrapper {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        border-radius: 4px;
      }
      .svg-icon {
        width: 40px;
      }
      i {
        font-size: 40px;
      }
    }
  }
  .footer {
    position: fixed;
    z-index: 10;
    padding-bottom: 10px;
    transition: all .2s;
    width: 100vw !important;
    height: 150px;
    flex-wrap: wrap;
    width: 100px;
    bottom: 0;
    justify-content: flex-start;
    background-color: rgba(0,0,0,0.3);
    .app-wrapper {
      position: relative;
      width: 20%;
      top: 30px;
      z-index: 3;
      height: 120px;
      margin: 0;
      display: flex;
      flex-flow: column nowrap;
      background-color: transparent;
      .icon-wrapper {
        border: 1px solid white;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        .app-name, i {
          color: #ccc;
        }
      }
      .app-name {
        font-size: 14px;
      }
      &:hover {
        background-color: rgba(0,0,0,0.2);
        .app-name, i {
          color: white;
        }
      }
    }
  }
  .expand {
    position: absolute;
    width: 100vw;
    height: 20px;
    display: flex;
    justify-content: center;
    z-index: 10;
    i {
      color: #ddd;
      font-size: 30px;
      &:hover {
        cursor: pointer;
        color: white;
      }
    }
  }
}