<header class="banner banner-detail l-containerxaxis">
    <div id="banner-x-mapbackground" class="banner-x-mapbackground"></div>
    <div class="banner-x-content">
        <div class="banner-x-title">
            <h2>Anaheim Union High School District</h2>
            <div class="banner-x-exporttablet">
                <button class="button" type="button">Export</button>
                <button class="button" type="button">Print</button>
            </div>
        </div>
        <div class="banner-x-link">
            <span>Part of:&nbsp;</span><strong>North Orange County ROP</strong>
            <a href="#">
                <svg>
                    <use xlink:href="#icon-externallink"></use>
                </svg>
            </a>
        </div>
        <div class="banner-x-body">
            <div class="banner-x-bodysection">
                <div class="banner-x-label">DISTRICT:</div>
                <div class="banner-x-name">Scott Reindl<span>District CTE Director</span></div>
                <a href="#">Reindl_s@ahusd.us</a>
                <a class="banner-x-phone" href="tel:714-728-9763">714-728-9763</a>
                <a href="#">auhsd.us</a>
                <div class="banner-x-address">
                    <div><a href="#">501 N. Crescent Way,</a></div>
                    <div><a href="#">Anaheim, CA 92801</a></div>
                </div>
            </div>
            <div class="banner-x-bodysection">
                <div class="banner-x-label">ROP:</div>
                <div class="banner-x-name">Terri Giamarino<span>Superintendent, NOCROP</span></div>
                <a href="#">mtgiamarino@nocrop.com</a>
                <a class="banner-x-phone" href="tel:502-580-1999">502-580-1999 (3717)</a>
                <div class="banner-x-address">
                    <div><a href="#">385 N Muller St,</a></div>
                    <div><a href="#">Anaheim, CA 92801</a></div>
                </div>
            </div>
        </div>
        <div class="banner-x-exportmobile">
            <button class="button button-dropshadow" type="button">Export</button>
            <button class="button button-dropshadow" type="button">Print</button>
        </div>
    </div>
    <div class="banner-x-left-triangle">
        <svg>
            <use xlink:href="#banner-left-triangle"></use>
        </svg>
    </div>
    <div class="banner-x-right-triangle">
        <svg>
            <use xlink:href="#banner-right-triangle"></use>
        </svg>
    </div>
</header>

<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css" integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA==" crossorigin="" />

<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js" integrity="sha512-QVftwZFqvtRNi0ZyCtsznlKSWOStnDORoefr1enyq5mVL4tmKB3S/EnC3rRJcxCPavG10IcrVGSmPh6Qw5lwrg==" crossorigin=""></script>

<script>
    var mymap = L.map('banner-x-mapbackground').setView([33.6412, -117.9188], 10);
    L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
        attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
        maxZoom: 18,
        id: 'mapbox.streets',
        accessToken: 'pk.eyJ1IjoiZGVyd2luMSIsImEiOiJjanVlZTF0encwMmthNDVwZ3JkcG1zM3dwIn0.QUhvREtLO2bgPkj3CyG3vw'
    }).addTo(mymap);
</script>
<header class="{{render '@banner--detail'}} {{render '@l-containerxaxis'}}">
  <div id="banner-x-mapbackground" class="banner-x-mapbackground"></div>
  <div class="banner-x-content">
    <div class="banner-x-title">
      <h2>Anaheim Union High School District</h2>
      <div class="banner-x-exporttablet">
        <button class="{{render '@button'}}" type="button">Export</button>
        <button class="{{render '@button'}}" type="button">Print</button>
      </div>
    </div>
    <div class="banner-x-link">
      <span>Part of:&nbsp;</span><strong>North Orange County ROP</strong>
      <a href="#">
        <svg><use xlink:href="#icon-externallink"></use></svg>
      </a>
    </div>
    <div class="banner-x-body">
      <div class="banner-x-bodysection">
        <div class="banner-x-label">DISTRICT:</div>
        <div class="banner-x-name">Scott Reindl<span>District CTE Director</span></div>
        <a href="#">Reindl_s@ahusd.us</a>
        <a class="banner-x-phone" href="tel:714-728-9763">714-728-9763</a>
        <a href="#">auhsd.us</a>
        <div class="banner-x-address">
          <div><a href="#">501 N. Crescent Way,</a></div>
          <div><a href="#">Anaheim, CA 92801</a></div>
        </div>
      </div>
      <div class="banner-x-bodysection">
        <div class="banner-x-label">ROP:</div>
        <div class="banner-x-name">Terri Giamarino<span>Superintendent, NOCROP</span></div>
        <a href="#">mtgiamarino@nocrop.com</a>
        <a class="banner-x-phone" href="tel:502-580-1999">502-580-1999 (3717)</a>
        <div class="banner-x-address">
          <div><a href="#">385 N Muller St,</a></div>
          <div><a href="#">Anaheim, CA 92801</a></div>
        </div>
      </div>
    </div>
    <div class="banner-x-exportmobile">
      <button class="{{render '@button--dropshadow'}}" type="button">Export</button>
      <button class="{{render '@button--dropshadow'}}" type="button">Print</button>
    </div>
  </div>
  <div class="banner-x-left-triangle">
    <svg><use xlink:href="#banner-left-triangle"></use></svg>
  </div>
  <div class="banner-x-right-triangle">
    <svg><use xlink:href="#banner-right-triangle"></use></svg>
  </div>
