From 279bdd01861a98151a058211e9cb4fe78f526a4f Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Thu, 2 Aug 2018 10:59:23 -0700 Subject: [PATCH 1/6] Removed unneeded page query var --- CHANGELOG.md | 6 ++++++ archive.php | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf763ac..8138cd71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,12 @@ This document details all notable changes to the WSU HRS Child Theme. Uses [Sema ### Removed (for deprecated features removed in this release) --> +## 0.18.0 (unreleased) + +### Removed + +- Removed unneeded page query var from `archive.php`. + ## 0.17.8 (2018-07-31) ### Fixed diff --git a/archive.php b/archive.php index 30846b59..69051ecb 100644 --- a/archive.php +++ b/archive.php @@ -30,8 +30,6 @@ $archive_title = __( 'HRS News' ); } -$page = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; - $is_feature = false; get_header(); From c414e0b82e020e50edc649c47a1ecd00cab85b9c Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Thu, 2 Aug 2018 11:02:25 -0700 Subject: [PATCH 2/6] Stop filtering query on HRS tax pages --- CHANGELOG.md | 1 + includes/hrs-queries.php | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8138cd71..8a8ef40d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This document details all notable changes to the WSU HRS Child Theme. Uses [Sema ### Removed +- Stop filtering the main query on the HRS taxonomy archive pages. - Removed unneeded page query var from `archive.php`. ## 0.17.8 (2018-07-31) diff --git a/includes/hrs-queries.php b/includes/hrs-queries.php index 76494af1..439a0297 100644 --- a/includes/hrs-queries.php +++ b/includes/hrs-queries.php @@ -19,19 +19,17 @@ * @param \WP_Query $query */ function hrs_filter_query( $query ) { + if ( is_admin() || ! $query->is_main_query() ) { + return; + } /* Exclude posts in the reminder category from the posts home query. */ if ( ! is_admin() && is_home() && $query->is_main_query() ) { $reminders = get_category_by_slug( 'reminders' ); $query->set( 'category__not_in', intval( $reminders->term_id ) ); + $query->set( 'posts_per_page', 1 ); return; } - - if ( is_admin() || ! $query->is_main_query() || ! is_tax( 'hrs_unit' ) ) { - return; - } - - $query->set( 'posts_per_page', 1 ); } /** From a7d704228e5bebc5c3bc87f823136e39e5ab2c10 Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Thu, 2 Aug 2018 11:04:16 -0700 Subject: [PATCH 3/6] Simplify HRS tax archive display to a single filtered query --- CHANGELOG.md | 4 +++ taxonomy-hrs_unit.php | 71 +++++++++++++++---------------------------- 2 files changed, 28 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a8ef40d..86449cb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,10 @@ This document details all notable changes to the WSU HRS Child Theme. Uses [Sema ## 0.18.0 (unreleased) +### Changed + +- Switched from using a custom WP_Query on HRS taxonomy archive pages to just filtering the full main query. + ### Removed - Stop filtering the main query on the HRS taxonomy archive pages. diff --git a/taxonomy-hrs_unit.php b/taxonomy-hrs_unit.php index 267e6144..879e88f1 100644 --- a/taxonomy-hrs_unit.php +++ b/taxonomy-hrs_unit.php @@ -9,10 +9,6 @@ */ global $is_feature; -$page = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; -$exclude_post_id = array(); -$is_feature = false; - get_header(); ?> @@ -23,59 +19,40 @@

- - -
-
-
+ +
+
+
+ -
-
- - $exclude_post_id, - 'paged' => $page, - ) ); - - if ( $archive_query->have_posts() ) : - $output_post_count = 0; - - while ( $archive_query->have_posts() ) : $archive_query->the_post(); - - if ( ! is_paged() ) { - if ( 0 === $output_post_count ) { + if ( 1 === $result_count ) { + $is_feature = false; ?> +
+
+
-
+
@@ -85,7 +62,7 @@
@@ -96,18 +73,18 @@ get_template_part( 'articles/archive-content' ); - $output_post_count++; + $result_count++; endwhile; ?> -
-
-
+ + + max_num_pages ); + \WSU\HRS\Template_Tags\hrs_pagination(); get_template_part( 'parts/footers' ); ?> From cd00fe872edac30ed5f35e2d8c9155c13fd60481 Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Thu, 2 Aug 2018 11:42:09 -0700 Subject: [PATCH 4/6] Remove posts per page setting override --- includes/hrs-queries.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/includes/hrs-queries.php b/includes/hrs-queries.php index 439a0297..4e1ef16a 100644 --- a/includes/hrs-queries.php +++ b/includes/hrs-queries.php @@ -11,10 +11,10 @@ add_action( 'pre_get_posts', 'WSU\HRS\Queries\hrs_filter_query', 10 ); /** - * Filters the main tax query for the HRS Units tax. + * Filters the main WP_Query. * - * Adjust the main taxonomy query for the HRS Units taxonomy to display only the - * first result. For use in the featured article layout template. + * Adjust the main query on the posts home page to filter out posts in the + * "Reminder" category to prevent duplicate results. * * @param \WP_Query $query */ @@ -23,11 +23,10 @@ function hrs_filter_query( $query ) { return; } - /* Exclude posts in the reminder category from the posts home query. */ + // Exclude posts in the reminder category from the posts home query. if ( ! is_admin() && is_home() && $query->is_main_query() ) { $reminders = get_category_by_slug( 'reminders' ); $query->set( 'category__not_in', intval( $reminders->term_id ) ); - $query->set( 'posts_per_page', 1 ); return; } } From 20e6c0a2790e0cac0c0d3a8a4e067598b0e5c5cb Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Thu, 2 Aug 2018 11:46:12 -0700 Subject: [PATCH 5/6] Fix #55, Close #56 Switched to main WP Query to avoid pagination problems --- CHANGELOG.md | 6 +++ home.php | 109 ++++++++++++++++++--------------------------------- 2 files changed, 44 insertions(+), 71 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86449cb3..a6e1a2ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,8 +22,14 @@ This document details all notable changes to the WSU HRS Child Theme. Uses [Sema ## 0.18.0 (unreleased) +### Fixed + +- Fix #55 and #56 use main WP Query wherever possible instead of custom queries to maintain pagination. + ### Changed +- No longer override the posts_per_page setting on the posts home page. +- Switch from using a custom WP_Query in `home.php` to using only the main query and filtering it with `pre_get_posts` and formatting with a counter. - Switched from using a custom WP_Query on HRS taxonomy archive pages to just filtering the full main query. ### Removed diff --git a/home.php b/home.php index e8552f2e..4221d98f 100644 --- a/home.php +++ b/home.php @@ -9,10 +9,6 @@ */ global $is_feature; -$page = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; -$is_feature = false; -$exclude_post_id = array(); - get_header(); ?> @@ -22,87 +18,58 @@

- - -
-
-
+ +
+
+
+
-
- - have_posts() ) : - ?> -
-

-
    have_posts() ) : $reminders->the_post(); - $exclude_post_id[] = get_the_ID(); + $reminders = WSU\HRS\Queries\get_reminder_posts( 'objects' ); + + if ( $reminders->have_posts() ) { ?> -
  • +
    +

    +
      + have_posts() ) : $reminders->the_post(); ?> +
    • + +
    +
    -
-
- - -
-
- - 10, - 'post__not_in' => $exclude_post_id, - 'paged' => absint( $page ), - ) ); - - if ( $archive_query->have_posts() ) : - $output_post_count = 0; - - while ( $archive_query->have_posts() ) : $archive_query->the_post(); + wp_reset_postdata(); + ?> + + - // Display special layout and content on the first page only. - if ( ! is_paged() ) { - if ( 0 === $output_post_count ) { - ?>
-
+
@@ -118,13 +85,13 @@
-

