rexjiang92
6/15/2018 - 3:15 PM

IE QA Force

<script>
	jQuery( document ).ready(function() {
	  if (/MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent)) {
		// This is internet explorer 9 or 11
			jQuery( "body" ).addClass( "ie" );
		}
		if (/Edge\/\d./i.test(navigator.userAgent)){
		// This is Microsoft Edge
			jQuery( "body" ).addClass( "ie" );
		}	
	});
</script>


$linkColor: blue;
$headerFontFamily: arial, sans-serif;
$headerFontWeight: 500;
$textFontFamily: arial, sans-serif;
$headerTransform: Uppercase;

//nav
$navFontWeight: 500;
$navFontFamily: arial, sans-serif;
$navFontColor: black;
//banner
$bannerFontFamily: arial, sans-serif;
$bannerFontColor: white;
$bannerButtonColor: white;
$bannerButtonBg: transparent;
$bannerButtonBorderColor: $bannerFontColor;
//inside banner title 
$insideBannerTitleColor: white;
//CTA block
$ctaBg: #eaeaea;
$ctaFontColor: black;
$ctaTextAlign: center;
$ctaHeaderFont: $headerFontFamily;
$ctaBodyFont: $textFontFamily;

//footer
$footerBg: black;
$footerTextColor: white;
$footerLinkColor: white;

.ie {
  @media print, screen and (min-width: 64em) {
    // nav dropdown triangle indicator
    #block-aw-core-visitormainmenu .dropdown.menu.large-horizontal > li.is-dropdown-submenu-parent > a::after {
      right: 6px;
      margin-top: -4px;
      width: 0;
      height: 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-top: 8px solid $linkColor;
    }
  }
  
  // nav menu items 
  .aw-header .menu .menu-item > a, .menu .is-submenu-parent-item > a {
  	font-weight: $navFontWeight!important;
  	font-family: $navFontFamily;
  }
  
  // banner 
  [data-block-internal-id="core_slider_fullscreen"] {
    .fullscreen-image-slider{
      .orbit__caption {
        h1 {
          color: $bannerFontColor;
        }
        h4 {
          color: $bannerFontColor;
        }
      }
    }
    .button {
      color: $bannerButtonColor;
      background: $bannerButtonBg;
      font-family: $bannerFontFamily;
      border-color: $bannerButtonBorderColor;
    }
  }  
  
  //inside banner title color 
  .page-top__static-caption h1 {
    color: $insideBannerTitleColor;
  }
  
  //Front Page CTA Block
  [data-block-internal-id="ctablock"] {
   background-color: $ctaBg;
   text-align: $ctaTextAlign;
   h2, p {
     color: $ctaFontColor;
     text-align: $ctaTextAlign;
   }
   h2 {
     font-family: $ctaHeaderFont;
   }
   p {
     font-family: $ctaBodyFont;
   }
  }
  
  // Services heading 
  [data-block-internal-id="products_services_list"] {
    h2, .h2, h3, .h3 {
      font-family: $headerFontFamily;
      text-transform: $headerTransform;
      font-weight: $headerFontWeight;
      text-align: center; 
    }
    body, p, .field--type-text-with-summary,
    .company_profile__field--type-string-long {
      font-family: $textFontFamily;
      text-align: center;
    }
  }
  
  // footer bg
  // footer Heading
  [data-block-internal-id="footer"] {
  	background-color: $footerBg;
    h3, .h3 {
      color: $footerTextColor;
    }
  }
  
  // footer paragraph
  [data-block-internal-id="footer"] {
    body, 
    p,
    .field--type-text-with-summary,
    .company_profile__field--type-string-long {
      font-family: $textFontFamily;
      color: $footerTextColor;
    }
    a {
      color: $footerLinkColor;
    }
  }
}