From dd36c0073a9c0568d9aebcf757d89190a58c3939 Mon Sep 17 00:00:00 2001 From: Nitesh Date: Thu, 28 Jul 2022 10:57:53 +0530 Subject: [PATCH 1/2] updated other links with target _blank --- .../templates/cd/cd-header/cd-ocha.html.twig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/html/themes/custom/gms_ocha_common/templates/cd/cd-header/cd-ocha.html.twig b/html/themes/custom/gms_ocha_common/templates/cd/cd-header/cd-ocha.html.twig index b440adb2..13513ab2 100644 --- a/html/themes/custom/gms_ocha_common/templates/cd/cd-header/cd-ocha.html.twig +++ b/html/themes/custom/gms_ocha_common/templates/cd/cd-header/cd-ocha.html.twig @@ -8,4 +8,18 @@ {% endblock %} + {% block other_services_first %} + + + + + {% endblock %} + + {% block other_services_second %} + + + + + {% endblock %} + {% endembed %} \ No newline at end of file From f1b93452aaafde7b1757cfdf6f9bcc4a6bcd5c4f Mon Sep 17 00:00:00 2001 From: Nitesh Date: Thu, 28 Jul 2022 15:44:26 +0530 Subject: [PATCH 2/2] Added new images for GMS secure role and css --- html/themes/custom/gms_ocha_common/css/styles.css | 9 +++++++++ html/themes/custom/gms_ocha_common/sass/styles.scss | 13 +++++++++++++ 2 files changed, 22 insertions(+) diff --git a/html/themes/custom/gms_ocha_common/css/styles.css b/html/themes/custom/gms_ocha_common/css/styles.css index 006105c2..c2dfb94d 100644 --- a/html/themes/custom/gms_ocha_common/css/styles.css +++ b/html/themes/custom/gms_ocha_common/css/styles.css @@ -852,6 +852,15 @@ a { .help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-guest.active-parent { background: #3070ae url(../img/icon_guest_active.gif) no-repeat left center; } +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role{ + background: url(../img/icon_secured.gif)no-repeat left center;margin: 0 23px 0 0; } + +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role:hover { + background: #3070ae url(../img/icon_secured_active.gif)no-repeat left center; } + +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role.active-parent { + background: #3070ae url(../img/icon_secured_active.gif)no-repeat left center; } + .help-portal-page .field--type-text-with-summary .content_panel p { font-size: 13px; color: #3c3c3c; diff --git a/html/themes/custom/gms_ocha_common/sass/styles.scss b/html/themes/custom/gms_ocha_common/sass/styles.scss index 2af9c80b..7fc6af03 100644 --- a/html/themes/custom/gms_ocha_common/sass/styles.scss +++ b/html/themes/custom/gms_ocha_common/sass/styles.scss @@ -682,6 +682,19 @@ .help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-guest.active-parent { background: #3070ae url(../img/icon_guest_active.gif)no-repeat left center; } + +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role{ + background: url(../img/icon_secured.gif)no-repeat left center; + margin: 0 23px 0 0; +} + +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role:hover { + background: #3070ae url(../img/icon_secured_active.gif)no-repeat left center; +} +.help-portal-page .cd-layout-container .navigation ul.custom-menu- li.nav-item-gms-secure-role.active-parent { + background: #3070ae url(../img/icon_secured_active.gif)no-repeat left center; +} + .help-portal-page .field--type-text-with-summary .content_panel p { font-size: 13px; color: #3c3c3c;