Skip to content
Extraits de code Groupes Projets
accounts.scss 4,21 ko
Newer Older
  • Learn to ignore specific revisions
  •   box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    
      overflow: hidden;
      position: relative;
    
      &:after {
        background: rgba(0, 0, 0, 0.5);
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
      }
    
        font-size: 20px;
        line-height: 18px * 1.5;
    
        color: #fff;
        font-weight: 500;
        text-align: center;
    
        position: relative;
        z-index: 2;
    
        width: 120px;
        margin: 0 auto;
        margin-bottom: 15px;
    
        position: relative;
        z-index: 2;
    
    
      .details {
        display: flex;
        margin-top: 30px;
    
        position: relative;
        z-index: 2;
    
      }
    
      .counter {
        width: 80px;
        color: #9baec8;
        padding: 0 10px;
    
        margin-bottom: 10px;
    
        border-right: 1px solid #9baec8;
        cursor: default;
    
        position: relative;
    
        a {
          display: block;
        }
    
        &:after {
          display: block;
          content: "";
          position: absolute;
          bottom: -10px;
          left: 0;
          width: 100%;
          border-bottom: 4px solid #9baec8;
          opacity: 0.5;
          transition: all 0.8s ease;
        }
    
        &.active {
          &:after {
            border-bottom: 4px solid #2b90d9;
            opacity: 1;
          }
        }
    
        &:hover {
          &:after {
            opacity: 1;
            transition-duration: 0.2s;
          }
        }
    
        a {
          text-decoration: none;
          color: inherit;
        }
    
    
        .counter-label {
          font-size: 12px;
          text-transform: uppercase;
          display: block;
          margin-bottom: 5px;
        }
    
        .counter-number {
          font-weight: 500;
          font-size: 18px;
          color: #fff;
        }
      }
    
      .bio {
        flex: 1;
        font-size: 14px;
        line-height: 18px;
        padding: 5px 10px;
        color: #d9e1e8;
      }
    
    
    .pagination {
      padding: 30px 0;
      text-align: center;
      overflow: hidden;
    
      a, .current, .next_page, .previous_page, .gap {
        font-size: 14px;
        color: #fff;
        font-weight: 500;
        display: inline-block;
        padding: 6px 10px;
        text-decoration: none;
      }
    
      .current {
        background: #fff;
        border-radius: 100px;
        color: #282c37;
        cursor: default;
      }
    
      .gap {
        cursor: default;
      }
    
      .previous_page, .next_page {
        text-transform: uppercase;
        color: #d9e1e8;
      }
    
      .previous_page {
        float: left;
        padding-left: 0;
    
        .fa {
          display: inline-block;
          margin-right: 5px;
        }
      }
    
      .next_page {
        float: right;
        padding-right: 0;
    
        .fa {
          display: inline-block;
          margin-left: 5px;
        }
      }
    
      .disabled {
        cursor: default;
        color: lighten(#282c37, 10%);
      }
    }
    
    
    .accounts-grid {
      clear: both;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
      background: #fff;
      border-radius: 0 0 4px 4px;
      padding: 20px 10px;
      padding-bottom: 10px;
      overflow: hidden;
    
      .account-grid-card {
        box-sizing: border-box;
        width: 335px;
        float: left;
        border: 1px solid #d9e1e8;
        border-radius: 4px;
        color: #282c37;
        height: 160px;
        margin-bottom: 10px;
    
        &:nth-child(odd) {
          margin-right: 10px;
        }
    
        .account-grid-card__header {
          overflow: hidden;
          padding: 10px;
          border-bottom: 1px solid #d9e1e8;
        }
    
        .avatar {
          width: 60px;
          height: 60px;
          float: left;
          margin-right: 15px;
    
          img {
            display: block;
            width: 60px;
            height: 60px;
            border-radius: 60px;
          }
        }
    
        .name {
          padding-top: 10px;
    
          a {
            color: #282c37;
            text-decoration: none;
    
            &:hover {
              .display_name {
                text-decoration: underline;
              }
            }
          }
        }
    
        .display_name {
          font-size: 14px;
          display: block;
        }
    
        .username {
          color: #2b90d9;
        }
    
        .note {
          padding: 10px;
          padding-top: 15px;
          color: #9baec8;
        }
      }
    }
    
    .nothing-here {
      color: #9baec8;
      font-size: 14px;
      font-weight: 500;
      text-align: center;
      padding: 15px 0;
      cursor: default;
    }