
@import "common/var";

.platform.el-container {
  height: 100%;
  align-items: center;
  flex-direction: column;
  .container {
    flex: 1;
    max-width: 1200px;
    width: 80%
  }
  .el-header {
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 0 40px;
    height: 60px;
    line-height: 60px;
    display: flex;
    font-size: 28px;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    .header-logo {
      width: 211px;
    }
    .header-right {
      display: flex;
      align-items: center;
      .header-avator {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        background: #ffffff;
        margin-right: 10px;
      }
      .header-username {
        font-size: 16px;
      }
      .header-notice {
        position: relative;
        padding-left: 20px;
        cursor: pointer;
        .num {
          position: absolute;
          top: 12px;
          right: -5px;
          display: block;
          text-align: center;
          line-height: 16px;
          font-size: 14px;
          color: #0046aa;
          width: 16px;
          height: 16px;
          border-radius: 8px;
          background: #fff;
        }
      }
      .header-out {
        margin-left: 20px;
        cursor: pointer;
      }
    }
  }
  .el-main {
    display: flex;
    padding: 0;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    color: #ffffff;
    overflow: hidden;
    .protal {
      width: 20%;
      height: 140px;
      margin-bottom: 26px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      transition: all 0.3s;
      cursor: pointer;
      &:hover {
        transform: scale(1.1);
      }
      &:nth-child(5) {
        margin-right: 0;
      }
      .protal-icon {
        width: 100px;
        height: 100px;
        border-radius: 16px;
        background: $--color-primary;
        margin-bottom: 8px;
        font-size: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .protal-name {
          text-shadow: 1px 1px 1px #333;
      }
    }
  }
  .platform-footer {
    height: 40px;
    width: 100%;
    flex: 0 0 auto;
    background: rgba(#fff, .1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e8e8e8;
  }
}
