From c1c9f5bcc0aca6a78d6454e99390ff963fa6b115 Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Tue, 29 Sep 2020 11:17:05 -0700 Subject: [PATCH 1/2] Fix button margins --- src/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index 38be3ba..57978c6 100644 --- a/src/style.css +++ b/src/style.css @@ -6,6 +6,10 @@ svg.svg-icon { fill: currentColor; } +article.wsuwp_hrs_courses .wp-block-button { + margin-top: 1em; +} + .wsuwp-courses-archive .taxonomy-description { max-width: 45em; padding-left: 2rem; @@ -25,12 +29,15 @@ svg.svg-icon { padding: 0; } +.wsuwp-courses-archive .courses-archive-frontmatter label { + font-size: inherit; +} + .wsuwp-courses-archive .courses-archive-frontmatter .search-field[type="search"] { font-size: var(--font-size-2); } .wsuwp-courses-archive .courses-archive-frontmatter .search-form input[type="submit"] { - margin-top: 0.5rem; padding: 0.4rem 1rem; } From b43425d63ec5ff929ed548960c22b92e51de4176 Mon Sep 17 00:00:00 2001 From: Adam Turner Date: Tue, 29 Sep 2020 11:17:13 -0700 Subject: [PATCH 2/2] :package: Update built files --- build/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/style.css b/build/style.css index 86b2719..516723c 100644 --- a/build/style.css +++ b/build/style.css @@ -1 +1 @@ -:root{--font-size-0:0.79em;--font-size-1:0.889em;--font-size-base:1em;--font-size-2:1.125em;--font-size-3:1.266em;--font-size-4:1.424em;--font-size-5:1.602em;--font-size-6:1.802em;--font-size-7:2.027em;--font-size-8:2.281em;--brand-crimson:#981e32;--body-background-color:#f2f2f2}.wp-block-hrscourses-list-courses:not(.is-style-bulleted){padding:0}.wp-block-hrscourses-list-courses:not(.is-style-bulleted)>li{list-style:none;margin-bottom:1.5em}.wp-block-hrscourses-list-courses.alignleft{margin-right:2em}.wp-block-hrscourses-list-courses.alignright{margin-left:2em}.wp-block-hrscourses-list-courses.is-grid{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0}.wp-block-hrscourses-list-courses.is-grid li{list-style:none;margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-hrscourses-list-courses.columns-2>li{width:calc(50% - 16px)}.wp-block-hrscourses-list-courses.columns-3>li{width:calc(33.33333% - 16px)}.wp-block-hrscourses-list-courses.columns-4>li{width:calc(25% - 16px)}.wp-block-hrscourses-list-courses.columns-5>li{width:calc(20% - 16px)}.wp-block-hrscourses-list-courses.columns-6>li{width:calc(16.66667% - 16px)}}.wp-block-hrscourses-list-courses__post-date{display:block;color:#6c7781;font-size:inherit}.wp-block-hrscourses-list-courses.is-style-bulleted .wp-block-hrscourses-list-courses__full_content,.wp-block-hrscourses-list-courses__post-excerpt{margin-top:.5rem;margin-bottom:1rem}.wp-block-hrscourses-list-courses:not(.is-style-bulleted) .course-title,.wsuwp-courses-archive .course-title{border-left:.889em solid #981e32;border-left:var(--font-size-1) solid var(--brand-crimson);font-size:1.424em;font-size:var(--font-size-4);line-height:1.4;margin-top:1em;margin-bottom:.4em;padding:0 0 0 .5em;padding:0 0 0 calc(var(--font-size-base)/2)}.wp-block-hrscourses-list-courses.is-style-bulleted .course-title{padding:0}.wp-block-hrscourses-list-courses .svg-icon,.wsuwp_hrs_courses .svg-icon{margin-right:.24em;padding-right:.12em;vertical-align:bottom}.wp-block-hrscourses-list-courses .course-documents,.wsuwp_hrs_courses .course-documents{display:-ms-flexbox;display:flex;list-style:none;padding:0;word-break:keep-all}.wp-block-hrscourses-list-courses .course-documents a,.wsuwp_hrs_courses .course-documents a{margin-right:2em}.wp-block-hrscourses-list-courses .course-meta .label,.wsuwp_hrs_courses .course-meta .label{font-weight:600}svg.svg-icon{transition:fill .3s ease;fill:currentColor}.wsuwp-courses-archive .taxonomy-description{max-width:45em;padding-left:2rem}.wsuwp-courses-archive .courses-archive-frontmatter{margin-right:2rem;margin-left:2rem}.wsuwp-courses-archive .courses-archive-frontmatter h3{font-size:1.266em;font-size:var(--font-size-3)}.wsuwp-courses-archive .courses-archive-frontmatter form{margin:0;padding:0}.wsuwp-courses-archive .courses-archive-frontmatter .search-field[type=search]{font-size:1.125em;font-size:var(--font-size-2)}.wsuwp-courses-archive .courses-archive-frontmatter .search-form input[type=submit]{margin-top:.5rem;padding:.4rem 1rem}.wsuwp-courses-archive .courses-archive-frontmatter .menu{background:#fff;border-radius:3px;position:absolute;pointer-events:none;opacity:0;overflow:hidden}.wsuwp-courses-archive .courses-archive-frontmatter .menu,.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents{animation-duration:.2s;animation-timing-function:step-end;contain:content;-ms-transform-origin:top left;transform-origin:top left;will-change:transform}.wsuwp-courses-archive .courses-archive-frontmatter .menu-toggle{border:none;border-radius:0;box-shadow:none;cursor:pointer;margin:0;padding:0;text-align:left;text-transform:none;width:100%}.wsuwp-courses-archive .courses-archive-frontmatter .menu-title{display:inline-block;font-size:1.125em;font-size:var(--font-size-2);font-weight:400;line-height:normal;margin:0;padding:8px 12px}.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:after{background-image:url(../build/icons/arrow-dropdown.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:24px;margin:0 0 -5px;width:24px}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-title:after,.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:focus:after,.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:hover:after{background-image:url(../build/icons/arrow-dropdown-crimson.svg)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-items{list-style:none;margin:0;padding:0 3rem 1.4rem 1rem;position:relative}.wsuwp-courses-archive .courses-archive-frontmatter .menu-active{opacity:1;pointer-events:auto;z-index:1}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded{animation-name:menuExpandAnimation;box-shadow:1px 1px 3px rgba(0,0,0,.09)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-toggle{background:#fff;color:#c60c30}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-title:after{-ms-transform:rotate(180deg);transform:rotate(180deg)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents-expanded{animation-name:menuExpandContentsAnimation}.wsuwp-courses-archive .courses-archive-frontmatter .menu-collapsed{animation-name:menuCollapseAnimation}.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents-collapsed{animation-name:menuCollapseContentsAnimation} \ No newline at end of file +:root{--font-size-0:0.79em;--font-size-1:0.889em;--font-size-base:1em;--font-size-2:1.125em;--font-size-3:1.266em;--font-size-4:1.424em;--font-size-5:1.602em;--font-size-6:1.802em;--font-size-7:2.027em;--font-size-8:2.281em;--brand-crimson:#981e32;--body-background-color:#f2f2f2}.wp-block-hrscourses-list-courses:not(.is-style-bulleted){padding:0}.wp-block-hrscourses-list-courses:not(.is-style-bulleted)>li{list-style:none;margin-bottom:1.5em}.wp-block-hrscourses-list-courses.alignleft{margin-right:2em}.wp-block-hrscourses-list-courses.alignright{margin-left:2em}.wp-block-hrscourses-list-courses.is-grid{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0}.wp-block-hrscourses-list-courses.is-grid li{list-style:none;margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-hrscourses-list-courses.columns-2>li{width:calc(50% - 16px)}.wp-block-hrscourses-list-courses.columns-3>li{width:calc(33.33333% - 16px)}.wp-block-hrscourses-list-courses.columns-4>li{width:calc(25% - 16px)}.wp-block-hrscourses-list-courses.columns-5>li{width:calc(20% - 16px)}.wp-block-hrscourses-list-courses.columns-6>li{width:calc(16.66667% - 16px)}}.wp-block-hrscourses-list-courses__post-date{display:block;color:#6c7781;font-size:inherit}.wp-block-hrscourses-list-courses.is-style-bulleted .wp-block-hrscourses-list-courses__full_content,.wp-block-hrscourses-list-courses__post-excerpt{margin-top:.5rem;margin-bottom:1rem}.wp-block-hrscourses-list-courses:not(.is-style-bulleted) .course-title,.wsuwp-courses-archive .course-title{border-left:.889em solid #981e32;border-left:var(--font-size-1) solid var(--brand-crimson);font-size:1.424em;font-size:var(--font-size-4);line-height:1.4;margin-top:1em;margin-bottom:.4em;padding:0 0 0 .5em;padding:0 0 0 calc(var(--font-size-base)/2)}.wp-block-hrscourses-list-courses.is-style-bulleted .course-title{padding:0}.wp-block-hrscourses-list-courses .svg-icon,.wsuwp_hrs_courses .svg-icon{margin-right:.24em;padding-right:.12em;vertical-align:bottom}.wp-block-hrscourses-list-courses .course-documents,.wsuwp_hrs_courses .course-documents{display:-ms-flexbox;display:flex;list-style:none;padding:0;word-break:keep-all}.wp-block-hrscourses-list-courses .course-documents a,.wsuwp_hrs_courses .course-documents a{margin-right:2em}.wp-block-hrscourses-list-courses .course-meta .label,.wsuwp_hrs_courses .course-meta .label{font-weight:600}svg.svg-icon{transition:fill .3s ease;fill:currentColor}article.wsuwp_hrs_courses .wp-block-button{margin-top:1em}.wsuwp-courses-archive .taxonomy-description{max-width:45em;padding-left:2rem}.wsuwp-courses-archive .courses-archive-frontmatter{margin-right:2rem;margin-left:2rem}.wsuwp-courses-archive .courses-archive-frontmatter h3{font-size:1.266em;font-size:var(--font-size-3)}.wsuwp-courses-archive .courses-archive-frontmatter form{margin:0;padding:0}.wsuwp-courses-archive .courses-archive-frontmatter label{font-size:inherit}.wsuwp-courses-archive .courses-archive-frontmatter .search-field[type=search]{font-size:1.125em;font-size:var(--font-size-2)}.wsuwp-courses-archive .courses-archive-frontmatter .search-form input[type=submit]{padding:.4rem 1rem}.wsuwp-courses-archive .courses-archive-frontmatter .menu{background:#fff;border-radius:3px;position:absolute;pointer-events:none;opacity:0;overflow:hidden}.wsuwp-courses-archive .courses-archive-frontmatter .menu,.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents{animation-duration:.2s;animation-timing-function:step-end;contain:content;-ms-transform-origin:top left;transform-origin:top left;will-change:transform}.wsuwp-courses-archive .courses-archive-frontmatter .menu-toggle{border:none;border-radius:0;box-shadow:none;cursor:pointer;margin:0;padding:0;text-align:left;text-transform:none;width:100%}.wsuwp-courses-archive .courses-archive-frontmatter .menu-title{display:inline-block;font-size:1.125em;font-size:var(--font-size-2);font-weight:400;line-height:normal;margin:0;padding:8px 12px}.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:after{background-image:url(../build/icons/arrow-dropdown.svg);background-position:center 100%;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:24px;margin:0 0 -5px;width:24px}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-title:after,.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:focus:after,.wsuwp-courses-archive .courses-archive-frontmatter .menu-title:hover:after{background-image:url(../build/icons/arrow-dropdown-crimson.svg)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-items{list-style:none;margin:0;padding:0 3rem 1.4rem 1rem;position:relative}.wsuwp-courses-archive .courses-archive-frontmatter .menu-active{opacity:1;pointer-events:auto;z-index:1}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded{animation-name:menuExpandAnimation;box-shadow:1px 1px 3px rgba(0,0,0,.09)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-toggle{background:#fff;color:#c60c30}.wsuwp-courses-archive .courses-archive-frontmatter .menu-expanded .menu-title:after{-ms-transform:rotate(180deg);transform:rotate(180deg)}.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents-expanded{animation-name:menuExpandContentsAnimation}.wsuwp-courses-archive .courses-archive-frontmatter .menu-collapsed{animation-name:menuCollapseAnimation}.wsuwp-courses-archive .courses-archive-frontmatter .menu-contents-collapsed{animation-name:menuCollapseContentsAnimation} \ No newline at end of file