diff --git a/css/styles.css b/css/styles.css index 68fd69c9cc62df4a3a5f14f75eb06ff1fc0b2327..e9dd862ebd410f50945c5e3d3f679d80c6607415 100644 --- a/css/styles.css +++ b/css/styles.css @@ -2057,9 +2057,6 @@ ul.toolbar-menu { .breadcrumb__item::after { color: #000; content: ' » '; } - .breadcrumb__item:last-child::after { - content: ''; - margin-left: 0; } .breadcrumb__link { color: #4e4e4e; @@ -2320,10 +2317,21 @@ ul.toolbar-menu { .uw-cta__aside.org-school:hover .uw-cta__text--medium { color: #80001f; } +.uw-cta__center-wrapper { + align-items: center; + display: flex; + -ms-flex-align: center; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + margin-left: auto; + margin-right: auto; + width: 100%; } + .uw-cta { clear: both; height: 100%; - padding: 1rem; + padding: 1.5rem; width: 100%; } .uw-cta.uw-contained-width { margin-left: auto; @@ -2337,8 +2345,13 @@ ul.toolbar-menu { padding-right: 0; } } .uw-cta .uw-cta__aside { background-color: #000; - flex: 1 0 30%; - margin: 0 1rem 0 0; } + flex: 1 0 100%; } + @media (min-width: 40.06rem) { + .uw-cta .uw-cta__aside { + flex: 1 0 50%; } } + @media (min-width: 40.06rem) { + .uw-cta .uw-cta__aside { + flex: 1 0 30%; } } .uw-cta .uw-cta__aside:last-child { margin: 0; } @@ -2353,42 +2366,86 @@ ul.toolbar-menu { text-decoration: none; } .uw-cta__text { - font-family: "BureauGrotCond Book", impact, "avenir next condensed heavy", "Droid Sans", sans-serif; } + font-family: "BureauGrotCond Book", impact, "avenir next condensed heavy", "Droid Sans", sans-serif; + text-align: center; } .uw-cta__text--big { font-size: 1.424rem; letter-spacing: 0.05rem; line-height: 1.2; - padding: 0 0.25rem 0.313rem; } + padding: 0 0.25rem 0.313rem 0.25rem; } .uw-cta__text--medium { color: #fff; font-size: 1rem; - letter-spacing: 0.05rem; line-height: 1.2; - padding: 0 0.25rem 0.313rem; + padding: 0 0.25rem 0.25rem 0.25rem; text-transform: uppercase; } .uw-cta__text--small { color: #fff; font-family: Typ1451-Medium,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen-Sans", Ubuntu, Cantarell, "Fira Sans", Droid Sans, sans-serif; font-size: 0.79rem; - letter-spacing: 0.02rem; line-height: 1; - padding: 0 0.15rem 0.313rem; + padding: 0 0.25rem 0.25rem 0.25rem; text-transform: uppercase; } -.uw-cta__center-wrapper { - align-items: center; - display: flex; - -ms-flex-align: center; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - margin-left: auto; - margin-right: auto; - text-align: center; - width: 100%; } +.call-to-action-theme-neutral { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-default { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-ahs { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-art { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-eng { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-env { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-mat { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-sci { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } + +.call-to-action-theme-org-school { + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; } .uw-cta__wrapper { - padding: 1rem 0; } + display: table; + float: left; + height: 6.25rem; + width: 100%; } .uw-caption .caption { background: #eee; @@ -3586,7 +3643,7 @@ fieldset, width: 100%; } .uw-mailman__label { display: block; - margin-bottom: .35rem; } + margin-bottom: 0.5rem; } .uw-mailman__label--email { font-family: "BureauGrotCond Book", impact, "avenir next condensed heavy", "Droid Sans", sans-serif; font-size: 1.424rem; @@ -3594,6 +3651,11 @@ fieldset, .uw-mailman__servername { text-align: center; } +.uw-mailmain__email .uw-input--submit { + font-size: 1rem; + font-weight: 400; + max-width: 8.5rem; } + .menu { list-style-type: none; margin: 0; diff --git a/source/_patterns/03-layouts/footer/footer.yml b/source/_patterns/03-layouts/footer/footer.yml index 0befe2644b65ef6b147337c00da4fc1322a11b6d..34f936bd2ffebc995fd01dbaea57d2507181ec32 100644 --- a/source/_patterns/03-layouts/footer/footer.yml +++ b/source/_patterns/03-layouts/footer/footer.yml @@ -76,4 +76,4 @@ social_media: url: "https://www.linkedin.com/edu/school?id=10875" social_media_placement: "global-site-footer" modifier_classes: 'black' -territorial_text: '<p>The University of Waterloo acknowledges that our work is on the traditional territory of ‎ the Neutral, Anishinaabeg and Haudenosaunee peoples. Our institution is situated on the Haldimand Tract, the land promised to the Six Nations that includes six miles on each side of the Grand River. Our active work toward reconciliation takes place across our campuses through research, learning, teaching, and community building, and is centralized within our <a href="https://uwaterloo.ca/human-rights-equity-inclusion/about/indigenous-initiatives" >Indigenous Initiatives Office</a>.</p>' \ No newline at end of file +territorial_text: '<p>The University of Waterloo acknowledges that much of our work takes place on the traditional territory of the Neutral, Anishinaabeg and Haudenosaunee peoples. Our main campus is situated on the Haldimand Tract, the land promised to the Six Nations that includes six miles on each side of the Grand River. Our active work toward reconciliation takes place across our campuses through research, learning, teaching, and community building, and is centralized within our <a href="https://uwaterloo.ca/human-rights-equity-inclusion/about/indigenous-initiatives" >Indigenous Initiatives Office</a>.</p>' \ No newline at end of file diff --git a/source/_patterns/04-components/breadcrumb/_breadcrumb.scss b/source/_patterns/04-components/breadcrumb/_breadcrumb.scss index 5ef9cb58c7ef8906b4ab1bc7c9a35e0c15baf356..f34920d86978d076bd7c18f27393f54b67601759 100644 --- a/source/_patterns/04-components/breadcrumb/_breadcrumb.scss +++ b/source/_patterns/04-components/breadcrumb/_breadcrumb.scss @@ -37,10 +37,6 @@ $breadcrumb-text-color: gesso-color(text, primary) !default; color: $breadcrumb-divider-color; content: ' » '; } - &:last-child::after { - content: ''; - margin-left: 0; - } } .breadcrumb__link { @include link($breadcrumb-link-color, $breadcrumb-text-color); diff --git a/source/_patterns/04-components/breadcrumb/breadcrumb.twig b/source/_patterns/04-components/breadcrumb/breadcrumb.twig index a04740f7661c8a90fd20233891b83119ee25b017..6292fef466428c7eb03db692e75379481afd9702 100644 --- a/source/_patterns/04-components/breadcrumb/breadcrumb.twig +++ b/source/_patterns/04-components/breadcrumb/breadcrumb.twig @@ -4,13 +4,7 @@ <ol class="breadcrumb__list"> {% for item in breadcrumb %} <li class="breadcrumb__item"> - {% if item.url %} <a class="breadcrumb__link {% if loop.index0 > 0 %} active_trail {% endif %} " title="{{ item.link_title }}" href="{{ item.url }}">{{ item.text }}</a> - {% else %} - <span aria-current="page"> - {{ item.text }} - </span> - {% endif %} </li> {% endfor %} </ol> diff --git a/source/_patterns/04-components/breadcrumb/breadcrumb.yml b/source/_patterns/04-components/breadcrumb/breadcrumb.yml index fadfdc83096c2d07226226cda225434a8b23c545..8a556dc675c2eefb642e5ca8d1aa2d46cf28eaeb 100644 --- a/source/_patterns/04-components/breadcrumb/breadcrumb.yml +++ b/source/_patterns/04-components/breadcrumb/breadcrumb.yml @@ -4,16 +4,13 @@ heading: '' breadcrumb: - url: '#' - text: 'Home' + text: 'About Waterloo' link_title: 'this is link title' - url: '#' - text: 'Level 1' + text: 'Reports' link_title: 'this is link title' - url: '#' - text: 'Level 2' - link_title: 'this is link title' - - - text: 'Current item' + text: 'Reports Level 2' link_title: 'this is link title' diff --git a/source/_patterns/04-components/call-to-action/_call-to-action.scss b/source/_patterns/04-components/call-to-action/_call-to-action.scss index 80395a73b7a270b8613549b288ebfe8b668aa546..e78fac35cf59035b4ad1d2fc66f1f4d2d367353f 100644 --- a/source/_patterns/04-components/call-to-action/_call-to-action.scss +++ b/source/_patterns/04-components/call-to-action/_call-to-action.scss @@ -48,11 +48,21 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' } } } - +.uw-cta__center-wrapper { + align-items: center; + display: flex; + -ms-flex-align: center; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + margin-left: auto; + margin-right: auto; + width: 100%; +} .uw-cta { clear: both; height: 100%; - padding: 1rem; + padding: rem(gesso-spacing(md)); width: 100%; &.uw-contained-width { @@ -62,8 +72,13 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' .uw-cta__aside { background-color: $uw-black; - flex: 1 0 30%; - margin: 0 1rem 0 0; + flex: 1 0 100%; + @include small{ + flex: 1 0 50%; + } + @include small{ + flex: 1 0 30%; + } } .uw-cta__aside:last-child { @@ -86,20 +101,19 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' .uw-cta__text { font-family:gesso-font-family(condensedbook); - + text-align: center; &--big { font-size:rem(gesso-font-size(3)); letter-spacing: 0.05rem; line-height: 1.2; - padding: 0 0.25rem 0.313rem; + padding: 0 rem(gesso-spacing(xxs)) 0.313rem rem(gesso-spacing(xxs)); } &--medium { color: $uw-white; font-size:rem(gesso-font-size(0)); - letter-spacing: 0.05rem; line-height: 1.2; - padding: 0 0.25rem 0.313rem; + padding: 0 rem(gesso-spacing(xxs)) rem(gesso-spacing(xxs)) rem(gesso-spacing(xxs)); text-transform: uppercase; } @@ -107,26 +121,22 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' color: $uw-white; font-family:gesso-font-family(systemmedium); font-size:rem(gesso-font-size(-2)); - letter-spacing: 0.02rem; line-height: 1; - padding: 0 0.15rem 0.313rem; + padding: 0 rem(gesso-spacing(xxs)) rem(gesso-spacing(xxs)) rem(gesso-spacing(xxs)); text-transform: uppercase; } } - -.uw-cta__center-wrapper { - align-items: center; - display: flex; - -ms-flex-align: center; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - margin-left: auto; - margin-right: auto; - text-align: center; - width: 100%; +@each $faculty in $faculties { + .call-to-action-theme-#{$faculty}{ + border: 1px solid #fff; + display: table-cell; + margin: 1px; + vertical-align: middle; + } } - .uw-cta__wrapper { - padding: 1rem 0; + display: table; + float: left; + height: 6.25rem; + width: 100%; } diff --git a/source/_patterns/04-components/call-to-action/call-to-action.twig b/source/_patterns/04-components/call-to-action/call-to-action.twig index fbb3a0e988c0d5e6c5a0a5bfa533f9ea60381c8a..c7003a4b53afc5322cfe43570527d87fe9692fc5 100644 --- a/source/_patterns/04-components/call-to-action/call-to-action.twig +++ b/source/_patterns/04-components/call-to-action/call-to-action.twig @@ -10,9 +10,13 @@ {% endif %} <div class="uw-cta__wrapper"> + <div class="call-to-action-theme-{{ cta.theme }}"> {% for detail in cta.details %} + <div class="uw-cta__text uw-cta__text--{{ detail.type }}">{{ detail.text }}</div> + {% endfor %} + </div> </div> {% if cta.link %} diff --git a/source/_patterns/04-components/call-to-action/call-to-action.yml b/source/_patterns/04-components/call-to-action/call-to-action.yml index 15b5a663d016a512cf91b4890fb81ceb05d39266..f3382c8315aa9036cb982ab8f220dcc7409459d1 100644 --- a/source/_patterns/04-components/call-to-action/call-to-action.yml +++ b/source/_patterns/04-components/call-to-action/call-to-action.yml @@ -3,26 +3,43 @@ ctas: link: '#' details: - - text: 'BT#1' - type: 'big' - - - text: 'MT#1' - type: 'medium' - - - text: 'ST#1' + text: 'Small Text Here ' type: 'small' + + - text: 'UW WIDE MESSAGE' + type: 'big' theme: 'org-default' - link: '#' details: - - text: 'BT#2' - type: 'big' - - text: 'ST#2' + - text: 'Faculty of' type: 'small' + + - text: 'Applied Health Sciences' + type: 'big' theme: 'org-ahs' - link: '#' details: - - text: 'BT#3' + - text: 'Faculty of' + type: 'medium' + + - text: 'Engineering' type: 'big' theme: 'org-eng' + - link: '#' + details: + - text: 'Faculty of' + type: 'medium' + + - text: 'Environment' + type: 'big' + theme: 'org-env' + - link: '#' + details: + - text: 'Faculty of' + type: 'small' + + - text: 'Science' + type: 'big' + theme: 'org-sci' diff --git a/source/_patterns/04-components/mailman-subscription/_mailman-subscription.scss b/source/_patterns/04-components/mailman-subscription/_mailman-subscription.scss index 5ef31da07125954612ad774e7d5110de4313b498..d6d66ee39db813d001c1f5083ba6cb498429c20a 100644 --- a/source/_patterns/04-components/mailman-subscription/_mailman-subscription.scss +++ b/source/_patterns/04-components/mailman-subscription/_mailman-subscription.scss @@ -1,10 +1,10 @@ .uw-mailman { - padding: 1rem 0; + padding: rem(gesso-spacing(sm)) 0; width: 100%; &__label { display: block; - margin-bottom: .35rem; + margin-bottom: rem(gesso-spacing(xs)); &--email { font-family: gesso-font-family(condensedbook); @@ -17,3 +17,10 @@ text-align: center; } } +.uw-mailmain__email{ + .uw-input--submit{ + font-size:rem(gesso-font-size(0)); + font-weight: gesso-font-weight(regular); + max-width:8.5rem; + } +} \ No newline at end of file diff --git a/source/_patterns/04-components/territorial-statement/territorial-statement.twig b/source/_patterns/04-components/territorial-statement/territorial-statement.twig index 34be7e48f6ec5bec4e031bb337c9e1140de2497a..483a249a4d1582d166f1594d83104e399d8664d4 100644 --- a/source/_patterns/04-components/territorial-statement/territorial-statement.twig +++ b/source/_patterns/04-components/territorial-statement/territorial-statement.twig @@ -1,5 +1,5 @@ <div class="uw-bg--{{ modifier_classes }}"> <div class="uw-territorial"> - <p>The University of Waterloo acknowledges that our work is on the traditional territory of ‎ the Neutral, Anishinaabeg and Haudenosaunee peoples. Our institution is situated on the Haldimand Tract, the land promised to the Six Nations that includes six miles on each side of the Grand River. Our active work toward reconciliation takes place across our campuses through research, learning, teaching, and community building, and is centralized within our <a href="https://uwaterloo.ca/human-rights-equity-inclusion/about/indigenous-initiatives" >Indigenous Initiatives Office</a>.</p> + <p>The University of Waterloo acknowledges that much of our work takes place on the traditional territory of the Neutral, Anishinaabeg and Haudenosaunee peoples. Our main campus is situated on the Haldimand Tract, the land promised to the Six Nations that includes six miles on each side of the Grand River. Our active work toward reconciliation takes place across our campuses through research, learning, teaching, and community building, and is centralized within our <a href="https://uwaterloo.ca/human-rights-equity-inclusion/about/indigenous-initiatives" >Indigenous Initiatives Office</a>.</p> </div> </div> \ No newline at end of file