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

//## Events grid.

.view-events {
  .row {
    display: flex;
    margin-bottom: 40px;

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

  .news-row {
    display: flex;
    color: $gray-6;

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

    .inner-news-grid {
      border: #979797 solid 1px;
      flex: 1;
      background: $white;
Brian Canini's avatar
Brian Canini committed
      overflow: hidden;
bcweaver's avatar
bcweaver committed

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

    .views-field-field-evt-date-range {
      padding: 10px;
      background: #841F5D;
      color: $white;
      text-transform: uppercase;
    }

    .views-field-title {
bcweaver's avatar
bcweaver committed
      font-size: 18px;
bcweaver's avatar
bcweaver committed

      a {
        color: $gray-6;
      }
    }

    .views-field-field-evt-location-2 {
bcweaver's avatar
bcweaver committed
      color: #26686D;
bcweaver's avatar
bcweaver committed
    }


  }

}


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

//## Event.

bcweaver's avatar
bcweaver committed
.news-cont {
  padding-left: 0;

  .field--name-body {
    margin: 20px 0 40px;
    float: left;
    width: 100%;
bcweaver's avatar
bcweaver committed
  }
}

.news-date {
  text-transform: uppercase;
  font-weight: 700;
  font-size: $font-size-h6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.news-title {
  text-transform: capitalize;
}

.evt-header {
  background: #EFEFEF;
  padding: 15px 5px 10px;
  width: 100%;
  float: left;
  margin-bottom: 30px;
}

.evt-icon {
  float: left;
  margin-right: 10px;
}

.evt-cal {
bcweaver's avatar
bcweaver committed
  span {
    float: right;
bcweaver's avatar
bcweaver committed

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

  @media (max-width: 768px) {
    text-align: center;
    margin-bottom: 5px;
  }
}

bcweaver's avatar
bcweaver committed
// --------------------------------------------------

//## Hides core h1 title in lieu of News Stories built-in h1 title.

.page-node-type-news-story .page-header {
  display: none;
}


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

//## Events taxonomy.

.taxonomy-events-heading {
  float: left;
  width: 100%;
  padding-top: 15px;

  h2 {
    line-height: 0;
    font-size: 18px;
  }
}