</header>



<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"
      integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
      crossorigin=""/>

<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"
        integrity="sha512-QVftwZFqvtRNi0ZyCtsznlKSWOStnDORoefr1enyq5mVL4tmKB3S/EnC3rRJcxCPavG10IcrVGSmPh6Qw5lwrg=="
        crossorigin=""></script>


<script>
  var mymap = L.map('banner-x-mapbackground').setView([33.6412, -117.9188], 10);

  L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
    attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
    maxZoom: 18,
    id: 'mapbox.streets',
    accessToken: 'pk.eyJ1IjoiZGVyd2luMSIsImEiOiJjanVlZTF0encwMmthNDVwZ3JkcG1zM3dwIn0.QUhvREtLO2bgPkj3CyG3vw'
  }).addTo(mymap);

</script>
{
  "modifier": "banner-detail"
}
  • Content:
    .banner {
      color: $color-light1;
      position: relative;
    }
    
    
    .banner-home,
    .banner-404 {
      background-size: cover;
      background-position: center;
      padding-top: $gridspacing * 3;
    
      h2 {
        @include textstyle-title2;
        margin-bottom: $gridspacing;
      }
    
      h3 {
        @include textstyle-h2-compact;
      }
    
      .banner-x-text {
        position: relative;
        z-index: 2;
      }
    
      @media (min-width: $media-tablet) {
    
        padding-top: $gridspacing * 10;
    
        h2 {
          @include textstyle-title1;
          margin-bottom: $gridspacing * 2;
        }
    
        h3 {
          @include textstyle-h1;
        }
    
      }
    
      @media (min-width: $media-hd) {
        padding-top: $gridspacing * 7;
      }
    }
    
    .banner-home {
      background-image: url('../css/images/home-banner.jpg');
      padding-bottom: $gridspacing * 3;
      background-color: #5a7682;
      background-position: center top;
    
      .banner-x-text {
    
        h2 {
          &:after {
            content: "";
            display: block;
            border-bottom: 4px solid $color-accent0;
            width: 130px;
            margin-top: $gridspacing * 2;
          }
        }
      }
    
      .banner-x-textbottom {
        h3 {
          margin-bottom: $gridspacing * 3;
        }
      }
    
      @media (min-width: $media-tablet) {
        padding-bottom: $gridspacing * 8;
    
        .banner-x-text {
          h3 {
            width: 50%;
          }
        }
    
        .banner-x-textbottom {
          display: flex;
    
          h3 {
            margin-bottom: 0;
          }
        }
    
        .banner-x-search {
          flex-grow: 1;
          padding-left: 8%;
        }
      }
    
      @media (min-width: $media-hd) {
        background-position: right top;
        background-size: 1440px 100%;
        background-repeat: no-repeat;
      }
    }
    
    
    .banner-404 {
      background-image: url('../css/images/campus.jpg');
      padding-bottom: $gridspacing * 8;
    
      h3 {
        margin-bottom: $gridspacing * 3;
      }
    
      @media (min-width: $media-tablet) {
    
        h3 {
          margin-bottom: $gridspacing * 4;
        }
      }
    }
    
    .banner-home,
    .banner-detail,
    .banner-404 {
    
      &:after {
        background: $color-dark5;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        opacity: .5;
        z-index: 1;
      }
    
      .banner-x-left-triangle,
      .banner-x-right-triangle {
        position: absolute;
        bottom: 0;
        opacity: .3;
        z-index: 2;
        height: 16%;
    
        svg {
          width: 100%;
          height: 100%;
        }
      }
    
      .banner-x-left-triangle {
        left: 0;
        width: 25%;
      }
    
      .banner-x-right-triangle {
        right: 0;
        width: 75%;
      }
    }
    
    .banner-detail {
    
      background: #000; // This is not seen due to the overlay, but fixes accessibility color contrast false positives
      padding: ($gridspacing * 5) ($gridspacing * 2) ($gridspacing * 3);
    
      &:after {
        opacity: .8;
      }
    
      a {
        color: $color-light1;
    
        &:focus {
          outline-color: $color-light1;
        }
      }
    
      button {
        &:focus {
          outline-color: $color-light1;
        }
      }
    
      h2 {
        @include textstyle-title2;
        margin-bottom: $gridspacing * 2;
      }
    
      .banner-x-left-triangle,
      .banner-x-right-triangle {
        opacity: .2;
      }
    
      .banner-x-mapbackground {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 1;
      }
    
      .banner-x-content {
        position: relative;
        z-index: 3;
      }
    
    
      .banner-x-exportmobile,
      .banner-x-exporttablet {
    
        display: flex;
        z-index: 3;
    
        button {
          &:first-child {
            margin-right: $gridspacing * 2;
          }
        }
      }
    
      .banner-x-exportmobile {
        position: sticky;
        bottom: $gridspacing * 3;
        left: $gridspacing * 2;
        right: $gridspacing * 2;
        padding-top: $gridspacing * 4;
    
        button {
          width: 100%;
          box-shadow: 0 10px 20px 0 rgba($color-dark1, 0.7);
        }
      }
    
      .banner-x-exporttablet {
        display: none;
        flex-shrink: 0;
      }
    
      .banner-x-link {
        display: flex;
        align-items: center;
        margin-bottom: $gridspacing * 2;
    
        a {
          display: flex;
          align-items: center;
        }
    
        svg {
          display: block;
          fill: $color-light1;
          height: $gridspacing * 2;
          width: $gridspacing * 2;
          margin-left: $gridspacing;
        }
      }
    
      .banner-x-bodysection {
        margin-bottom: $gridspacing * 3;
    
        a {
          display: block;
          text-decoration: underline;
        }
      }
    
      .banner-x-label {
        font-weight: bold;
        margin-bottom: $gridspacing;
      }
    
      .banner-x-name {
        span {
          @include textstyle-small;
          margin-left: $gridspacing;
        }
      }
    
      .banner-x-address {
        margin-top: $gridspacing * 2;
      }
    
      .banner-x-phone {
        color: $color-light1;
      }
    
      // Since the export button is fixed, remove the bottom margin from 2nd bodysection.
      @media (max-width: $media-tablet + 1) {
        .banner-x-bodysection {
          &:nth-child(2) {
            margin-bottom: 0;
          }
        }
      }
    
      @media (min-width: $media-tablet) {
    
        padding-bottom: $gridspacing * 8;
    
        h2 {
          padding-right: $gridspacing * 5;
        }
    
        .banner-x-title {
          display: flex;
          align-items: flex-start;
          justify-content: space-between;
        }
    
        .banner-x-exportmobile {
          display: none;
        }
    
        .banner-x-exporttablet {
          display: block;
        }
    
        .banner-x-link {
          @include textstyle-bodylarge;
          margin-bottom: $gridspacing * 3;
        }
    
        .banner-x-body {
          display: flex;
        }
    
        .banner-x-bodysmall {
          max-width: 75%;
        }
    
        .banner-x-bodysection {
    
          margin-bottom: 0;
    
          &:first-child {
            margin-right: $gridspacing * 6;
          }
        }
      }
    
      @media (min-width: $media-hd) {
        padding-bottom: $gridspacing * 8;
      }
    
      @media print {
        background: #fff;
        color: $color-dark2;
    
        a {
          color: $color-dark2;
        }
    
        h2 {
          @include textstyle-h1;
        }
    
        .banner-x-mapbackground {
          display: none;
        }
    
        .banner-x-exporttablet,
        .banner-x-exportmobile {
          display: none;
        }
    
        .banner-x-body {
          display: flex;
        }
    
        .banner-x-bodysection {
          width: 50%;
        }
    
        &:after {
          background-image: none;
        }
      }
    }
    
  • URL: /components/raw/banner/_banner.scss
  • Filesystem Path: src/scss/02-modules/banner/_banner.scss
  • Size: 5.9 KB

No notes defined.