More News from HRS

+

@@ -135,14 +102,14 @@ get_template_part( 'articles/archive-content' ); - $output_post_count++; + $result_count++; endwhile; ?> -
-
-
+
+ +
Date: Thu, 2 Aug 2018 11:48:52 -0700 Subject: [PATCH 6/6] Build v0.18.1 --- CHANGELOG.md | 4 ++-- assets/css/style.css | 2 +- functions.php | 2 +- package.json | 2 +- src/assets/scss/style.scss | 2 +- style.css | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6e1a2ac..c91e83f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,11 +20,11 @@ This document details all notable changes to the WSU HRS Child Theme. Uses [Sema ### Removed (for deprecated features removed in this release) --> -## 0.18.0 (unreleased) +## 0.18.1 (2018-08-02) ### Fixed -- Fix #55 and #56 use main WP Query wherever possible instead of custom queries to maintain pagination. +- Fix #55 and close #56, use main WP Query wherever possible instead of custom queries to maintain pagination. ### Changed diff --git a/assets/css/style.css b/assets/css/style.css index 027ccb53..a9bfa785 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1,2 +1,2 @@ -html{background-color:#f2f2f2}.site-header,main{color:#191919;font:400 18px/28px Source Sans Pro,Lucida Sans,geneva,verdana,sans-serif;overflow-wrap:break-word;word-wrap:break-word}.site-header *,.site-header :after,.site-header :before,main *,main :after,main :before{box-sizing:border-box}.site-header .page-header,.site-header section,main .page-header,main section{background-color:#fdfdfd}@media (min-width:61.875em){.site-header,main .page-header,main section{border-left:8px solid #f2f2f2}.home .site-header,.home main .page-header,.home main section{border-left:none}}h1{font-size:2.281em;padding-top:0}h2{font-size:1.802em}h3{font-size:1.424em}h4{font-size:1.125em}h5{font-size:1em}h6{font-size:.889em}blockquote{border-left:4px solid #5e6a71;font-family:Source Sans Pro,Lucida Sans,geneva,verdana,sans-serif;margin-bottom:1em;margin-left:1em;padding:0 2em 0 1em}blockquote p:last-child{padding:0}abbr[title],acronym[title]{border-bottom:2px dotted;text-decoration:none}hr{height:4px;margin:1em auto;width:55%}.site-header a,main a{border-bottom:1px solid #da1e00;color:#191919;font-weight:600;text-decoration:none;transition:all .3s ease}.site-header a:focus,.site-header a:hover,main a:focus,main a:hover{color:#c60c30}.site-header figure>a,main figure>a{border-bottom:none;display:block;position:relative}.article-title a,a.site-title{border-color:rgba(0,0,0,0)}.article-title a:focus,.article-title a:hover,a.site-title:focus,a.site-title:hover{border-color:currentColor}dl dd,dl dt{display:block}dd{padding-left:2em}.screen-reader-text{-webkit-clip-path:inset(50%);border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.textaligncenter{text-align:center}.page-template-template-builder .h1-header{padding-bottom:3rem}@media (min-width:61.875em){.page-template-template-builder div.page .row.single .column{width:70%}.page-template-template-builder div.page .row.single.builder-section-banner .column,.page-template-template-builder div.page .row.single.full-width .column{width:100%}}.builder-section-banner .builder-banner-content{border-top-width:3.6rem}.builder-section-banner .builder-banner-inner-title{background-color:#fff;background-color:hsla(0,0%,100%,.9);color:#981e32;font-weight:600;padding:1em 1rem .25rem}.builder-section-banner .builder-banner-inner-content{-ms-flex-pack:start;justify-content:flex-start}.builder-section-banner .builder-banner-inner-content p{background-color:#fff;background-color:hsla(0,0%,100%,.9);color:#191919;padding:1.5rem 2rem}.builder-section-banner .content-position-none .builder-banner-content{text-align:center}.builder-section-banner .content-position-left{background-position:100%}.builder-section-banner .content-position-right{background-position:0}.banner-container{z-index:1}@media only screen and (min-width:640px){.hrs-two-col{clear:none!important;width:47%}.hrs-1-of-4{width:23%}.hrs-1-of-5{width:20%}.hrs-2-of-5{width:40%}.hrs-3-of-5{width:60%}.hrs-4-of-5{width:80%}.gform_wrapper .gfield_error.hrs-two-col{width:47%}}.site-header button,main .button,main .button-cta,main button,main input[type=button],main input[type=reset],main input[type=submit]{background:#fff;border:1px solid #981e32;border-radius:3px;box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.1);color:#981e32;display:inline-block;font-size:1rem;font-weight:400;line-height:1.5;padding:.75rem 1.5rem;text-decoration:none;transition:all .3s ease}.site-header button:focus,.site-header button:hover,main .button-cta:focus,main .button-cta:hover,main .button:focus,main .button:hover,main button:focus,main button:hover,main input:focus[type=submit],main input:hover[type=submit],main input[type=button]:focus,main input[type=button]:hover,main input[type=reset]:focus,main input[type=reset]:hover{background:#c60c30;border:1px solid #da1e00;box-shadow:0 1px 2px 1px rgba(0,0,0,.2),0 0 0 1px rgba(0,0,0,.1);color:#fff}.site-header button:active,main .button-cta:active,main .button:active,main button:active,main input:active[type=submit],main input[type=button]:active,main input[type=reset]:active{background:#6d1624;border:1px solid #475055;box-shadow:0 1px 5px 2px rgba(0,0,0,.1);outline-width:0}main .button-cta,main input[type=submit]{background:#981e32;color:#fff}main .button-cta:focus,main .button-cta:hover,main input[type=submit]:focus,main input[type=submit]:hover{background:#fff;color:#c60c30}main .button-cta:active,main input[type=submit]:active{background:#eff0f1}.button-flat{border:none;border-radius:3px;color:#981e32;display:inline-block;font-size:1rem;font-weight:400;line-height:1.5;padding:.75rem 1.5rem;text-decoration:underline;transition:all .3s ease}.button-flat:focus,.button-flat:hover{background:#c60c30;color:#fff}.button-flat:active{background:#6d1624;box-shadow:0 1px 5px 2px rgba(0,0,0,.1)}.embed-youtube{height:0;margin-bottom:1.4em;overflow:hidden;padding-bottom:56.25%;position:relative}.embed-youtube embed,.embed-youtube iframe,.embed-youtube object{height:100%;left:0;position:absolute;top:0;width:100%}.youtube-4x3{padding-bottom:75%}.archive .page-header h1:before,.article-header time:before,.reminders li a:before,figure .wp-caption-text:before{background-image:url(../images/icons/label.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1em;margin:0 .4em -.2em 0;width:1em}.article-taxonomy--primary ul a,.articles-list .article-title a,.cards .article-title a,.home-detail-subnav h2 a,.reminders li a,.search-links a{border-bottom-color:rgba(0,0,0,0)}.article-taxonomy--primary ul a:after,.articles-list .article-title a:after,.cards .article-title a:after,.home-detail-subnav h2 a:after,.reminders li a:after,.search-links a:after{background:url(../images/icons/link.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1em;margin:.05em 0 -.05em .3em;width:1em}.article-taxonomy--primary ul a:focus,.article-taxonomy--primary ul a:hover,.articles-list .article-title a:focus,.articles-list .article-title a:hover,.cards .article-title a:focus,.cards .article-title a:hover,.home-detail-subnav h2 a:focus,.home-detail-subnav h2 a:hover,.reminders li a:focus,.reminders li a:hover,.search-links a:focus,.search-links a:hover{border-bottom-color:currentColor}.section-wrapper-has-background{background-attachment:fixed;background-repeat:no-repeat;background-size:cover;min-height:600px!important}.column.social-media-icons{-ms-flex-flow:row nowrap;-ms-flex-pack:end;display:-ms-flexbox;display:flex;flex-flow:row nowrap;justify-content:flex-end}.column.social-media-icons p{line-height:1;padding:0}.column.social-media-icons a{border:none;padding-right:.75rem}.column.social-media-icons a:focus img,.column.social-media-icons a:hover img{opacity:.7}.column.social-media-icons img{border-radius:4px}.cards,.recent-articles{display:grid;grid-auto-rows:minmax(4rem,auto);grid-gap:1.5rem 2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.cards .card,.cards article,.recent-articles .card,.recent-articles article{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}.cards .article-summary,.recent-articles .article-summary{margin-top:.5em}.cards .article-image,.recent-articles .article-image{-ms-flex-order:-1;order:-1}.cards .article-footer,.recent-articles .article-footer{-ms-flex-order:-2;order:-2}.articles-list .article-title a:after,.cards .article-title a:after{background-size:50%;margin:-.17em 0 0;position:absolute}main .tablepress,main table{font-variant-numeric:lining-nums tabular-nums;margin-bottom:1.5rem}main thead tr{border-bottom:1px solid #839098}main td,main th{padding:.5em .75em;text-align:left}main td.nums,main th.nums{text-align:right}main th{font-weight:600}main .striped tbody tr:nth-child(odd) td{background:#eff0f1}figure img{max-width:100%}figcaption{color:#475055;font-size:.889em;letter-spacing:.02em;line-height:normal;padding:.3em .5em}input[type=number]{background:#fff;border:1px solid #ccc;border-radius:2px;color:#767676;margin:0;outline:0;padding:6px 4px}.gallery{-ms-flex-wrap:wrap;display:-ms-flexbox;display:flex;flex-wrap:wrap;margin:auto}.gallery img{border:0;box-sizing:border-box;display:block;margin:0 auto}.gallery-item{box-sizing:border-box;padding:1rem;text-align:center}.gallery-columns-1 .gallery-item,.gallery-columns-2 .gallery-item,.gallery-columns-3 .gallery-item,.gallery-columns-4 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-8 .gallery-item,.gallery-columns-9 .gallery-item{width:50%}@media (max-width:43em){.gallery-item:nth-child(odd){padding-left:0}.gallery-item:nth-child(2n){padding-right:0}}@media (min-width:43em){.gallery-columns-1 .gallery-item{width:100%}.gallery-columns-2 .gallery-item{width:50%}.gallery-columns-3 .gallery-item{width:33.33333%}.gallery-columns-4 .gallery-item{width:25%}.gallery-columns-5 .gallery-item{width:20%}.gallery-columns-6 .gallery-item{width:16.66667%}.gallery-columns-7 .gallery-item{width:14.28571%}.gallery-columns-8 .gallery-item{width:12.5%}.gallery-columns-9 .gallery-item{width:11.11111%}}.module,.module--alert,.module--cta{border:8px solid #475055;margin:1.5rem auto;max-width:54.851em;padding:1.5rem 2rem}.module--alert .module-title,.module--cta .module-title,.module .module-title{color:#475055}.module-title{border-bottom:4px solid #eff0f1;font-size:1.602em;margin:0 0 .5em;padding:0 0 .25em}.module--cta{text-align:center}.module--cta .module-title{font-size:2.027em}.module--alert{border-color:#981e32;min-width:300px;text-align:center;width:80%}.module--alert .module-title{font-size:2.281em}.module--alert svg{fill:#981e32}.module--alert.positive{border-color:#ada400}.module--alert.positive svg{fill:#ada400}.module--alert.caution{border-color:#ffb81c}.module--alert.caution svg{fill:#ffb81c}.module--alert.warning{border-color:#f6861f}.module--alert.warning svg{fill:#f6861f}.notification,.notification--caution,.notification--positive,.notification--warning{-ms-flex-align:center;-ms-flex-pack:end;-ms-flex-wrap:wrap;align-items:center;border:solid #475055;border-width:5px 5px 5px 1em;display:-ms-flexbox;display:flex;flex-wrap:wrap;justify-content:flex-end;margin:1.5em auto;max-width:54.851em;padding:.75em 1em}.notification--caution>:not(:first-child),.notification--positive>:not(:first-child),.notification--warning>:not(:first-child),.notification>:not(:first-child){padding-left:1em}.notification--caution>:first-child,.notification--positive>:first-child,.notification--warning>:first-child,.notification>:first-child{margin-right:auto}.notification--positive{border-color:#ada400}.notification--caution{border-color:#ffb81c}.notification--warning{border-color:#f6861f}@media (min-width:43em){.notification,.notification--caution,.notification--positive,.notification--warning{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.notification--caution p,.notification--positive p,.notification--warning p,.notification p{padding:0}}.pager{margin:1.5rem auto}.pager ul{-ms-flex-flow:row nowrap;display:-ms-flexbox;display:flex;flex-flow:row nowrap;padding:0}.pager .pagination a{border:1px solid rgba(0,0,0,0);display:block;margin:0 .25em;padding:.75em 1em}.pager .pagination a:focus,.pager .pagination a:hover{background:#c60c30;color:#fdfdfd}.pager .current,.pager .dots{display:block;margin:0 .25em;padding:.75em 1em}.pager .current{background:#f2f2f2;border:1px solid #475055}.nav-next,.nav-previous{display:inline-block;width:50%}.nav-next{float:right;text-align:right}@media (min-width:34em){.pager ul{font-size:1em}}.articles-list .article-title,.cards .article-title,.recent-articles .article-title{font-size:1.424em;font-weight:900;line-height:1.1;padding:.5em 0 .2em}.articles-list .article-footer,.cards .article-footer,.recent-articles .article-footer{border:none;color:#191919;margin:0 0 .5em;padding:0}.features .articles-list .article-title,.latest .articles-list .article-title{font-size:1.802em}@media (min-width:43em){.articles-list article{display:grid;grid-column-gap:2rem;grid-template-columns:minmax(220px,3fr) minmax(220px,1fr)}.articles-list .article-header,.articles-list .article-summary{grid-column:1}.articles-list .article-image{grid-column:2;grid-row:1/3}section:not(.features) .articles-list article{font-size:1rem;line-height:1.5;max-width:61.875em}section:not(.features) .articles-list .article-image{margin-top:.75em;max-height:7em;overflow:hidden}}#search-menu{-ms-flex-flow:row wrap;-ms-transform:translateY(-100rem);background:#eff0f1;box-shadow:2px 3px 5px 1px hsla(0,0%,8%,.12);display:-ms-flexbox;display:flex;flex-flow:row wrap;padding:9rem 2rem 1.5rem;position:absolute;top:4.8rem;transform:translateY(-100rem);transition-delay:.1s;transition-duration:.3s;transition-property:transform top;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:200}#search-menu.is-visible{-ms-transform:translateY(-4.8rem);transform:translateY(-4.8rem)}.search-toggle{padding:.5rem 1rem}.search-toggle[aria-expanded=true]{background:#475055;border-color:#475055;color:#eff0f1}#search-menu .screen-reader-text:focus{-webkit-clip-path:inherit;background:#fdfdfd;bottom:7px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto;clip-path:inherit;color:#c60c30;display:block;height:auto;padding:15px 23px 14px;right:6px;width:auto;z-index:100000}.search-form{-ms-flex:1 1 auto;flex:1 1 auto}.search-input[type=search]{font-size:1.602em;width:90%}.search-links-title{font-size:1.802em;padding-bottom:1rem;padding-top:.5rem}.search-links ul{column-count:2;margin:0 0 1rem;padding:0}.search-links ul li{line-height:1.5}.search-links a:after{background-size:80%}@media (min-width:34em){#search-menu{padding-top:7.5rem}}@media (min-width:43em){.search-toggle{padding:.75rem 1.5rem}}.site-header{margin:50px 0 -50px}.site-header .column{-ms-flex-align:center;-ms-flex-pack:end;align-items:center;border-bottom:8px solid #f2f2f2;border-top:8px solid #981e32;display:-ms-flexbox;display:flex;justify-content:flex-end;padding:.75rem 1rem;z-index:900}.home .site-header{margin-left:0}a.site-title{border:none;color:#981e32;font-size:1.424em;margin:.75rem 1rem .75rem 0}@media (min-width:43em){a.site-title{font-size:1.802em;margin:1rem 2rem}}@media (min-width:61.875em){.site-header{margin:0 0 0 198px}.site-header .column{padding:0 2rem}a.site-title{font-size:2.027em;margin:2.027rem 2rem}}footer dd,footer ul{font-size:.79em}footer dd a,footer ul a{border-bottom-color:rgba(0,0,0,0)}footer dd a:focus,footer dd a:hover,footer ul a:focus,footer ul a:hover{border-bottom-color:currentColor}.site-footer{margin-top:1.5rem}.site-footer nav ul{padding:0}.footer-nav{-ms-flex-flow:row nowrap;display:-ms-flexbox;display:flex;flex-flow:row nowrap}.footer-nav nav{-ms-flex:3 1 auto;flex:3 1 auto;margin:1.5rem 2rem}.footer-nav .wsu-brand{-ms-flex:1 1 auto;flex:1 1 auto;margin:1.5rem 2rem;position:relative}.footer-nav .wsu-cougar-head{bottom:0;height:auto;position:absolute;right:0;width:100px}.footer-nav .footer-nav-title{font-weight:600}.site-reference{background:#981e32;color:#fff}.site-reference ul{-ms-flex-flow:column;-ms-flex-pack:end;display:-ms-flexbox;display:flex;flex-flow:column;justify-content:flex-end}.site-reference ul li{padding:0}.site-reference a{border:none;color:#fff;display:block;font-weight:400;padding:1em .75em}.site-reference a:focus,.site-reference a:hover{border:none;color:#eff0f1;text-decoration:underline}@media (min-width:34em){.site-reference ul{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:1.25rem}}body.single:not(.home) .article-header{margin-bottom:3rem}body.single:not(.home) .article-container figure.article-image{margin-bottom:1.5rem;margin-left:-2rem;max-width:none;width:100vw}.article-taxonomy--primary ul{font-size:.79em;list-style-type:none;margin:0;padding:0}.article-taxonomy--primary ul a{color:#475055}.article-taxonomy--primary ul a:after{background-size:80%}.article-taxonomy--primary ul a:focus,.article-taxonomy--primary ul a:hover{color:#c60c30}@media (min-width:43em){body.single:not(.home) .article-container figure.article-image{float:right;margin-left:0;margin-right:calc(-43% - 2rem);max-width:34em;padding:0 2rem;width:50vw}body.single:not(.home) .article-content{width:70%}}.article-header time{font-size:.79em}.article-header time:before{background-image:url(../images/icons/time.svg)}.single-post .article-body{padding-bottom:1.5em}.single-post .article-footer{border-top:8px solid #f2f2f2;color:#475055;margin:0 -2rem;padding:1.5rem 2rem .75rem}.single-post .article-footer dl{padding-bottom:.75rem}.single-post .article-footer dl dt:after{content:none}.single-post .article-footer dt{font-weight:600;line-height:1.4}.single-post .article-footer dd{display:inline-block;padding-left:0}.single-post .article-footer a{color:#191919}.single-post .article-footer a:focus,.single-post .article-footer a:hover{color:#c60c30}@media (min-width:43em){.single-post .article-footer{-ms-flex-pack:justify;display:-ms-flexbox;display:flex;justify-content:space-between;margin-right:calc(-43% - 2rem)}.single-post .article-footer dl:last-child{margin-right:25%}}.page-header{padding:1.5rem 2rem}.archive .page-header h1{text-transform:capitalize}.archive .page-header h1:before{background-image:url(../images/icons/bookmarks.svg)}.article-archive h2{margin-bottom:2.25rem;text-align:center;text-transform:capitalize}.article-archive article{border-bottom:6px solid #f2f2f2;padding:.75rem 0}.article-archive footer{display:none}section.latest{border-bottom:8px solid #f2f2f2;border-top:8px solid #f2f2f2}section.latest article{font-size:1rem;line-height:1.5}@media (max-width:43em){.features .articles-list article{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}.features .articles-list .article-image{-ms-flex-order:-1;order:-1}}@media (min-width:43em){.features .articles-list article{grid-auto-rows:1fr 2fr;grid-template-columns:repeat(2,minmax(220px,1fr))}.features .articles-list .article-footer{left:2rem;position:absolute;top:1rem}}@media (min-width:61.875em){.home #spine.cropped:not(.skimmed){margin-left:2rem}.home #search-menu{right:0;width:60%}}.home-main-subnav nav ul{-ms-flex-pack:space-evenly;-ms-flex-wrap:wrap;display:-ms-flexbox;display:flex;flex-wrap:wrap;justify-content:space-evenly;padding:0}.home-main-subnav nav li{-ms-flex:0 1 auto;flex:0 1 auto;font-size:1.125em;padding:.2em 0 0;text-align:center}.home-main-subnav nav a{background-color:#475055;border-bottom:none;color:#fff;display:block}.home-main-subnav nav a:focus,.home-main-subnav nav a:hover{background-color:#c60c30;color:#fff}@media (max-width:34em){.home-main-subnav nav a{height:25vw;line-height:25vw;width:48vw}}@media (min-width:34em){.home-main-subnav nav ul{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.home-main-subnav nav li{-ms-flex:1 1 auto;flex:1 1 auto;padding:0}.home-main-subnav nav a{border-right:3px solid #fff;padding:.9em}li:last-of-type a{border-right:none}}.home-detail-subnav{background-color:rgba(0,0,0,0)}.home-detail-subnav h2{font-size:1.266em;padding:0}.home-detail-subnav h2 a{background-color:#981e32;border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;display:block;padding:.9em}.home-detail-subnav h2 a:after{background-image:url(../images/icons/link_light.svg);background-size:70%}.home-detail-subnav h2 a:focus,.home-detail-subnav h2 a:hover{background-color:#c60c30}.home-detail-subnav ul{background-color:#fdfdfd;padding:1.5em 2em}.blog .reminders{padding-top:3rem}.blog .reminders h2{border-bottom:2px solid #981e32;border-left:12px solid #981e32;font-style:italic;font-weight:600;margin-bottom:1.5rem;margin-left:-.3em;padding:.25em .5em}.blog .reminders ul{list-style-type:none;padding:0 0 0 2em}.blog .reminders ul li{margin-bottom:1em}.blog .reminders ul a:before{background-image:url(../images/icons/event.svg);height:2em;margin-left:-2.6rem;position:absolute;width:2em}.blog .reminders ul a:after{background-size:70%;position:absolute}.blog .hrs-units-browse{background-color:#f2f2f2;text-align:center}.blog .hrs-units-browse .gallery{list-style-type:none;padding:0}.blog .hrs-units-browse .gallery a{background-color:#fdfdfd;border:1px solid #981e32;display:block;font-size:1.125em;height:100%;padding:1.5rem .5rem}.blog .hrs-units-browse .gallery a:focus,.blog .hrs-units-browse .gallery a:hover{background-color:#c60c30;color:#fdfdfd}@media (min-width:34em){.blog .reminders{padding-top:0}.blog .reminders h2{margin-left:0}.blog .features .column{display:grid;grid-column-gap:3rem;grid-template-columns:3fr 1fr}}@media (min-width:43em){.blog .features .articles-list article{grid-auto-rows:1fr 1fr}}.page-spokane .builder-banner-inner-title,.page-tricities .builder-banner-inner-title{font-size:2.281em;margin:auto;width:400px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.page-spokane .cards,.page-tricities .cards{padding:1.5rem 0;text-align:center}.page-spokane .aligncenter,.page-tricities .aligncenter{margin:auto}.page-spokane .article-title,.page-tricities .article-title{font-size:1.424em;font-weight:600;padding:.5rem 0}.page-spokane .article-image img:focus,.page-spokane .article-image img:hover,.page-tricities .article-image img:focus,.page-tricities .article-image img:hover{opacity:.6}.tablepress tfoot th,.tablepress thead th{background-color:inherit;vertical-align:inherit}.tablepress thead th{border-bottom:inherit}.tablepress-hrs-contacts td.column-3{white-space:nowrap}@media (max-width:43em){.tablepress-hrs-contacts,.tablepress-hrs-contacts caption,.tablepress-hrs-contacts tbody,.tablepress-hrs-contacts td,.tablepress-hrs-contacts th,.tablepress-hrs-contacts tr{display:block;text-align:left}.tablepress-hrs-contacts td:empty,.tablepress-hrs-contacts th:empty,.tablepress-hrs-contacts thead{display:none;visibility:hidden}.tablepress-hrs-contacts tbody tr{margin-bottom:1.5rem}.tablepress-hrs-contacts tbody td,.tablepress-hrs-contacts tfoot th{border:none;line-height:1.4;padding:4px 8px}.tablepress-hrs-contacts .column-1{font-weight:600}}.hrs-medical-premium-changes-2018 tbody{border-bottom:1px solid #ddd;border-left:1px solid #ddd}.hrs-medical-premium-changes-2018 tbody td{border-right:1px solid #ddd}.hrs-medical-premium-changes-2018 tbody td:not(.column-1){text-align:center;width:9%}.hrs-medical-premium-changes-2018 tr .column-3,.hrs-medical-premium-changes-2018 tr .column-5,.hrs-medical-premium-changes-2018 tr .column-7,.hrs-medical-premium-changes-2018 tr .column-9{background-color:#eee;font-weight:600}.hrs-medical-premium-changes-2018 .row-1 td{background-color:#981e32;color:#fff;font-weight:600;text-align:center;vertical-align:middle}.hrs-medical-premium-changes-2018 .row-2 td{background-color:#2a3033;color:#fff;text-align:center}.hrs-medical-premium-changes-2018 .row-3 .column-1,.hrs-medical-premium-changes-2018 .row-8 .column-1,.hrs-medical-premium-changes-2018 .row-12 .column-1{background-color:#d7dadb;font-weight:600}.tablepress-id-31 .column-1{width:450px!important}.tablepress-id-7 .column-1{width:500px!important}.tablepress-id-7 .column-2,.tablepress-id-31 .column-2{width:150px!important}.tablepress-id-7 .column-3,.tablepress-id-31 .column-3{width:100px!important}.caldera-grid td,.caldera-grid th{padding:.5em .75em} +html{background-color:#f2f2f2}.site-header,main{color:#191919;font:400 18px/28px Source Sans Pro,Lucida Sans,geneva,verdana,sans-serif;overflow-wrap:break-word;word-wrap:break-word}.site-header *,.site-header :after,.site-header :before,main *,main :after,main :before{box-sizing:border-box}.site-header .page-header,.site-header section,main .page-header,main section{background-color:#fdfdfd}@media (min-width:61.875em){.site-header,main .page-header,main section{border-left:8px solid #f2f2f2}.home .site-header,.home main .page-header,.home main section{border-left:none}}h1{font-size:2.281em;padding-top:0}h2{font-size:1.802em}h3{font-size:1.424em}h4{font-size:1.125em}h5{font-size:1em}h6{font-size:.889em}blockquote{border-left:4px solid #5e6a71;font-family:Source Sans Pro,Lucida Sans,geneva,verdana,sans-serif;margin-bottom:1em;margin-left:1em;padding:0 2em 0 1em}blockquote p:last-child{padding:0}abbr[title],acronym[title]{border-bottom:2px dotted;text-decoration:none}hr{height:4px;margin:1em auto;width:55%}.site-header a,main a{border-bottom:1px solid #da1e00;color:#191919;font-weight:600;text-decoration:none;transition:all .3s ease}.site-header a:focus,.site-header a:hover,main a:focus,main a:hover{color:#c60c30}.site-header figure>a,main figure>a{border-bottom:none;display:block;position:relative}.article-title a,a.site-title{border-color:rgba(0,0,0,0)}.article-title a:focus,.article-title a:hover,a.site-title:focus,a.site-title:hover{border-color:currentColor}dl dd,dl dt{display:block}dd{padding-left:2em}.screen-reader-text{-webkit-clip-path:inset(50%);border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.textaligncenter{text-align:center}.page-template-template-builder .h1-header{padding-bottom:3rem}@media (min-width:61.875em){.page-template-template-builder div.page .row.single .column{width:70%}.page-template-template-builder div.page .row.single.builder-section-banner .column,.page-template-template-builder div.page .row.single.full-width .column{width:100%}}.builder-section-banner .builder-banner-content{border-top-width:3.6rem}.builder-section-banner .builder-banner-inner-title{background-color:#fff;background-color:hsla(0,0%,100%,.9);color:#981e32;font-weight:600;padding:1em 1rem .25rem}.builder-section-banner .builder-banner-inner-content{-ms-flex-pack:start;justify-content:flex-start}.builder-section-banner .builder-banner-inner-content p{background-color:#fff;background-color:hsla(0,0%,100%,.9);color:#191919;padding:1.5rem 2rem}.builder-section-banner .content-position-none .builder-banner-content{text-align:center}.builder-section-banner .content-position-left{background-position:100%}.builder-section-banner .content-position-right{background-position:0}.banner-container{z-index:1}@media only screen and (min-width:640px){.hrs-two-col{clear:none!important;width:47%}.hrs-1-of-4{width:23%}.hrs-1-of-5{width:20%}.hrs-2-of-5{width:40%}.hrs-3-of-5{width:60%}.hrs-4-of-5{width:80%}.gform_wrapper .gfield_error.hrs-two-col{width:47%}}.site-header button,main .button,main .button-cta,main button,main input[type=button],main input[type=reset],main input[type=submit]{background:#fff;border:1px solid #981e32;border-radius:3px;box-shadow:0 2px 2px 0 rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.1);color:#981e32;display:inline-block;font-size:1rem;font-weight:400;line-height:1.5;padding:.75rem 1.5rem;text-decoration:none;transition:all .3s ease}.site-header button:focus,.site-header button:hover,main .button-cta:focus,main .button-cta:hover,main .button:focus,main .button:hover,main button:focus,main button:hover,main input:focus[type=submit],main input:hover[type=submit],main input[type=button]:focus,main input[type=button]:hover,main input[type=reset]:focus,main input[type=reset]:hover{background:#c60c30;border:1px solid #da1e00;box-shadow:0 1px 2px 1px rgba(0,0,0,.2),0 0 0 1px rgba(0,0,0,.1);color:#fff}.site-header button:active,main .button-cta:active,main .button:active,main button:active,main input:active[type=submit],main input[type=button]:active,main input[type=reset]:active{background:#6d1624;border:1px solid #475055;box-shadow:0 1px 5px 2px rgba(0,0,0,.1);outline-width:0}main .button-cta,main input[type=submit]{background:#981e32;color:#fff}main .button-cta:focus,main .button-cta:hover,main input[type=submit]:focus,main input[type=submit]:hover{background:#fff;color:#c60c30}main .button-cta:active,main input[type=submit]:active{background:#eff0f1}.button-flat{border:none;border-radius:3px;color:#981e32;display:inline-block;font-size:1rem;font-weight:400;line-height:1.5;padding:.75rem 1.5rem;text-decoration:underline;transition:all .3s ease}.button-flat:focus,.button-flat:hover{background:#c60c30;color:#fff}.button-flat:active{background:#6d1624;box-shadow:0 1px 5px 2px rgba(0,0,0,.1)}.embed-youtube{height:0;margin-bottom:1.4em;overflow:hidden;padding-bottom:56.25%;position:relative}.embed-youtube embed,.embed-youtube iframe,.embed-youtube object{height:100%;left:0;position:absolute;top:0;width:100%}.youtube-4x3{padding-bottom:75%}.archive .page-header h1:before,.article-header time:before,.reminders li a:before,figure .wp-caption-text:before{background-image:url(../images/icons/label.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1em;margin:0 .4em -.2em 0;width:1em}.article-taxonomy--primary ul a,.articles-list .article-title a,.cards .article-title a,.home-detail-subnav h2 a,.reminders li a,.search-links a{border-bottom-color:rgba(0,0,0,0)}.article-taxonomy--primary ul a:after,.articles-list .article-title a:after,.cards .article-title a:after,.home-detail-subnav h2 a:after,.reminders li a:after,.search-links a:after{background:url(../images/icons/link.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1em;margin:.05em 0 -.05em .3em;width:1em}.article-taxonomy--primary ul a:focus,.article-taxonomy--primary ul a:hover,.articles-list .article-title a:focus,.articles-list .article-title a:hover,.cards .article-title a:focus,.cards .article-title a:hover,.home-detail-subnav h2 a:focus,.home-detail-subnav h2 a:hover,.reminders li a:focus,.reminders li a:hover,.search-links a:focus,.search-links a:hover{border-bottom-color:currentColor}.section-wrapper-has-background{background-attachment:fixed;background-repeat:no-repeat;background-size:cover;min-height:600px!important}.column.social-media-icons{-ms-flex-flow:row nowrap;-ms-flex-pack:end;display:-ms-flexbox;display:flex;flex-flow:row nowrap;justify-content:flex-end}.column.social-media-icons p{line-height:1;padding:0}.column.social-media-icons a{border:none;padding-right:.75rem}.column.social-media-icons a:focus img,.column.social-media-icons a:hover img{opacity:.7}.column.social-media-icons img{border-radius:4px}.cards,.recent-articles{display:grid;grid-auto-rows:minmax(4rem,auto);grid-gap:1.5rem 2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.cards .card,.cards article,.recent-articles .card,.recent-articles article{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}.cards .article-summary,.recent-articles .article-summary{margin-top:.5em}.cards .article-image,.recent-articles .article-image{-ms-flex-order:-1;order:-1}.cards .article-footer,.recent-articles .article-footer{-ms-flex-order:-2;order:-2}.articles-list .article-title a:after,.cards .article-title a:after{background-size:50%;margin:-.17em 0 0;position:absolute}main .tablepress,main table{font-variant-numeric:lining-nums tabular-nums;margin-bottom:1.5rem}main thead tr{border-bottom:1px solid #839098}main td,main th{padding:.5em .75em;text-align:left}main td.nums,main th.nums{text-align:right}main th{font-weight:600}main .striped tbody tr:nth-child(odd) td{background:#eff0f1}figure img{max-width:100%}figcaption{color:#475055;font-size:.889em;letter-spacing:.02em;line-height:normal;padding:.3em .5em}input[type=number]{background:#fff;border:1px solid #ccc;border-radius:2px;color:#767676;margin:0;outline:0;padding:6px 4px}.gallery{-ms-flex-wrap:wrap;display:-ms-flexbox;display:flex;flex-wrap:wrap;margin:auto}.gallery img{border:0;box-sizing:border-box;display:block;margin:0 auto}.gallery-item{box-sizing:border-box;padding:1rem;text-align:center}.gallery-columns-1 .gallery-item,.gallery-columns-2 .gallery-item,.gallery-columns-3 .gallery-item,.gallery-columns-4 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-8 .gallery-item,.gallery-columns-9 .gallery-item{width:50%}@media (max-width:43em){.gallery-item:nth-child(odd){padding-left:0}.gallery-item:nth-child(2n){padding-right:0}}@media (min-width:43em){.gallery-columns-1 .gallery-item{width:100%}.gallery-columns-2 .gallery-item{width:50%}.gallery-columns-3 .gallery-item{width:33.33333%}.gallery-columns-4 .gallery-item{width:25%}.gallery-columns-5 .gallery-item{width:20%}.gallery-columns-6 .gallery-item{width:16.66667%}.gallery-columns-7 .gallery-item{width:14.28571%}.gallery-columns-8 .gallery-item{width:12.5%}.gallery-columns-9 .gallery-item{width:11.11111%}}.module,.module--alert,.module--cta{border:8px solid #475055;margin:1.5rem auto;max-width:54.851em;padding:1.5rem 2rem}.module--alert .module-title,.module--cta .module-title,.module .module-title{color:#475055}.module-title{border-bottom:4px solid #eff0f1;font-size:1.602em;margin:0 0 .5em;padding:0 0 .25em}.module--cta{text-align:center}.module--cta .module-title{font-size:2.027em}.module--alert{border-color:#981e32;min-width:300px;text-align:center;width:80%}.module--alert .module-title{font-size:2.281em}.module--alert svg{fill:#981e32}.module--alert.positive{border-color:#ada400}.module--alert.positive svg{fill:#ada400}.module--alert.caution{border-color:#ffb81c}.module--alert.caution svg{fill:#ffb81c}.module--alert.warning{border-color:#f6861f}.module--alert.warning svg{fill:#f6861f}.notification,.notification--caution,.notification--positive,.notification--warning{-ms-flex-align:center;-ms-flex-pack:end;-ms-flex-wrap:wrap;align-items:center;border:5px solid #475055;border-left-width:1em;display:-ms-flexbox;display:flex;flex-wrap:wrap;justify-content:flex-end;margin:1.5em auto;max-width:54.851em;padding:.75em 1em}.notification--caution>:not(:first-child),.notification--positive>:not(:first-child),.notification--warning>:not(:first-child),.notification>:not(:first-child){padding-left:1em}.notification--caution>:first-child,.notification--positive>:first-child,.notification--warning>:first-child,.notification>:first-child{margin-right:auto}.notification--positive{border-color:#ada400}.notification--caution{border-color:#ffb81c}.notification--warning{border-color:#f6861f}@media (min-width:43em){.notification,.notification--caution,.notification--positive,.notification--warning{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.notification--caution p,.notification--positive p,.notification--warning p,.notification p{padding:0}}.pager{margin:1.5rem auto}.pager ul{-ms-flex-flow:row nowrap;display:-ms-flexbox;display:flex;flex-flow:row nowrap;padding:0}.pager .pagination a{border:1px solid rgba(0,0,0,0);display:block;margin:0 .25em;padding:.75em 1em}.pager .pagination a:focus,.pager .pagination a:hover{background:#c60c30;color:#fdfdfd}.pager .current,.pager .dots{display:block;margin:0 .25em;padding:.75em 1em}.pager .current{background:#f2f2f2;border:1px solid #475055}.nav-next,.nav-previous{display:inline-block;width:50%}.nav-next{float:right;text-align:right}@media (min-width:34em){.pager ul{font-size:1em}}.articles-list .article-title,.cards .article-title,.recent-articles .article-title{font-size:1.424em;font-weight:900;line-height:1.1;padding:.5em 0 .2em}.articles-list .article-footer,.cards .article-footer,.recent-articles .article-footer{border:none;color:#191919;margin:0 0 .5em;padding:0}.features .articles-list .article-title,.latest .articles-list .article-title{font-size:1.802em}@media (min-width:43em){.articles-list article{display:grid;grid-column-gap:2rem;grid-template-columns:minmax(220px,3fr) minmax(220px,1fr)}.articles-list .article-header,.articles-list .article-summary{grid-column:1}.articles-list .article-image{grid-column:2;grid-row:1/3}section:not(.features) .articles-list article{font-size:1rem;line-height:1.5;max-width:61.875em}section:not(.features) .articles-list .article-image{margin-top:.75em;max-height:7em;overflow:hidden}}#search-menu{-ms-flex-flow:row wrap;-ms-transform:translateY(-100rem);background:#eff0f1;box-shadow:2px 3px 5px 1px rgba(20,20,20,.12);display:-ms-flexbox;display:flex;flex-flow:row wrap;padding:9rem 2rem 1.5rem;position:absolute;top:4.8rem;transform:translateY(-100rem);transition-delay:.1s;transition-duration:.3s;transition-property:transform top;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:200}#search-menu.is-visible{-ms-transform:translateY(-4.8rem);transform:translateY(-4.8rem)}.search-toggle{padding:.5rem 1rem}.search-toggle[aria-expanded=true]{background:#475055;border-color:#475055;color:#eff0f1}#search-menu .screen-reader-text:focus{-webkit-clip-path:inherit;background:#fdfdfd;bottom:7px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto;clip-path:inherit;color:#c60c30;display:block;height:auto;padding:15px 23px 14px;right:6px;width:auto;z-index:100000}.search-form{-ms-flex:1 1 auto;flex:1 1 auto}.search-input[type=search]{font-size:1.602em;width:90%}.search-links-title{font-size:1.802em;padding-bottom:1rem;padding-top:.5rem}.search-links ul{column-count:2;margin:0 0 1rem;padding:0}.search-links ul li{line-height:1.5}.search-links a:after{background-size:80%}@media (min-width:34em){#search-menu{padding-top:7.5rem}}@media (min-width:43em){.search-toggle{padding:.75rem 1.5rem}}.site-header{margin:50px 0 -50px}.site-header .column{-ms-flex-align:center;-ms-flex-pack:end;align-items:center;border-bottom:8px solid #f2f2f2;border-top:8px solid #981e32;display:-ms-flexbox;display:flex;justify-content:flex-end;padding:.75rem 1rem;z-index:900}.home .site-header{margin-left:0}a.site-title{border:none;color:#981e32;font-size:1.424em;margin:.75rem 1rem .75rem 0}@media (min-width:43em){a.site-title{font-size:1.802em;margin:1rem 2rem}}@media (min-width:61.875em){.site-header{margin:0 0 0 198px}.site-header .column{padding:0 2rem}a.site-title{font-size:2.027em;margin:2.027rem 2rem}}footer dd,footer ul{font-size:.79em}footer dd a,footer ul a{border-bottom-color:rgba(0,0,0,0)}footer dd a:focus,footer dd a:hover,footer ul a:focus,footer ul a:hover{border-bottom-color:currentColor}.site-footer{margin-top:1.5rem}.site-footer nav ul{padding:0}.footer-nav{-ms-flex-flow:row nowrap;display:-ms-flexbox;display:flex;flex-flow:row nowrap}.footer-nav nav{-ms-flex:3 1 auto;flex:3 1 auto;margin:1.5rem 2rem}.footer-nav .wsu-brand{-ms-flex:1 1 auto;flex:1 1 auto;margin:1.5rem 2rem;position:relative}.footer-nav .wsu-cougar-head{bottom:0;height:auto;position:absolute;right:0;width:100px}.footer-nav .footer-nav-title{font-weight:600}.site-reference{background:#981e32;color:#fff}.site-reference ul{-ms-flex-flow:column;-ms-flex-pack:end;display:-ms-flexbox;display:flex;flex-flow:column;justify-content:flex-end}.site-reference ul li{padding:0}.site-reference a{border:none;color:#fff;display:block;font-weight:400;padding:1em .75em}.site-reference a:focus,.site-reference a:hover{border:none;color:#eff0f1;text-decoration:underline}@media (min-width:34em){.site-reference ul{-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:1.25rem}}body.single:not(.home) .article-header{margin-bottom:3rem}body.single:not(.home) .article-container figure.article-image{margin-bottom:1.5rem;margin-left:-2rem;max-width:none;width:100vw}.article-taxonomy--primary ul{font-size:.79em;list-style-type:none;margin:0;padding:0}.article-taxonomy--primary ul a{color:#475055}.article-taxonomy--primary ul a:after{background-size:80%}.article-taxonomy--primary ul a:focus,.article-taxonomy--primary ul a:hover{color:#c60c30}@media (min-width:43em){body.single:not(.home) .article-container figure.article-image{float:right;margin-left:0;margin-right:calc(-43% - 2rem);max-width:34em;padding:0 2rem;width:50vw}body.single:not(.home) .article-content{width:70%}}.article-header time{font-size:.79em}.article-header time:before{background-image:url(../images/icons/time.svg)}.single-post .article-body{padding-bottom:1.5em}.single-post .article-footer{border-top:8px solid #f2f2f2;color:#475055;margin:0 -2rem;padding:1.5rem 2rem .75rem}.single-post .article-footer dl{padding-bottom:.75rem}.single-post .article-footer dl dt:after{content:none}.single-post .article-footer dt{font-weight:600;line-height:1.4}.single-post .article-footer dd{display:inline-block;padding-left:0}.single-post .article-footer a{color:#191919}.single-post .article-footer a:focus,.single-post .article-footer a:hover{color:#c60c30}@media (min-width:43em){.single-post .article-footer{-ms-flex-pack:justify;display:-ms-flexbox;display:flex;justify-content:space-between;margin-right:calc(-43% - 2rem)}.single-post .article-footer dl:last-child{margin-right:25%}}.page-header{padding:1.5rem 2rem}.archive .page-header h1{text-transform:capitalize}.archive .page-header h1:before{background-image:url(../images/icons/bookmarks.svg)}.article-archive h2{margin-bottom:2.25rem;text-align:center;text-transform:capitalize}.article-archive article{border-bottom:6px solid #f2f2f2;padding:.75rem 0}.article-archive footer{display:none}section.latest{border-bottom:8px solid #f2f2f2;border-top:8px solid #f2f2f2}section.latest article{font-size:1rem;line-height:1.5}@media (max-width:43em){.features .articles-list article{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column}.features .articles-list .article-image{-ms-flex-order:-1;order:-1}}@media (min-width:43em){.features .articles-list article{grid-auto-rows:1fr 2fr;grid-template-columns:repeat(2,minmax(220px,1fr))}.features .articles-list .article-footer{left:2rem;position:absolute;top:1rem}}@media (min-width:61.875em){.home #spine.cropped:not(.skimmed){margin-left:2rem}.home #search-menu{right:0;width:60%}}.home-main-subnav nav ul{-ms-flex-pack:space-evenly;-ms-flex-wrap:wrap;display:-ms-flexbox;display:flex;flex-wrap:wrap;justify-content:space-evenly;padding:0}.home-main-subnav nav li{-ms-flex:0 1 auto;flex:0 1 auto;font-size:1.125em;padding:.2em 0 0;text-align:center}.home-main-subnav nav a{background-color:#475055;border-bottom:none;color:#fff;display:block}.home-main-subnav nav a:focus,.home-main-subnav nav a:hover{background-color:#c60c30;color:#fff}@media (max-width:34em){.home-main-subnav nav a{height:25vw;line-height:25vw;width:48vw}}@media (min-width:34em){.home-main-subnav nav ul{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.home-main-subnav nav li{-ms-flex:1 1 auto;flex:1 1 auto;padding:0}.home-main-subnav nav a{border-right:3px solid #fff;padding:.9em}li:last-of-type a{border-right:none}}.home-detail-subnav{background-color:rgba(0,0,0,0)}.home-detail-subnav h2{font-size:1.266em;padding:0}.home-detail-subnav h2 a{background-color:#981e32;border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;display:block;padding:.9em}.home-detail-subnav h2 a:after{background-image:url(../images/icons/link_light.svg);background-size:70%}.home-detail-subnav h2 a:focus,.home-detail-subnav h2 a:hover{background-color:#c60c30}.home-detail-subnav ul{background-color:#fdfdfd;padding:1.5em 2em}.blog .reminders{padding-top:3rem}.blog .reminders h2{border-bottom:2px solid #981e32;border-left:12px solid #981e32;font-style:italic;font-weight:600;margin-bottom:1.5rem;margin-left:-.3em;padding:.25em .5em}.blog .reminders ul{list-style-type:none;padding:0 0 0 2em}.blog .reminders ul li{margin-bottom:1em}.blog .reminders ul a:before{background-image:url(../images/icons/event.svg);height:2em;margin-left:-2.6rem;position:absolute;width:2em}.blog .reminders ul a:after{background-size:70%;position:absolute}.blog .hrs-units-browse{background-color:#f2f2f2;text-align:center}.blog .hrs-units-browse .gallery{list-style-type:none;padding:0}.blog .hrs-units-browse .gallery a{background-color:#fdfdfd;border:1px solid #981e32;display:block;font-size:1.125em;height:100%;padding:1.5rem .5rem}.blog .hrs-units-browse .gallery a:focus,.blog .hrs-units-browse .gallery a:hover{background-color:#c60c30;color:#fdfdfd}@media (min-width:34em){.blog .reminders{padding-top:0}.blog .reminders h2{margin-left:0}.blog .features .column{display:grid;grid-column-gap:3rem;grid-template-columns:3fr 1fr}}@media (min-width:43em){.blog .features .articles-list article{grid-auto-rows:1fr 1fr}}.page-spokane .builder-banner-inner-title,.page-tricities .builder-banner-inner-title{font-size:2.281em;margin:auto;width:400px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.page-spokane .cards,.page-tricities .cards{padding:1.5rem 0;text-align:center}.page-spokane .aligncenter,.page-tricities .aligncenter{margin:auto}.page-spokane .article-title,.page-tricities .article-title{font-size:1.424em;font-weight:600;padding:.5rem 0}.page-spokane .article-image img:focus,.page-spokane .article-image img:hover,.page-tricities .article-image img:focus,.page-tricities .article-image img:hover{opacity:.6}.tablepress tfoot th,.tablepress thead th{background-color:inherit;vertical-align:inherit}.tablepress thead th{border-bottom:inherit}.tablepress-hrs-contacts td.column-3{white-space:nowrap}@media (max-width:43em){.tablepress-hrs-contacts,.tablepress-hrs-contacts caption,.tablepress-hrs-contacts tbody,.tablepress-hrs-contacts td,.tablepress-hrs-contacts th,.tablepress-hrs-contacts tr{display:block;text-align:left}.tablepress-hrs-contacts td:empty,.tablepress-hrs-contacts th:empty,.tablepress-hrs-contacts thead{display:none;visibility:hidden}.tablepress-hrs-contacts tbody tr{margin-bottom:1.5rem}.tablepress-hrs-contacts tbody td,.tablepress-hrs-contacts tfoot th{border:none;line-height:1.4;padding:4px 8px}.tablepress-hrs-contacts .column-1{font-weight:600}}.hrs-medical-premium-changes-2018 tbody{border-bottom:1px solid #ddd;border-left:1px solid #ddd}.hrs-medical-premium-changes-2018 tbody td{border-right:1px solid #ddd}.hrs-medical-premium-changes-2018 tbody td:not(.column-1){text-align:center;width:9%}.hrs-medical-premium-changes-2018 tr .column-3,.hrs-medical-premium-changes-2018 tr .column-5,.hrs-medical-premium-changes-2018 tr .column-7,.hrs-medical-premium-changes-2018 tr .column-9{background-color:#eee;font-weight:600}.hrs-medical-premium-changes-2018 .row-1 td{background-color:#981e32;color:#fff;font-weight:600;text-align:center;vertical-align:middle}.hrs-medical-premium-changes-2018 .row-2 td{background-color:#2a3033;color:#fff;text-align:center}.hrs-medical-premium-changes-2018 .row-3 .column-1,.hrs-medical-premium-changes-2018 .row-8 .column-1,.hrs-medical-premium-changes-2018 .row-12 .column-1{background-color:#d7dadb;font-weight:600}.tablepress-id-31 .column-1{width:450px!important}.tablepress-id-7 .column-1{width:500px!important}.tablepress-id-7 .column-2,.tablepress-id-31 .column-2{width:150px!important}.tablepress-id-7 .column-3,.tablepress-id-31 .column-3{width:100px!important}.caldera-grid td,.caldera-grid th{padding:.5em .75em} /*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/functions.php b/functions.php index 3c524b26..d16813df 100644 --- a/functions.php +++ b/functions.php @@ -34,7 +34,7 @@ * @since 0.17.3 */ function hrs_get_theme_version() { - $hrs_version = '0.17.8'; + $hrs_version = '0.18.1'; return $hrs_version; } diff --git a/package.json b/package.json index 5bb379e9..7a4168c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hrs.wsu.edu", - "version": "0.17.8", + "version": "0.18.1", "repository": { "type": "git", "url": "https://github.com/washingtonstateuniversity/hrs.wsu.edu" diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index 33dbc0c0..ce8c1ca0 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -5,7 +5,7 @@ Author: Adam Turner, WSU University Communications Author URI: https://web.wsu.edu/ Description: A child theme of the WSU Web Communications Spine template. Template: wsuspine -Version: 0.17.8 +Version: 0.18.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ diff --git a/style.css b/style.css index 7a919c13..ff8ea9d9 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Author: Adam Turner, WSU University Communications Author URI: https://web.wsu.edu/ Description: A child theme of the WSU Web Communications Spine template. Template: wsuspine -Version: 0.17.8 +Version: 0.18.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */