Skip to content
Snippets Groups Projects
_people.scss 3.04 KiB
Newer Older
bcweaver's avatar
bcweaver committed
@import "../helpers/mixins";
@import "../helpers/variables";
@import "../helpers/functions";
//
// People
// --------------------------------------------------

//## People grid.
.view-people-directory {

  h3 {
    text-transform: uppercase;
  }

  .row {
    display: flex;

    @media (max-width: 768px) {
        display: block;
    }
  }

  .view-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid #979797 3px;
  }

  .people-row {
    font-size: 14px;
    line-height: 1.6;
    display: flex;

    @media (max-width: 768px) {
        display: block;
    }

    .inner-people-grid {
      flex: 1;
      background: #F9F9F9;
      padding: 20px;
      margin-bottom: 30px;

      @media (max-width: 768px) {
          flex: none;
      }

      .views-field-user-picture {
        margin-bottom: 10px;
      }

      .views-field-field-first-name,
      .views-field-field-last-name {
        font-weight: bold;
        font-size: 16px;
bcweaver's avatar
bcweaver committed

        a {

          &:hover {
            color: $red-base;
          }
        }
bcweaver's avatar
bcweaver committed
      }
    }
  }
}

.view-display-id-page_1 {
  margin-bottom: 40px;
}


#views-exposed-form-people-directory-page-1 {
  .form-item {
      width: 100%;
  }

  .form-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ie-appearance: none;
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    top: 4px;
    margin-right: 5px;

    &:active, &:checked:active {
      box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
    }

    &:checked {
      background-color: #442369;
      border: 1px solid #adb8c0;
      box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
      color: #99a1a7;
    }

    &:checked:after {
      content: '\2713';
      font-size: 14px;
      position: absolute;
      top: 0px;
      left: 3px;
      color: $white;
    }
  }
}

.block-views-exposed-filter-blockpeople-directory-page-1 {
bcweaver's avatar
bcweaver committed

  .form-wrapper {
    margin-top: 20px;

    legend {
      text-transform: uppercase;
      color: #4A4A4A;
      font-weight: bold;
      font-size: 18px;
      border-bottom: none;
      margin-bottom: 5px;
    }
  }
}

// --------------------------------------------------

//## Bio.

.path-user .page-header {
  display: none;
}

.bio-header-top {
  background: #F9F9F9;

bcweaver's avatar
bcweaver committed

    img {
      padding: 15px 0;
bcweaver's avatar
bcweaver committed
    }
  }

  .field--name-field-google-map-location {

    .field--item {
      padding: 20px 0;

      .geolocation-formatter-map-wrapper {
        border: solid 2px #979797;
      }
    }
  }
}

.bio-header {
  width: 100%;
  float: left;
  margin: 0 0 20px;
}

.bio-btm-left {
  margin-bottom: 40px;

  h2 {
    font-size: 22px;
  }

  .bio-exp {
    padding-left: 0;
  }
}

.bio-btm-right {
  h3 {
    font-size: 18px;
    padding-top: 20px;
  }
}