From 5b41306d162df74196c3dc152659a4a283935b10 Mon Sep 17 00:00:00 2001 From: Brian Canini <canini.16@osu.edu> Date: Wed, 2 Feb 2022 11:06:46 -0500 Subject: [PATCH] template and style updates - adding link to academic programs template subhead - changing gray on section background color --- .../assets/sass/layout/_section-background-colors.scss | 4 ++-- web/themes/asc_bootstrap/css/style.css | 4 ++-- .../templates/node/node--academic-programs.html.twig | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/themes/asc_bootstrap/assets/sass/layout/_section-background-colors.scss b/web/themes/asc_bootstrap/assets/sass/layout/_section-background-colors.scss index 86aca0d919..83c9afb5ae 100644 --- a/web/themes/asc_bootstrap/assets/sass/layout/_section-background-colors.scss +++ b/web/themes/asc_bootstrap/assets/sass/layout/_section-background-colors.scss @@ -25,7 +25,7 @@ // -------------------------------------------------- .lgray-bg { - background-color: #f5f5f5; + background-color: $brand-lgray; color: $black-base; position: relative; @@ -49,7 +49,7 @@ .lgray-bg:before { content: ""; - background-color: #f5f5f5; + background-color: $brand-lgray; position: absolute; height: 100%; width: 100px; diff --git a/web/themes/asc_bootstrap/css/style.css b/web/themes/asc_bootstrap/css/style.css index ff3aa5b7d8..c3f0a41875 100644 --- a/web/themes/asc_bootstrap/css/style.css +++ b/web/themes/asc_bootstrap/css/style.css @@ -9505,7 +9505,7 @@ figcaption { /* line 27, ../assets/sass/layout/_section-background-colors.scss */ .lgray-bg { - background-color: #f5f5f5; + background-color: #EFF1F2; color: #000000; position: relative; } @@ -9529,7 +9529,7 @@ figcaption { /* line 50, ../assets/sass/layout/_section-background-colors.scss */ .lgray-bg:before { content: ""; - background-color: #f5f5f5; + background-color: #EFF1F2; position: absolute; height: 100%; width: 100px; diff --git a/web/themes/asc_bootstrap/templates/node/node--academic-programs.html.twig b/web/themes/asc_bootstrap/templates/node/node--academic-programs.html.twig index 8fd315d944..8ccddefcc1 100644 --- a/web/themes/asc_bootstrap/templates/node/node--academic-programs.html.twig +++ b/web/themes/asc_bootstrap/templates/node/node--academic-programs.html.twig @@ -85,7 +85,7 @@ {% set ap_program %} {{ content.field_ap_program }} {% endset %} - <p><span class="ap-title-program">{{ ap_program|striptags }}</span></p> + <p><a class="ap-title-program" href="/academics/programs/{{ ap_program|striptags|trim|lower }}">{{ ap_program|striptags }}</a></p> {% endif %} {% if content.field_ap_unit_website.0 != '' %} -- GitLab