015071bc by Jeremy Groot

broker qa fixes

1 parent 8f1ae908
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -9175,6 +9175,8 @@ ...@@ -9175,6 +9175,8 @@
9175 jQuery(document).ready(function ($) { 9175 jQuery(document).ready(function ($) {
9176 $('.pullout-btn').on('click', function () { 9176 $('.pullout-btn').on('click', function () {
9177 $('.sidebar').toggleClass('show'); 9177 $('.sidebar').toggleClass('show');
9178 $('.sidebar-pullout').toggleClass('show');
9179 $('#content-wrap').toggleClass('show');
9178 $(this).toggleClass('show'); 9180 $(this).toggleClass('show');
9179 var title = $('.sidebar').data('prev-title'); 9181 var title = $('.sidebar').data('prev-title');
9180 if (!title) { 9182 if (!title) {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -4,6 +4,8 @@ jQuery(document).ready( ...@@ -4,6 +4,8 @@ jQuery(document).ready(
4 $('.pullout-btn').on('click', function() { 4 $('.pullout-btn').on('click', function() {
5 5
6 $('.sidebar').toggleClass('show'); 6 $('.sidebar').toggleClass('show');
7 $('.sidebar-pullout').toggleClass('show');
8 $('#content-wrap').toggleClass('show');
7 $(this).toggleClass('show'); 9 $(this).toggleClass('show');
8 10
9 var title = $('.sidebar').data('prev-title'); 11 var title = $('.sidebar').data('prev-title');
......
...@@ -995,20 +995,20 @@ a[href$=".doc"]:hover, a[href$=".pdf"]:hover { ...@@ -995,20 +995,20 @@ a[href$=".doc"]:hover, a[href$=".pdf"]:hover {
995 } 995 }
996 } 996 }
997 997
998 a[href$=".doc"]:before, 998 // a[href$=".doc"]:before,
999 a[href$=".docx"]:before, 999 // a[href$=".docx"]:before,
1000 .item-link:not(.no_icon)[href$=".pdf"]:before { 1000 // .item-link:not(.no_icon)[href$=".pdf"]:before {
1001 1001
1002 background-image: url('data:image/svg+xml,<svg id="Group_1138" data-name="Group 1138" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="23.939" height="27.025" viewBox="0 0 23.939 27.025"><defs><clipPath id="clip-path"><rect id="Rectangle_183" data-name="Rectangle 183" width="23.939" height="27.025" fill="%23009ade"/></clipPath></defs><g id="Group_1137" data-name="Group 1137" clip-path="url(%23clip-path)"><path id="Path_1366" data-name="Path 1366" d="M20.849,27.025H3.107c-.042-.015-.083-.032-.125-.044a1.054,1.054,0,0,1-.735-.67,1.128,1.128,0,0,1-.064-.409q0-2.595,0-5.19v-.15H2.058c-.184,0-.368,0-.552,0A1.514,1.514,0,0,1,.042,19.306,1.11,1.11,0,0,0,0,19.167V11.061a.846.846,0,0,0,.04-.127A1.512,1.512,0,0,1,1.556,9.661c.176,0,.353,0,.529,0,.029,0,.058,0,.1-.008V1.207c0-.056,0-.113,0-.169A1.065,1.065,0,0,1,2.864.065,1.212,1.212,0,0,1,3.317,0h12.72a.523.523,0,0,1,.409.18c.036.038.07.078.1.118q2.514,2.871,5.029,5.74a.746.746,0,0,1,.205.529c0,.034,0,.068,0,.1V9.661h.124c.184,0,.368-.006.552,0a1.483,1.483,0,0,1,1.353.889,1.447,1.447,0,0,1,.125.657q0,2.274,0,4.548,0,1.615,0,3.231a1.937,1.937,0,0,1-.014.325,1.51,1.51,0,0,1-1.48,1.25c-.184,0-.368,0-.552,0-.033,0-.065,0-.106.006v.153q0,2.555,0,5.111c0,.071,0,.143-.007.214a1.059,1.059,0,0,1-.791.934c-.047.012-.092.03-.138.044M3.25,1.062V9.655H20.709c.026-.118.022-2.559-.006-2.648H16.159c-.041,0-.083,0-.124,0a.531.531,0,0,1-.513-.452,1.065,1.065,0,0,1-.007-.168q0-2.589,0-5.178V1.062Zm0,24.6H20.718V20.57H3.247Zm6.011-6.4c.046.008.082.016.119.019.306.026.613.057.919.074a12.642,12.642,0,0,0,1.979-.023,6.474,6.474,0,0,0,1.491-.322,3.444,3.444,0,0,0,2.212-2.179,4.967,4.967,0,0,0,.178-2.64,3.237,3.237,0,0,0-.645-1.433,3.522,3.522,0,0,0-1.785-1.175,6.579,6.579,0,0,0-1.81-.249,17.454,17.454,0,0,0-2.158.093c-.166.018-.332.044-.5.067ZM4.209,16.471a5.487,5.487,0,0,0,1.056.017,4.12,4.12,0,0,0,1.3-.293,2.428,2.428,0,0,0,1.092-.838,2.621,2.621,0,0,0,.429-1.908A2.191,2.191,0,0,0,6.622,11.6a4.15,4.15,0,0,0-1.4-.262,15.761,15.761,0,0,0-2.515.112c-.091.012-.182.03-.27.045v7.8H4.209ZM22.257,11.4c-.175-.024-4.746-.016-4.824.007v7.884c.149.022,1.7.016,1.788-.008v-2.1q0-.265,0-.529c0-.175,0-.35,0-.533h1.895c.158,0,.315,0,.473,0s.312.006.465,0v-1.45H19.231c-.023-.213-.014-1.721.013-1.812h3.013Z" fill="%23009ade"/><path id="Path_1367" data-name="Path 1367" d="M162.156,186.281c.129-.016.255-.037.381-.047a3.72,3.72,0,0,1,1.262.085,2.033,2.033,0,0,1,1.554,1.594,3.646,3.646,0,0,1-.1,2.052,2.149,2.149,0,0,1-1.59,1.435,3.522,3.522,0,0,1-.948.1c-.183,0-.366-.012-.556-.018Z" transform="translate(-151.097 -173.517)" fill="%23009ade"/><path id="Path_1368" data-name="Path 1368" d="M61.758,188.282v-2.343c.047-.01.093-.024.14-.031a2.939,2.939,0,0,1,1.161.031,1.221,1.221,0,0,1,.423.2,1,1,0,0,1,.387.65,1.379,1.379,0,0,1-.007.515,1.168,1.168,0,0,1-.879.927,2.382,2.382,0,0,1-.846.082c-.123-.007-.245-.022-.378-.034" transform="translate(-57.546 -173.189)" fill="%23009ade"/></g></svg>'); 1002 // background-image: url('data:image/svg+xml,<svg id="Group_1138" data-name="Group 1138" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="23.939" height="27.025" viewBox="0 0 23.939 27.025"><defs><clipPath id="clip-path"><rect id="Rectangle_183" data-name="Rectangle 183" width="23.939" height="27.025" fill="%23009ade"/></clipPath></defs><g id="Group_1137" data-name="Group 1137" clip-path="url(%23clip-path)"><path id="Path_1366" data-name="Path 1366" d="M20.849,27.025H3.107c-.042-.015-.083-.032-.125-.044a1.054,1.054,0,0,1-.735-.67,1.128,1.128,0,0,1-.064-.409q0-2.595,0-5.19v-.15H2.058c-.184,0-.368,0-.552,0A1.514,1.514,0,0,1,.042,19.306,1.11,1.11,0,0,0,0,19.167V11.061a.846.846,0,0,0,.04-.127A1.512,1.512,0,0,1,1.556,9.661c.176,0,.353,0,.529,0,.029,0,.058,0,.1-.008V1.207c0-.056,0-.113,0-.169A1.065,1.065,0,0,1,2.864.065,1.212,1.212,0,0,1,3.317,0h12.72a.523.523,0,0,1,.409.18c.036.038.07.078.1.118q2.514,2.871,5.029,5.74a.746.746,0,0,1,.205.529c0,.034,0,.068,0,.1V9.661h.124c.184,0,.368-.006.552,0a1.483,1.483,0,0,1,1.353.889,1.447,1.447,0,0,1,.125.657q0,2.274,0,4.548,0,1.615,0,3.231a1.937,1.937,0,0,1-.014.325,1.51,1.51,0,0,1-1.48,1.25c-.184,0-.368,0-.552,0-.033,0-.065,0-.106.006v.153q0,2.555,0,5.111c0,.071,0,.143-.007.214a1.059,1.059,0,0,1-.791.934c-.047.012-.092.03-.138.044M3.25,1.062V9.655H20.709c.026-.118.022-2.559-.006-2.648H16.159c-.041,0-.083,0-.124,0a.531.531,0,0,1-.513-.452,1.065,1.065,0,0,1-.007-.168q0-2.589,0-5.178V1.062Zm0,24.6H20.718V20.57H3.247Zm6.011-6.4c.046.008.082.016.119.019.306.026.613.057.919.074a12.642,12.642,0,0,0,1.979-.023,6.474,6.474,0,0,0,1.491-.322,3.444,3.444,0,0,0,2.212-2.179,4.967,4.967,0,0,0,.178-2.64,3.237,3.237,0,0,0-.645-1.433,3.522,3.522,0,0,0-1.785-1.175,6.579,6.579,0,0,0-1.81-.249,17.454,17.454,0,0,0-2.158.093c-.166.018-.332.044-.5.067ZM4.209,16.471a5.487,5.487,0,0,0,1.056.017,4.12,4.12,0,0,0,1.3-.293,2.428,2.428,0,0,0,1.092-.838,2.621,2.621,0,0,0,.429-1.908A2.191,2.191,0,0,0,6.622,11.6a4.15,4.15,0,0,0-1.4-.262,15.761,15.761,0,0,0-2.515.112c-.091.012-.182.03-.27.045v7.8H4.209ZM22.257,11.4c-.175-.024-4.746-.016-4.824.007v7.884c.149.022,1.7.016,1.788-.008v-2.1q0-.265,0-.529c0-.175,0-.35,0-.533h1.895c.158,0,.315,0,.473,0s.312.006.465,0v-1.45H19.231c-.023-.213-.014-1.721.013-1.812h3.013Z" fill="%23009ade"/><path id="Path_1367" data-name="Path 1367" d="M162.156,186.281c.129-.016.255-.037.381-.047a3.72,3.72,0,0,1,1.262.085,2.033,2.033,0,0,1,1.554,1.594,3.646,3.646,0,0,1-.1,2.052,2.149,2.149,0,0,1-1.59,1.435,3.522,3.522,0,0,1-.948.1c-.183,0-.366-.012-.556-.018Z" transform="translate(-151.097 -173.517)" fill="%23009ade"/><path id="Path_1368" data-name="Path 1368" d="M61.758,188.282v-2.343c.047-.01.093-.024.14-.031a2.939,2.939,0,0,1,1.161.031,1.221,1.221,0,0,1,.423.2,1,1,0,0,1,.387.65,1.379,1.379,0,0,1-.007.515,1.168,1.168,0,0,1-.879.927,2.382,2.382,0,0,1-.846.082c-.123-.007-.245-.022-.378-.034" transform="translate(-57.546 -173.189)" fill="%23009ade"/></g></svg>');
1003 background-repeat: no-repeat; 1003 // background-repeat: no-repeat;
1004 background-size: contain; 1004 // background-size: contain;
1005 min-width: 24px; 1005 // min-width: 24px;
1006 min-height: 27px; 1006 // min-height: 27px;
1007 max-width: 24px; 1007 // max-width: 24px;
1008 max-height: 27px; 1008 // max-height: 27px;
1009 display: block; 1009 // display: block;
1010 content: ""; 1010 // content: "";
1011 } 1011 // }
1012 1012
1013 1013
1014 .badge_container{ 1014 .badge_container{
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
22 border: 0; 22 border: 0;
23 background:#009ADE; 23 background:#009ADE;
24 font-size: 1.25rem; 24 font-size: 1.25rem;
25 justify-content: center;
25 &.btn-disabled { 26 &.btn-disabled {
26 background:#F2F2F2; 27 background:#F2F2F2;
27 pointer-events: none; 28 pointer-events: none;
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
144 } 144 }
145 .has-sidebar-content { 145 .has-sidebar-content {
146 #brokercontent { 146 #brokercontent {
147 margin-top:126px !important; 147 margin-top:87px !important;
148 } 148 }
149 } 149 }
150 .header-title { 150 .header-title {
...@@ -164,6 +164,9 @@ ...@@ -164,6 +164,9 @@
164 -webkit-box-shadow: 0px 2px 4px -2px #000000; 164 -webkit-box-shadow: 0px 2px 4px -2px #000000;
165 box-shadow: 0px 2px 4px -2px #000000; 165 box-shadow: 0px 2px 4px -2px #000000;
166 padding-bottom: 0; 166 padding-bottom: 0;
167 &.show {
168 box-shadow: none !important;
169 }
167 .mobile-btn { 170 .mobile-btn {
168 width: 37px; 171 width: 37px;
169 height: 35px; 172 height: 35px;
...@@ -201,8 +204,6 @@ ...@@ -201,8 +204,6 @@
201 } 204 }
202 205
203 .sidebar-pullout { 206 .sidebar-pullout {
204 position: fixed;
205 top: 8.25rem;
206 right: 0; 207 right: 0;
207 width: 100%; 208 width: 100%;
208 height: 40px; 209 height: 40px;
...@@ -228,6 +229,14 @@ ...@@ -228,6 +229,14 @@
228 right: 3.5rem; 229 right: 3.5rem;
229 font-size: 1rem; 230 font-size: 1rem;
230 } 231 }
232 &.show {
233 position: fixed;
234 top: 8.25rem;
235 box-shadow: 0 2px 4px -2px #000;
236 .sidebar-title {
237 top:0.6rem;
238 }
239 }
231 } 240 }
232 241
233 .wp-block-buttons { 242 .wp-block-buttons {
...@@ -286,6 +295,10 @@ ...@@ -286,6 +295,10 @@
286 295
287 } 296 }
288 297
298 .admin-bar #content-wrap {
299 transition: 0.3s;
300 }
301
289 .has-sidebar-content { 302 .has-sidebar-content {
290 .article-wrapper { 303 .article-wrapper {
291 margin-top:4rem; 304 margin-top:4rem;
...@@ -298,7 +311,7 @@ ...@@ -298,7 +311,7 @@
298 311
299 #header-image + #page-content { 312 #header-image + #page-content {
300 .article-wrapper { 313 .article-wrapper {
301 margin-top:1rem; 314 margin-top:1.5rem;
302 } 315 }
303 } 316 }
304 317
......
...@@ -10,6 +10,23 @@ ...@@ -10,6 +10,23 @@
10 } 10 }
11 } 11 }
12 12
13 .fav-border-top {
14 border-top:1px solid #949598;
15 display: block;
16 width: 100%;
17 margin-top:-5px;
18 }
19
20 .course-list.resources {
21 margin-bottom:40px;
22 }
23
24 #new-footer #footer-sidebar #footer-sidebar2 .widget_custom_html .custom-html-widget .menu .menu-item a {
25 font-weight: normal;
26 font-family: 'Helvetica';
27 transition: none;
28 }
29
13 table { 30 table {
14 a { 31 a {
15 border: 0 !important; 32 border: 0 !important;
...@@ -63,7 +80,7 @@ article > h1 + p { ...@@ -63,7 +80,7 @@ article > h1 + p {
63 } 80 }
64 } 81 }
65 82
66 //For strategic projects page layout and spacing for the liness 83 //For strategic projects page layout and spacing for the lines
67 .wp-block-group + .wp-block-group { 84 .wp-block-group + .wp-block-group {
68 & > .wp-block-group__inner-container > hr:first-child { 85 & > .wp-block-group__inner-container > hr:first-child {
69 display: none; 86 display: none;
...@@ -128,15 +145,18 @@ article > h1 + p { ...@@ -128,15 +145,18 @@ article > h1 + p {
128 } 145 }
129 } 146 }
130 147
131 .wp-block-file { 148 a.pdf, a.extern, a.xls, a.mailto {
132 a { 149 color:#000000;
133 color:#000000; 150 font-size: 1rem;
134 font-size: 1rem; 151 font-family: "Helvetica-Bold";
135 font-family: "Helvetica-Bold"; 152 display: flex;
136 &:hover { 153 align-items: center;
137 text-decoration: underline; 154 &:hover {
138 } 155 text-decoration: underline;
139 } 156 }
157 }
158
159 .wp-block-file {
140 .wp-block-file__button { 160 .wp-block-file__button {
141 display: none; 161 display: none;
142 } 162 }
......
...@@ -241,7 +241,7 @@ label[for="quicksearch"] { ...@@ -241,7 +241,7 @@ label[for="quicksearch"] {
241 font-size: 1.125rem; 241 font-size: 1.125rem;
242 color:#000000; 242 color:#000000;
243 cursor: pointer; 243 cursor: pointer;
244 margin:0 0.25rem; 244 margin:0 0.5rem;
245 font-family: "Helvetica"; 245 font-family: "Helvetica";
246 font-weight: normal; 246 font-weight: normal;
247 &.current { 247 &.current {
......
...@@ -63,7 +63,6 @@ function favourite_list_item($request) { ...@@ -63,7 +63,6 @@ function favourite_list_item($request) {
63 63
64 function resources_list($atts){ 64 function resources_list($atts){
65 65
66
67 $tax_queries = []; 66 $tax_queries = [];
68 $taxes = explode(',', $atts['tax']); 67 $taxes = explode(',', $atts['tax']);
69 $organized_term_filter = []; 68 $organized_term_filter = [];
...@@ -182,6 +181,7 @@ function resources_fav(){ ...@@ -182,6 +181,7 @@ function resources_fav(){
182 181
183 if (is_array( $favs)): ?> 182 if (is_array( $favs)): ?>
184 <div class="course-list resources"> 183 <div class="course-list resources">
184 <?php if(count($favs) > 0) { ?>
185 <table id="resources" class="resources-fav"> 185 <table id="resources" class="resources-fav">
186 <thead><tr><th class="hidden"></th><th class="hidden"></th><th></th></tr></thead> 186 <thead><tr><th class="hidden"></th><th class="hidden"></th><th></th></tr></thead>
187 <tbody> 187 <tbody>
...@@ -190,6 +190,10 @@ function resources_fav(){ ...@@ -190,6 +190,10 @@ function resources_fav(){
190 }; ?> 190 }; ?>
191 </tbody> 191 </tbody>
192 </table> 192 </table>
193 <?php } else { ?>
194 <span class='fav-border-top'></span>
195 <p>Curabitur molestie sapien vel magna rhoncus, varius facilisis lacus ullamcorper. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
196 <?php } ?>
193 </div> 197 </div>
194 <?php endif; 198 <?php endif;
195 wp_reset_query(); 199 wp_reset_query();
......