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 @@
jQuery(document).ready(function ($) {
$('.pullout-btn').on('click', function () {
$('.sidebar').toggleClass('show');
$('.sidebar-pullout').toggleClass('show');
$('#content-wrap').toggleClass('show');
$(this).toggleClass('show');
var title = $('.sidebar').data('prev-title');
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(
$('.pullout-btn').on('click', function() {
$('.sidebar').toggleClass('show');
$('.sidebar-pullout').toggleClass('show');
$('#content-wrap').toggleClass('show');
$(this).toggleClass('show');
var title = $('.sidebar').data('prev-title');
......
......@@ -995,20 +995,20 @@ a[href$=".doc"]:hover, a[href$=".pdf"]:hover {
}
}
a[href$=".doc"]:before,
a[href$=".docx"]:before,
.item-link:not(.no_icon)[href$=".pdf"]:before {
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>');
background-repeat: no-repeat;
background-size: contain;
min-width: 24px;
min-height: 27px;
max-width: 24px;
max-height: 27px;
display: block;
content: "";
}
// a[href$=".doc"]:before,
// a[href$=".docx"]:before,
// .item-link:not(.no_icon)[href$=".pdf"]:before {
// 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>');
// background-repeat: no-repeat;
// background-size: contain;
// min-width: 24px;
// min-height: 27px;
// max-width: 24px;
// max-height: 27px;
// display: block;
// content: "";
// }
.badge_container{
......
......@@ -22,6 +22,7 @@
border: 0;
background:#009ADE;
font-size: 1.25rem;
justify-content: center;
&.btn-disabled {
background:#F2F2F2;
pointer-events: none;
......
......@@ -144,7 +144,7 @@
}
.has-sidebar-content {
#brokercontent {
margin-top:126px !important;
margin-top:87px !important;
}
}
.header-title {
......@@ -164,6 +164,9 @@
-webkit-box-shadow: 0px 2px 4px -2px #000000;
box-shadow: 0px 2px 4px -2px #000000;
padding-bottom: 0;
&.show {
box-shadow: none !important;
}
.mobile-btn {
width: 37px;
height: 35px;
......@@ -201,8 +204,6 @@
}
.sidebar-pullout {
position: fixed;
top: 8.25rem;
right: 0;
width: 100%;
height: 40px;
......@@ -228,6 +229,14 @@
right: 3.5rem;
font-size: 1rem;
}
&.show {
position: fixed;
top: 8.25rem;
box-shadow: 0 2px 4px -2px #000;
.sidebar-title {
top:0.6rem;
}
}
}
.wp-block-buttons {
......@@ -286,6 +295,10 @@
}
.admin-bar #content-wrap {
transition: 0.3s;
}
.has-sidebar-content {
.article-wrapper {
margin-top:4rem;
......@@ -298,7 +311,7 @@
#header-image + #page-content {
.article-wrapper {
margin-top:1rem;
margin-top:1.5rem;
}
}
......
......@@ -10,6 +10,23 @@
}
}
.fav-border-top {
border-top:1px solid #949598;
display: block;
width: 100%;
margin-top:-5px;
}
.course-list.resources {
margin-bottom:40px;
}
#new-footer #footer-sidebar #footer-sidebar2 .widget_custom_html .custom-html-widget .menu .menu-item a {
font-weight: normal;
font-family: 'Helvetica';
transition: none;
}
table {
a {
border: 0 !important;
......@@ -63,7 +80,7 @@ article > h1 + p {
}
}
//For strategic projects page layout and spacing for the liness
//For strategic projects page layout and spacing for the lines
.wp-block-group + .wp-block-group {
& > .wp-block-group__inner-container > hr:first-child {
display: none;
......@@ -128,15 +145,18 @@ article > h1 + p {
}
}
.wp-block-file {
a {
color:#000000;
font-size: 1rem;
font-family: "Helvetica-Bold";
&:hover {
text-decoration: underline;
}
a.pdf, a.extern, a.xls, a.mailto {
color:#000000;
font-size: 1rem;
font-family: "Helvetica-Bold";
display: flex;
align-items: center;
&:hover {
text-decoration: underline;
}
}
.wp-block-file {
.wp-block-file__button {
display: none;
}
......
......@@ -241,7 +241,7 @@ label[for="quicksearch"] {
font-size: 1.125rem;
color:#000000;
cursor: pointer;
margin:0 0.25rem;
margin:0 0.5rem;
font-family: "Helvetica";
font-weight: normal;
&.current {
......
......@@ -63,7 +63,6 @@ function favourite_list_item($request) {
function resources_list($atts){
$tax_queries = [];
$taxes = explode(',', $atts['tax']);
$organized_term_filter = [];
......@@ -182,6 +181,7 @@ function resources_fav(){
if (is_array( $favs)): ?>
<div class="course-list resources">
<?php if(count($favs) > 0) { ?>
<table id="resources" class="resources-fav">
<thead><tr><th class="hidden"></th><th class="hidden"></th><th></th></tr></thead>
<tbody>
......@@ -190,6 +190,10 @@ function resources_fav(){
}; ?>
</tbody>
</table>
<?php } else { ?>
<span class='fav-border-top'></span>
<p>Curabitur molestie sapien vel magna rhoncus, varius facilisis lacus ullamcorper. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<?php } ?>
</div>
<?php endif;
wp_reset_query();
......