9d738c0b by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 63de5caa
...@@ -75,25 +75,45 @@ if($categoryID == ""){ ...@@ -75,25 +75,45 @@ if($categoryID == ""){
75 75
76 $documents = get_posts($args); 76 $documents = get_posts($args);
77 $posts = array_merge($documents, $attachments); 77 $posts = array_merge($documents, $attachments);
78 echo '<ul>'; 78 echo '<table id="relevant-resources"><thead style="display:none;"><tr><th>file</th></tr></thead><tbody>';
79 foreach($posts as $post ) { 79 foreach($posts as $post ) {
80 $post_type = get_post_type( $post->ID ); 80 $post_type = get_post_type( $post->ID );
81 $link = wp_get_attachment_url( $post->ID ); 81 $link = wp_get_attachment_url( $post->ID );
82 $description = get_post_meta($post->ID, 'description', true ); 82 $description = get_post_meta($post->ID, 'description', true );
83 $terms = wp_get_post_terms( $post->ID, 'document-format'); 83 $terms = wp_get_post_terms( $post->ID, 'document-format');
84 $imgid =$post->ID;
85
86 if($imgid) {
87 $image = wp_get_attachment_image_src($imgid, 'medium');
88 $image = $image[0];
89 $image_alt = get_post_meta($imgid, '_wp_attachment_image_alt', TRUE);
90 }
91 $term_list = array();
84 if ( !empty( $terms ) && !is_wp_error( $terms ) ){ 92 if ( !empty( $terms ) && !is_wp_error( $terms ) ){
85
86 foreach ( $terms as $term ) { 93 foreach ( $terms as $term ) {
87 $term_list = $term->name; 94 $term_list = $term->name;
88
89 } 95 }
90
91 } 96 }
97
92 if($post_type == 'documents'){ $link = get_post_meta($post->ID, 'document_link', true );}; 98 if($post_type == 'documents'){ $link = get_post_meta($post->ID, 'document_link', true );};
93 echo '<li><a class="'.$term_list.'" href="'.$link.'">'.$post->post_title.'</a><p>'.$description.'</p></li>'; 99 echo '<tr><td><div class="rel">';
100 if($image):
101 ?>
102 <div class='photo'>
103 <img src='#' data-src="<?= $image ?>" class='lazy' alt='<?= $image_alt ?>' />
104 </div>
105 <?php endif; ?>
106 <div class='content'>
107 <?php echo '<a class="'.$term_list.'" href="'.$link.'">'.$post->post_title.'</a>';
108 if($description != ""){
109 echo '<p>'.$description.'</p>';
110 };
111 echo '</div></div></td></tr>';
94 112
95 }; 113 };
96 echo '</ul>'; 114 echo '</tbody></table>';
115
97 ?> 116 ?>
117
98 </div> 118 </div>
99 119
......
...@@ -17924,7 +17924,7 @@ p { ...@@ -17924,7 +17924,7 @@ p {
17924 display: block; 17924 display: block;
17925 } 17925 }
17926 17926
17927 table:not(.ui-datepicker-calendar) { 17927 table:not(.ui-datepicker-calendar):not(#relevant-resources) {
17928 margin: 2.5rem 0rem; 17928 margin: 2.5rem 0rem;
17929 border: 0.25rem solid #fff !important; 17929 border: 0.25rem solid #fff !important;
17930 background-color: #EAEDF1 !important; 17930 background-color: #EAEDF1 !important;
...@@ -17933,23 +17933,23 @@ table:not(.ui-datepicker-calendar) { ...@@ -17933,23 +17933,23 @@ table:not(.ui-datepicker-calendar) {
17933 border-collapse: collapse; 17933 border-collapse: collapse;
17934 overflow-x: scroll; 17934 overflow-x: scroll;
17935 } 17935 }
17936 table:not(.ui-datepicker-calendar) td, table:not(.ui-datepicker-calendar) table th { 17936 table:not(.ui-datepicker-calendar):not(#relevant-resources) td, table:not(.ui-datepicker-calendar):not(#relevant-resources) table th {
17937 border: 0.25rem solid #FFFFFF !important; 17937 border: 0.25rem solid #FFFFFF !important;
17938 padding: 0.4375rem 0.4375rem; 17938 padding: 0.4375rem 0.4375rem;
17939 } 17939 }
17940 table:not(.ui-datepicker-calendar) tbody td { 17940 table:not(.ui-datepicker-calendar):not(#relevant-resources) tbody td {
17941 font-size: 1rem; 17941 font-size: 1rem;
17942 line-height: 1.25rem; 17942 line-height: 1.25rem;
17943 padding: 0.625rem 0.9375rem !important; 17943 padding: 0.625rem 0.9375rem !important;
17944 } 17944 }
17945 table:not(.ui-datepicker-calendar) tr:nth-child(even) { 17945 table:not(.ui-datepicker-calendar):not(#relevant-resources) tr:nth-child(even) {
17946 background: #FFFFFF !important; 17946 background: #FFFFFF !important;
17947 } 17947 }
17948 table:not(.ui-datepicker-calendar) thead { 17948 table:not(.ui-datepicker-calendar):not(#relevant-resources) thead {
17949 background: #FFFFFF !important; 17949 background: #FFFFFF !important;
17950 border: 0.25rem solid #fff !important; 17950 border: 0.25rem solid #fff !important;
17951 } 17951 }
17952 table:not(.ui-datepicker-calendar) thead th { 17952 table:not(.ui-datepicker-calendar):not(#relevant-resources) thead th {
17953 font-size: 1rem; 17953 font-size: 1rem;
17954 line-height: 1.25rem; 17954 line-height: 1.25rem;
17955 font-weight: bold; 17955 font-weight: bold;
...@@ -17957,7 +17957,7 @@ table:not(.ui-datepicker-calendar) thead th { ...@@ -17957,7 +17957,7 @@ table:not(.ui-datepicker-calendar) thead th {
17957 border: 0.25rem solid #fff !important; 17957 border: 0.25rem solid #fff !important;
17958 padding: 0.625rem 0.9375rem !important; 17958 padding: 0.625rem 0.9375rem !important;
17959 } 17959 }
17960 table:not(.ui-datepicker-calendar) thead th:first-child { 17960 table:not(.ui-datepicker-calendar):not(#relevant-resources) thead th:first-child {
17961 border-left: none; 17961 border-left: none;
17962 } 17962 }
17963 17963
...@@ -18855,10 +18855,10 @@ ul.sf_date_field .sf-datepicker { ...@@ -18855,10 +18855,10 @@ ul.sf_date_field .sf-datepicker {
18855 display: flex; 18855 display: flex;
18856 } 18856 }
18857 #search-wrapper #main > article .photo { 18857 #search-wrapper #main > article .photo {
18858 min-width: 18.375rem; 18858 max-width: 160px;
18859 min-height: 12.375rem; 18859 max-height: 92px;
18860 max-width: 18.375rem; 18860 min-width: 160px;
18861 max-height: 12.375rem; 18861 min-height: 92px;
18862 } 18862 }
18863 #search-wrapper #main > article .photo img { 18863 #search-wrapper #main > article .photo img {
18864 -o-object-fit: cover; 18864 -o-object-fit: cover;
...@@ -18881,10 +18881,16 @@ ul.sf_date_field .sf-datepicker { ...@@ -18881,10 +18881,16 @@ ul.sf_date_field .sf-datepicker {
18881 flex-direction: column; 18881 flex-direction: column;
18882 } 18882 }
18883 } 18883 }
18884 #search-wrapper #main > article a:hover h2.entry-title, #search-wrapper #main > article a:hover .entry-title.h2 { 18884 #search-wrapper #main > article a h2, #search-wrapper #main > article a .h2 {
18885 text-decoration: none;
18886 font-size: 16px;
18887 font-weight: bold;
18888 }
18889 #search-wrapper #main > article a:hover h2, #search-wrapper #main > article a:hover .h2 {
18885 text-decoration: underline; 18890 text-decoration: underline;
18891 font-size: 16px;
18886 } 18892 }
18887 #search-wrapper #main > article a[href$=".pdf"] h2:before, #search-wrapper #main > article a[href$=".pdf"] .h2:before { 18893 #search-wrapper #main > article h2.PDF:before, #search-wrapper #main > article .PDF.h2:before {
18888 content: ""; 18894 content: "";
18889 width: 1.313rem; 18895 width: 1.313rem;
18890 height: 1.5rem; 18896 height: 1.5rem;
...@@ -18896,9 +18902,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -18896,9 +18902,7 @@ ul.sf_date_field .sf-datepicker {
18896 left: -0.2rem; 18902 left: -0.2rem;
18897 margin-right: 0.3125rem; 18903 margin-right: 0.3125rem;
18898 } 18904 }
18899 #search-wrapper #main > article a[href$=".doc"] h2:before, #search-wrapper #main > article a[href$=".doc"] .h2:before, 18905 #search-wrapper #main > article h2.Word:before, #search-wrapper #main > article .Word.h2:before {
18900 #search-wrapper #main > article a[href$=".docx"] h2:before,
18901 #search-wrapper #main > article a[href$=".docx"] .h2:before {
18902 content: ""; 18906 content: "";
18903 width: 1.313rem; 18907 width: 1.313rem;
18904 height: 1.5rem; 18908 height: 1.5rem;
...@@ -18911,9 +18915,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -18911,9 +18915,7 @@ ul.sf_date_field .sf-datepicker {
18911 left: -0.2rem; 18915 left: -0.2rem;
18912 margin-right: 0.3125rem; 18916 margin-right: 0.3125rem;
18913 } 18917 }
18914 #search-wrapper #main > article a[href$=".xls"] h2:before, #search-wrapper #main > article a[href$=".xls"] .h2:before, 18918 #search-wrapper #main > article h2.Excel:before, #search-wrapper #main > article .Excel.h2:before {
18915 #search-wrapper #main > article a[href$=".xlsx"] h2:before,
18916 #search-wrapper #main > article a[href$=".xlsx"] .h2:before {
18917 content: ""; 18919 content: "";
18918 width: 1.313rem; 18920 width: 1.313rem;
18919 height: 1.5rem; 18921 height: 1.5rem;
...@@ -18926,6 +18928,32 @@ ul.sf_date_field .sf-datepicker { ...@@ -18926,6 +18928,32 @@ ul.sf_date_field .sf-datepicker {
18926 left: -0.2rem; 18928 left: -0.2rem;
18927 margin-right: 0.3125rem; 18929 margin-right: 0.3125rem;
18928 } 18930 }
18931 #search-wrapper #main > article h2.PPT:before, #search-wrapper #main > article .PPT.h2:before {
18932 content: "";
18933 width: 1.313rem;
18934 height: 1.5rem;
18935 background-repeat: no-repeat;
18936 background-size: contain;
18937 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_308" data-name="Rectangle 308" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1957" data-name="Group 1957" transform="translate(0 0)"><g id="Group_1956" data-name="Group 1956" transform="translate(0 0)" clip-path="url(%23clip-path)"><path id="Path_1523" data-name="Path 1523" d="M5.437,12.6a.576.576,0,0,0,.176-.433.645.645,0,0,0-.153-.435.734.734,0,0,0-.574-.179H4.456v1.216h.37a.872.872,0,0,0,.611-.169" transform="translate(-0.72 -1.868)" fill="%23040504"/><path id="Path_1524" data-name="Path 1524" d="M10.318,11.555v1.216h.369A.876.876,0,0,0,11.3,12.6a.578.578,0,0,0,.175-.433.644.644,0,0,0-.153-.435.736.736,0,0,0-.574-.179Z" transform="translate(-1.668 -1.868)" fill="%23040504"/><path id="Path_1525" data-name="Path 1525" d="M17.855,7.916a1.113,1.113,0,0,0-1.014-.671c-.138,0-.276,0-.414,0h-.093V4.924a.563.563,0,0,0-.153-.4L12.408.225A1.1,1.1,0,0,0,12.33.136.4.4,0,0,0,12.024,0H2.487a.915.915,0,0,0-.34.049A.8.8,0,0,0,1.638.78v6.46a.317.317,0,0,1-.075.006h-.4A1.135,1.135,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.077a.941.941,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.941h.508v4a.846.846,0,0,0,.048.307.788.788,0,0,0,.551.5c.032.008.062.022.094.033h13.3l0,0c.034-.01.068-.023.1-.033a.794.794,0,0,0,.593-.7c.005-.053.005-.107.005-.16v-3.94a.626.626,0,0,1,.08,0h.414a1.132,1.132,0,0,0,1.11-.937,1.482,1.482,0,0,0,.011-.244V8.409a1.1,1.1,0,0,0-.094-.493M2.437.8h9.2v4a.785.785,0,0,0,.005.126.4.4,0,0,0,.385.335h3.5c.021.066.023,1.9,0,1.985H2.437Zm8.835,9.455a1.8,1.8,0,0,1-.444,1.291,1.792,1.792,0,0,1-1.354.464H8.65v2.023H7.139V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239M2.224,14.031V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239,1.8,1.8,0,0,1-.443,1.291,1.792,1.792,0,0,1-1.354.464H3.736v2.023Zm13.31,5.21H2.437l-.006-3.815h13.1Zm.759-9.317H14.758v4.106H13.252V9.925H11.718V8.579h4.575Z" transform="translate(0 0)" fill="%23040504"/></g></g></svg>');
18938 display: inline-block;
18939 position: relative;
18940 top: 0.3125rem;
18941 left: -0.2rem;
18942 margin-right: 0.3125rem;
18943 }
18944 #search-wrapper #main > article h2.HTML:before, #search-wrapper #main > article .HTML.h2:before {
18945 content: "";
18946 width: 17px;
18947 height: 17px;
18948 background-repeat: no-repeat;
18949 background-size: contain;
18950 background-image: url('data:image/svg+xml,<svg id="Group_1310" data-name="Group 1310" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.758" height="17.741" viewBox="0 0 17.758 17.741"><defs><clipPath id="clip-path"><rect id="Rectangle_151" data-name="Rectangle 151" width="17.758" height="17.741"/></clipPath></defs><path id="Path_1277" data-name="Path 1277" d="M0,0V17.741H17.757V8.281H15.586v7.3H2.189V2.135H9.3V0Z" transform="translate(0 0)"/><g id="Group_1023" data-name="Group 1023" transform="translate(0 0)"><g id="Group_1022" data-name="Group 1022" clip-path="url(%23clip-path)"><path id="Path_1278" data-name="Path 1278" d="M17.986,11.548,16.363,9.931l7.791-7.756H21.989V.016h5.864V5.867H25.7V3.8l-7.717,7.748" transform="translate(-10.096 -0.01)"/></g></g></svg>');
18951 display: inline-block;
18952 position: relative;
18953 top: 0.3125rem;
18954 left: -0.2rem;
18955 margin-right: 0.3125rem;
18956 }
18929 #search-wrapper #main > article .entry-header { 18957 #search-wrapper #main > article .entry-header {
18930 height: auto !important; 18958 height: auto !important;
18931 } 18959 }
...@@ -20439,30 +20467,47 @@ ul.sf_date_field .sf-datepicker { ...@@ -20439,30 +20467,47 @@ ul.sf_date_field .sf-datepicker {
20439 .relevant-resources h2, .relevant-resources .h2 { 20467 .relevant-resources h2, .relevant-resources .h2 {
20440 border-bottom: 1px solid #707070; 20468 border-bottom: 1px solid #707070;
20441 } 20469 }
20442 .relevant-resources ul { 20470 .relevant-resources #relevant-resources {
20443 list-style: none; 20471 width: 100%;
20444 margin-left: 0px;
20445 padding-left: 0px;
20446 } 20472 }
20447 .relevant-resources ul li { 20473 .relevant-resources #relevant-resources td {
20448 border-bottom: 1px solid #ccc; 20474 border-bottom: 1px solid #ccc;
20449 margin-left: 0px; 20475 margin-left: 0px;
20450 padding-left: 0px !important; 20476 padding-left: 0px !important;
20451 padding-bottom: 25px; 20477 padding-bottom: 25px;
20452 padding-top: 25px; 20478 padding-top: 25px;
20453 } 20479 }
20454 .relevant-resources ul li a { 20480 .relevant-resources #relevant-resources td .rel {
20455 margin-bottom: 20px; 20481 display: flex;
20482 }
20483 .relevant-resources #relevant-resources td .rel .photo {
20484 max-width: 160px;
20485 max-height: 92px;
20486 margin-right: 20px;
20487 }
20488 .relevant-resources #relevant-resources td .rel .photo img {
20489 -o-object-fit: cover;
20490 object-fit: cover;
20491 -o-object-position: center;
20492 object-position: center;
20493 height: 100%;
20494 width: 100%;
20495 }
20496 .relevant-resources #relevant-resources td a {
20456 font-weight: 700; 20497 font-weight: 700;
20457 text-decoration: none; 20498 text-decoration: none;
20458 font-size: 16px; 20499 font-size: 16px;
20459 line-height: 20px; 20500 line-height: 20pxs;
20460 display: block; 20501 display: block;
20461 } 20502 }
20462 .relevant-resources ul li a:hover { 20503 .relevant-resources #relevant-resources td a:hover {
20463 text-decoration: underline; 20504 text-decoration: underline;
20464 } 20505 }
20465 .relevant-resources ul li a.PDF:before { 20506 .relevant-resources #relevant-resources td p {
20507 margin-top: 15px;
20508 padding-bottom: 0px;
20509 }
20510 .relevant-resources #relevant-resources td a.PDF:before {
20466 content: ""; 20511 content: "";
20467 width: 17px; 20512 width: 17px;
20468 height: 20px; 20513 height: 20px;
...@@ -20475,7 +20520,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -20475,7 +20520,7 @@ ul.sf_date_field .sf-datepicker {
20475 left: -0.2rem; 20520 left: -0.2rem;
20476 margin-right: 0.3125rem; 20521 margin-right: 0.3125rem;
20477 } 20522 }
20478 .relevant-resources ul li a.Word:before { 20523 .relevant-resources #relevant-resources td a.Word:before {
20479 content: ""; 20524 content: "";
20480 width: 17px; 20525 width: 17px;
20481 height: 20px; 20526 height: 20px;
...@@ -20488,7 +20533,7 @@ ul.sf_date_field .sf-datepicker { ...@@ -20488,7 +20533,7 @@ ul.sf_date_field .sf-datepicker {
20488 left: -0.2rem; 20533 left: -0.2rem;
20489 margin-right: 0.3125rem; 20534 margin-right: 0.3125rem;
20490 } 20535 }
20491 .relevant-resources ul li a.Excel:before { 20536 .relevant-resources #relevant-resources td a.Excel:before {
20492 content: ""; 20537 content: "";
20493 width: 17px; 20538 width: 17px;
20494 height: 20px; 20539 height: 20px;
...@@ -20501,6 +20546,52 @@ ul.sf_date_field .sf-datepicker { ...@@ -20501,6 +20546,52 @@ ul.sf_date_field .sf-datepicker {
20501 left: -0.2rem; 20546 left: -0.2rem;
20502 margin-right: 0.3125rem; 20547 margin-right: 0.3125rem;
20503 } 20548 }
20549 .relevant-resources #relevant-resources td a.PPT:before {
20550 content: "";
20551 width: 17px;
20552 height: 20px;
20553 background-repeat: no-repeat;
20554 background-size: contain;
20555 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_308" data-name="Rectangle 308" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1957" data-name="Group 1957" transform="translate(0 0)"><g id="Group_1956" data-name="Group 1956" transform="translate(0 0)" clip-path="url(%23clip-path)"><path id="Path_1523" data-name="Path 1523" d="M5.437,12.6a.576.576,0,0,0,.176-.433.645.645,0,0,0-.153-.435.734.734,0,0,0-.574-.179H4.456v1.216h.37a.872.872,0,0,0,.611-.169" transform="translate(-0.72 -1.868)" fill="%23040504"/><path id="Path_1524" data-name="Path 1524" d="M10.318,11.555v1.216h.369A.876.876,0,0,0,11.3,12.6a.578.578,0,0,0,.175-.433.644.644,0,0,0-.153-.435.736.736,0,0,0-.574-.179Z" transform="translate(-1.668 -1.868)" fill="%23040504"/><path id="Path_1525" data-name="Path 1525" d="M17.855,7.916a1.113,1.113,0,0,0-1.014-.671c-.138,0-.276,0-.414,0h-.093V4.924a.563.563,0,0,0-.153-.4L12.408.225A1.1,1.1,0,0,0,12.33.136.4.4,0,0,0,12.024,0H2.487a.915.915,0,0,0-.34.049A.8.8,0,0,0,1.638.78v6.46a.317.317,0,0,1-.075.006h-.4A1.135,1.135,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.077a.941.941,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.941h.508v4a.846.846,0,0,0,.048.307.788.788,0,0,0,.551.5c.032.008.062.022.094.033h13.3l0,0c.034-.01.068-.023.1-.033a.794.794,0,0,0,.593-.7c.005-.053.005-.107.005-.16v-3.94a.626.626,0,0,1,.08,0h.414a1.132,1.132,0,0,0,1.11-.937,1.482,1.482,0,0,0,.011-.244V8.409a1.1,1.1,0,0,0-.094-.493M2.437.8h9.2v4a.785.785,0,0,0,.005.126.4.4,0,0,0,.385.335h3.5c.021.066.023,1.9,0,1.985H2.437Zm8.835,9.455a1.8,1.8,0,0,1-.444,1.291,1.792,1.792,0,0,1-1.354.464H8.65v2.023H7.139V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239M2.224,14.031V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239,1.8,1.8,0,0,1-.443,1.291,1.792,1.792,0,0,1-1.354.464H3.736v2.023Zm13.31,5.21H2.437l-.006-3.815h13.1Zm.759-9.317H14.758v4.106H13.252V9.925H11.718V8.579h4.575Z" transform="translate(0 0)" fill="%23040504"/></g></g></svg>');
20556 display: inline-block;
20557 position: relative;
20558 top: 0.3125rem;
20559 left: -0.2rem;
20560 margin-right: 0.3125rem;
20561 }
20562 .relevant-resources #relevant-resources td a.HTML:before {
20563 content: "";
20564 width: 17px;
20565 height: 17px;
20566 background-repeat: no-repeat;
20567 background-size: contain;
20568 background-image: url('data:image/svg+xml,<svg id="Group_1310" data-name="Group 1310" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.758" height="17.741" viewBox="0 0 17.758 17.741"><defs><clipPath id="clip-path"><rect id="Rectangle_151" data-name="Rectangle 151" width="17.758" height="17.741"/></clipPath></defs><path id="Path_1277" data-name="Path 1277" d="M0,0V17.741H17.757V8.281H15.586v7.3H2.189V2.135H9.3V0Z" transform="translate(0 0)"/><g id="Group_1023" data-name="Group 1023" transform="translate(0 0)"><g id="Group_1022" data-name="Group 1022" clip-path="url(%23clip-path)"><path id="Path_1278" data-name="Path 1278" d="M17.986,11.548,16.363,9.931l7.791-7.756H21.989V.016h5.864V5.867H25.7V3.8l-7.717,7.748" transform="translate(-10.096 -0.01)"/></g></g></svg>');
20569 display: inline-block;
20570 position: relative;
20571 top: 0.3125rem;
20572 left: -0.2rem;
20573 margin-right: 0.3125rem;
20574 }
20575
20576 #relevant-resources_paginate {
20577 margin-top: 30px;
20578 }
20579
20580 .paginate_button {
20581 background-color: transparent;
20582 color: #000;
20583 font-weight: 300;
20584 padding: 5px 10px;
20585 margin: 0px 5px;
20586 cursor: pointer;
20587 text-decoration: none;
20588 }
20589 .paginate_button:hover {
20590 text-decoration: underline;
20591 }
20592 .paginate_button.current {
20593 font-weight: 700;
20594 }
20504 20595
20505 .has-blue-color, 20596 .has-blue-color,
20506 .has-blue-color:visited { 20597 .has-blue-color:visited {
......
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.
...@@ -41,3 +41,4 @@ function wptp_add_tags_to_attachments() { ...@@ -41,3 +41,4 @@ function wptp_add_tags_to_attachments() {
41 } 41 }
42 add_action( 'init' , 'wptp_add_tags_to_attachments' ); 42 add_action( 'init' , 'wptp_add_tags_to_attachments' );
43 43
44
......
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.
This diff could not be displayed because it is too large.
...@@ -23,6 +23,16 @@ if($post_type == 'attachment') { ...@@ -23,6 +23,16 @@ if($post_type == 'attachment') {
23 $target = 'target="_blank"'; 23 $target = 'target="_blank"';
24 24
25 } 25 }
26 $term_list = array();
27 $terms = wp_get_post_terms( $post->ID, 'document-format');
28 if ( !empty( $terms ) && !is_wp_error( $terms ) ){
29
30 foreach ( $terms as $term ) {
31 $term_list = $term->name;
32
33 }
34
35 }
26 ?> 36 ?>
27 37
28 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> 38 <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
...@@ -43,6 +53,7 @@ if($post_type == 'attachment') { ...@@ -43,6 +53,7 @@ if($post_type == 'attachment') {
43 $image = $img; 53 $image = $img;
44 $image_alt = get_field('alt_text', $search_posts[$i]['ID']); 54 $image_alt = get_field('alt_text', $search_posts[$i]['ID']);
45 } 55 }
56
46 ?> 57 ?>
47 <img src='#' data-src="<?= $image ?>" class='lazy' alt='<?= $image_alt ?>' /> 58 <img src='#' data-src="<?= $image ?>" class='lazy' alt='<?= $image_alt ?>' />
48 </div> 59 </div>
...@@ -51,7 +62,7 @@ if($post_type == 'attachment') { ...@@ -51,7 +62,7 @@ if($post_type == 'attachment') {
51 62
52 <header class="entry-header"> 63 <header class="entry-header">
53 64
54 <h2 class="entry-title"><?= the_title() ?></h2> 65 <h2 class="<?php echo $term_list;?>"><?= the_title() ?></h2>
55 66
56 </header><!-- .entry-header --> 67 </header><!-- .entry-header -->
57 68
......
...@@ -2620,6 +2620,14 @@ ...@@ -2620,6 +2620,14 @@
2620 "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==", 2620 "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==",
2621 "dev": true 2621 "dev": true
2622 }, 2622 },
2623 "@types/jquery": {
2624 "version": "3.5.17",
2625 "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.17.tgz",
2626 "integrity": "sha512-U40tNEAGSTZ7R1OC6kGkD7f4TKW5DoVx6jd9kTB9mo5truFMi1m9Yohnw9kl1WpTPvDdj7zAw38LfCHSqnk5kA==",
2627 "requires": {
2628 "@types/sizzle": "*"
2629 }
2630 },
2623 "@types/node": { 2631 "@types/node": {
2624 "version": "20.4.2", 2632 "version": "20.4.2",
2625 "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz", 2633 "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.2.tgz",
...@@ -2632,6 +2640,11 @@ ...@@ -2632,6 +2640,11 @@
2632 "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", 2640 "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
2633 "dev": true 2641 "dev": true
2634 }, 2642 },
2643 "@types/sizzle": {
2644 "version": "2.3.3",
2645 "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz",
2646 "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ=="
2647 },
2635 "abbrev": { 2648 "abbrev": {
2636 "version": "1.1.1", 2649 "version": "1.1.1",
2637 "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 2650 "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
...@@ -3410,6 +3423,32 @@ ...@@ -3410,6 +3423,32 @@
3410 "css-tree": "^1.1.2" 3423 "css-tree": "^1.1.2"
3411 } 3424 }
3412 }, 3425 },
3426 "datatables.net": {
3427 "version": "1.13.6",
3428 "resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.13.6.tgz",
3429 "integrity": "sha512-rHNcnW+yEP9me82/KmRcid5eKrqPqW3+I/p1TwqCW3c/7GRYYkDyF6aJQOQ9DNS/pw+nyr4BVpjyJ3yoZXiFPg==",
3430 "requires": {
3431 "jquery": ">=1.7"
3432 }
3433 },
3434 "datatables.net-dt": {
3435 "version": "1.13.6",
3436 "resolved": "https://registry.npmjs.org/datatables.net-dt/-/datatables.net-dt-1.13.6.tgz",
3437 "integrity": "sha512-0fBsUi8k5e+x5e+xA/Eb5stFr2PIkHgDnbhZs8ZDLvzzL975lCm6sqBAcsTsXKvF7yuBvaDTVBTF4wOMw7PrYw==",
3438 "requires": {
3439 "datatables.net": ">=1.13.4",
3440 "jquery": ">=1.7"
3441 }
3442 },
3443 "datatables.net-plugins": {
3444 "version": "1.13.6",
3445 "resolved": "https://registry.npmjs.org/datatables.net-plugins/-/datatables.net-plugins-1.13.6.tgz",
3446 "integrity": "sha512-CPLH+09OiEAP3PKbZH7u2qcLajgHhy4fBHCdLzjGWJwKbIkhaPu7tby4jZHQXqoolUznbm3TEpJj4eMI1eqcGw==",
3447 "requires": {
3448 "@types/jquery": "^3.5.16",
3449 "datatables.net": "^1.13.2"
3450 }
3451 },
3413 "debug": { 3452 "debug": {
3414 "version": "4.3.4", 3453 "version": "4.3.4",
3415 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 3454 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
...@@ -4323,6 +4362,11 @@ ...@@ -4323,6 +4362,11 @@
4323 "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 4362 "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
4324 "dev": true 4363 "dev": true
4325 }, 4364 },
4365 "jquery": {
4366 "version": "3.7.1",
4367 "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
4368 "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
4369 },
4326 "js-tokens": { 4370 "js-tokens": {
4327 "version": "4.0.0", 4371 "version": "4.0.0",
4328 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 4372 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
......
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
42 }, 42 },
43 "homepage": "https://understrap.com", 43 "homepage": "https://understrap.com",
44 "dependencies": { 44 "dependencies": {
45 "datatables.net-dt": "^1.13.6",
46 "datatables.net-plugins": "^1.13.6",
45 "rollup-plugin-postcss": "^4.0.2", 47 "rollup-plugin-postcss": "^4.0.2",
46 "swiper": "^8.4.2", 48 "swiper": "^8.4.2",
47 "vanilla-lazyload": "^17.8.4" 49 "vanilla-lazyload": "^17.8.4"
......
1 // Add your custom JS here. 1 // Add your custom JS here.
2 import jquery from 'jquery'; 2 import jquery from 'jquery';
3 import LazyLoad from "vanilla-lazyload"; 3 import LazyLoad from "vanilla-lazyload";
4 import DataTable from 'datatables.net-dt';
4 5
5 import "./_menu_mobile"; 6 import "./_menu_mobile";
6 import "./_search"; 7 import "./_search";
...@@ -10,9 +11,11 @@ import "./_image_captionation"; ...@@ -10,9 +11,11 @@ import "./_image_captionation";
10 import "./_carousels"; 11 import "./_carousels";
11 12
12 13
14
13 var myLazyLoad = new LazyLoad(); 15 var myLazyLoad = new LazyLoad();
14 16
15 17
18
16 window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { 19 window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
17 evalType = evalType || "visible"; 20 evalType = evalType || "visible";
18 21
...@@ -29,4 +32,15 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) { ...@@ -29,4 +32,15 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
29 if (evalType === "above") return ((y < (vpH + st))); 32 if (evalType === "above") return ((y < (vpH + st)));
30 }; 33 };
31 34
32 35 jQuery(document).ready(function() {
36 console.log('ready');
37 jQuery('#relevant-resources').dataTable( {
38 info: false,
39 ordering: false,
40 paging: true,
41 bLengthChange: false,
42 bFilter: false,
43 pagingType: "numbers",
44 pageLength: 10
45 } );
46 } );
......
...@@ -302,7 +302,7 @@ blockquote{ ...@@ -302,7 +302,7 @@ blockquote{
302 302
303 303
304 304
305 table:not(.ui-datepicker-calendar) { 305 table:not(.ui-datepicker-calendar):not(#relevant-resources) {
306 margin: 2.5rem 0rem; 306 margin: 2.5rem 0rem;
307 border: 0.25rem solid #fff!important; 307 border: 0.25rem solid #fff!important;
308 background-color: #EAEDF1 !important; 308 background-color: #EAEDF1 !important;
......
...@@ -5,27 +5,46 @@ ...@@ -5,27 +5,46 @@
5 h2{ 5 h2{
6 border-bottom:1px solid #707070; 6 border-bottom:1px solid #707070;
7 } 7 }
8 ul{ 8 #relevant-resources{
9 list-style: none; 9 width: 100%;
10 margin-left: 0px; 10 td{
11 padding-left: 0px;
12 li{
13 border-bottom:1px solid #ccc; 11 border-bottom:1px solid #ccc;
14 margin-left: 0px; 12 margin-left: 0px;
15 padding-left: 0px !important; 13 padding-left: 0px !important;
16 padding-bottom: 25px; 14 padding-bottom: 25px;
17 padding-top: 25px; 15 padding-top: 25px;
16 .rel{
17 display: flex;
18 .photo {
19 max-width: 160px;
20 max-height: 92px;
21 margin-right: 20px;
22 img {
23 object-fit: cover;
24 object-position: center;
25 height: 100%;
26 width: 100%;
27 }
28 }
29 .content{
30
31 }
32 }
18 a{ 33 a{
19 margin-bottom: 20px; 34
20 font-weight: 700; 35 font-weight: 700;
21 text-decoration: none; 36 text-decoration: none;
22 font-size: 16px; 37 font-size: 16px;
23 line-height: 20px; 38 line-height: 20pxs;
24 display: block; 39 display: block;
25 } 40 }
26 a:hover{ 41 a:hover{
27 text-decoration: underline; 42 text-decoration: underline;
28 } 43 }
44 p{
45 margin-top: 15px;
46 padding-bottom: 0px;
47 }
29 a.PDF{ 48 a.PDF{
30 &:before { 49 &:before {
31 content:''; 50 content:'';
...@@ -71,6 +90,58 @@ ...@@ -71,6 +90,58 @@
71 margin-right: 0.3125rem; 90 margin-right: 0.3125rem;
72 } 91 }
73 } 92 }
93 a.PPT{
94 &:before {
95 content:'';
96 width: 17px;
97 height: 20px;
98 background-repeat: no-repeat;
99 background-size: contain;
100 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_308" data-name="Rectangle 308" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1957" data-name="Group 1957" transform="translate(0 0)"><g id="Group_1956" data-name="Group 1956" transform="translate(0 0)" clip-path="url(%23clip-path)"><path id="Path_1523" data-name="Path 1523" d="M5.437,12.6a.576.576,0,0,0,.176-.433.645.645,0,0,0-.153-.435.734.734,0,0,0-.574-.179H4.456v1.216h.37a.872.872,0,0,0,.611-.169" transform="translate(-0.72 -1.868)" fill="%23040504"/><path id="Path_1524" data-name="Path 1524" d="M10.318,11.555v1.216h.369A.876.876,0,0,0,11.3,12.6a.578.578,0,0,0,.175-.433.644.644,0,0,0-.153-.435.736.736,0,0,0-.574-.179Z" transform="translate(-1.668 -1.868)" fill="%23040504"/><path id="Path_1525" data-name="Path 1525" d="M17.855,7.916a1.113,1.113,0,0,0-1.014-.671c-.138,0-.276,0-.414,0h-.093V4.924a.563.563,0,0,0-.153-.4L12.408.225A1.1,1.1,0,0,0,12.33.136.4.4,0,0,0,12.024,0H2.487a.915.915,0,0,0-.34.049A.8.8,0,0,0,1.638.78v6.46a.317.317,0,0,1-.075.006h-.4A1.135,1.135,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.077a.941.941,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.941h.508v4a.846.846,0,0,0,.048.307.788.788,0,0,0,.551.5c.032.008.062.022.094.033h13.3l0,0c.034-.01.068-.023.1-.033a.794.794,0,0,0,.593-.7c.005-.053.005-.107.005-.16v-3.94a.626.626,0,0,1,.08,0h.414a1.132,1.132,0,0,0,1.11-.937,1.482,1.482,0,0,0,.011-.244V8.409a1.1,1.1,0,0,0-.094-.493M2.437.8h9.2v4a.785.785,0,0,0,.005.126.4.4,0,0,0,.385.335h3.5c.021.066.023,1.9,0,1.985H2.437Zm8.835,9.455a1.8,1.8,0,0,1-.444,1.291,1.792,1.792,0,0,1-1.354.464H8.65v2.023H7.139V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239M2.224,14.031V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239,1.8,1.8,0,0,1-.443,1.291,1.792,1.792,0,0,1-1.354.464H3.736v2.023Zm13.31,5.21H2.437l-.006-3.815h13.1Zm.759-9.317H14.758v4.106H13.252V9.925H11.718V8.579h4.575Z" transform="translate(0 0)" fill="%23040504"/></g></g></svg>');
101 display: inline-block;
102 position: relative;
103 top: 0.3125rem;
104 left:-0.2rem;
105 margin-right: 0.3125rem;
106 }
107 }
108 a.HTML{
109 &:before {
110 content:'';
111 width: 17px;
112 height: 17px;
113 background-repeat: no-repeat;
114 background-size: contain;
115 background-image: url('data:image/svg+xml,<svg id="Group_1310" data-name="Group 1310" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.758" height="17.741" viewBox="0 0 17.758 17.741"><defs><clipPath id="clip-path"><rect id="Rectangle_151" data-name="Rectangle 151" width="17.758" height="17.741"/></clipPath></defs><path id="Path_1277" data-name="Path 1277" d="M0,0V17.741H17.757V8.281H15.586v7.3H2.189V2.135H9.3V0Z" transform="translate(0 0)"/><g id="Group_1023" data-name="Group 1023" transform="translate(0 0)"><g id="Group_1022" data-name="Group 1022" clip-path="url(%23clip-path)"><path id="Path_1278" data-name="Path 1278" d="M17.986,11.548,16.363,9.931l7.791-7.756H21.989V.016h5.864V5.867H25.7V3.8l-7.717,7.748" transform="translate(-10.096 -0.01)"/></g></g></svg>');
116 display: inline-block;
117 position: relative;
118 top: 0.3125rem;
119 left:-0.2rem;
120 margin-right: 0.3125rem;
121 }
122 }
74 } 123 }
75 } 124 }
125 }
126
127
128
129
130 #relevant-resources_paginate {
131 margin-top: 30px;
132 }
133 .paginate_button{
134 background-color: transparent;
135 color: #000;
136 font-weight: 300;
137 padding: 5px 10px;
138 margin: 0px 5px;
139 cursor: pointer;
140 text-decoration: none;
141 &:hover{
142 text-decoration: underline;
143 }
144 &.current{
145 font-weight: 700;
146 }
76 } 147 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
41 display: flex; 41 display: flex;
42 42
43 .photo { 43 .photo {
44 min-width: 18.375rem; 44 max-width: 160px;
45 min-height: 12.375rem; 45 max-height: 92px;
46 max-width: 18.375rem; 46 min-width: 160px;
47 max-height: 12.375rem; 47 min-height: 92px;
48 48
49 img { 49 img {
50 object-fit: cover; 50 object-fit: cover;
...@@ -64,15 +64,21 @@ ...@@ -64,15 +64,21 @@
64 @media screen and (max-width: 59.375rem) { 64 @media screen and (max-width: 59.375rem) {
65 flex-direction: column; 65 flex-direction: column;
66 } 66 }
67 h2 {
68 text-decoration: none;
69 font-size: 16px;
70 font-weight: bold;
71 }
67 72
68 &:hover { 73 &:hover {
69 h2.entry-title { 74 h2 {
70 text-decoration: underline; 75 text-decoration: underline;
76 font-size: 16px;
71 } 77 }
72 } 78 }
73 } 79 }
74 a[href$=".pdf"]{ 80
75 h2{ 81 h2.PDF{
76 &:before { 82 &:before {
77 content:''; 83 content:'';
78 width:1.313rem; 84 width:1.313rem;
...@@ -86,10 +92,8 @@ ...@@ -86,10 +92,8 @@
86 margin-right: 0.3125rem; 92 margin-right: 0.3125rem;
87 } 93 }
88 } 94 }
89 } 95
90 a[href$=".doc"], 96 h2.Word{
91 a[href$=".docx"]{
92 h2{
93 &:before { 97 &:before {
94 content:''; 98 content:'';
95 width:1.313rem; 99 width:1.313rem;
...@@ -104,10 +108,9 @@ ...@@ -104,10 +108,9 @@
104 margin-right: 0.3125rem; 108 margin-right: 0.3125rem;
105 } 109 }
106 } 110 }
107 } 111
108 a[href$=".xls"], 112
109 a[href$=".xlsx"]{ 113 h2.Excel{
110 h2{
111 &:before { 114 &:before {
112 content:''; 115 content:'';
113 width:1.313rem; 116 width:1.313rem;
...@@ -122,7 +125,36 @@ ...@@ -122,7 +125,36 @@
122 margin-right: 0.3125rem; 125 margin-right: 0.3125rem;
123 } 126 }
124 } 127 }
125 } 128 h2.PPT{
129 &:before {
130 content:'';
131 width:1.313rem;
132 height:1.5rem;
133 background-repeat: no-repeat;
134 background-size: contain;
135 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.95" height="20.264" viewBox="0 0 17.95 20.264"><defs><clipPath id="clip-path"><rect id="Rectangle_308" data-name="Rectangle 308" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1957" data-name="Group 1957" transform="translate(0 0)"><g id="Group_1956" data-name="Group 1956" transform="translate(0 0)" clip-path="url(%23clip-path)"><path id="Path_1523" data-name="Path 1523" d="M5.437,12.6a.576.576,0,0,0,.176-.433.645.645,0,0,0-.153-.435.734.734,0,0,0-.574-.179H4.456v1.216h.37a.872.872,0,0,0,.611-.169" transform="translate(-0.72 -1.868)" fill="%23040504"/><path id="Path_1524" data-name="Path 1524" d="M10.318,11.555v1.216h.369A.876.876,0,0,0,11.3,12.6a.578.578,0,0,0,.175-.433.644.644,0,0,0-.153-.435.736.736,0,0,0-.574-.179Z" transform="translate(-1.668 -1.868)" fill="%23040504"/><path id="Path_1525" data-name="Path 1525" d="M17.855,7.916a1.113,1.113,0,0,0-1.014-.671c-.138,0-.276,0-.414,0h-.093V4.924a.563.563,0,0,0-.153-.4L12.408.225A1.1,1.1,0,0,0,12.33.136.4.4,0,0,0,12.024,0H2.487a.915.915,0,0,0-.34.049A.8.8,0,0,0,1.638.78v6.46a.317.317,0,0,1-.075.006h-.4A1.135,1.135,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.077a.941.941,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.941h.508v4a.846.846,0,0,0,.048.307.788.788,0,0,0,.551.5c.032.008.062.022.094.033h13.3l0,0c.034-.01.068-.023.1-.033a.794.794,0,0,0,.593-.7c.005-.053.005-.107.005-.16v-3.94a.626.626,0,0,1,.08,0h.414a1.132,1.132,0,0,0,1.11-.937,1.482,1.482,0,0,0,.011-.244V8.409a1.1,1.1,0,0,0-.094-.493M2.437.8h9.2v4a.785.785,0,0,0,.005.126.4.4,0,0,0,.385.335h3.5c.021.066.023,1.9,0,1.985H2.437Zm8.835,9.455a1.8,1.8,0,0,1-.444,1.291,1.792,1.792,0,0,1-1.354.464H8.65v2.023H7.139V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239M2.224,14.031V8.579h2.5a1.6,1.6,0,0,1,1.224.435,1.745,1.745,0,0,1,.407,1.239,1.8,1.8,0,0,1-.443,1.291,1.792,1.792,0,0,1-1.354.464H3.736v2.023Zm13.31,5.21H2.437l-.006-3.815h13.1Zm.759-9.317H14.758v4.106H13.252V9.925H11.718V8.579h4.575Z" transform="translate(0 0)" fill="%23040504"/></g></g></svg>');
136 display: inline-block;
137 position: relative;
138 top: 0.3125rem;
139 left:-0.2rem;
140 margin-right: 0.3125rem;
141 }
142 }
143 h2.HTML{
144 &:before {
145 content:'';
146 width: 17px;
147 height: 17px;
148 background-repeat: no-repeat;
149 background-size: contain;
150 background-image: url('data:image/svg+xml,<svg id="Group_1310" data-name="Group 1310" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17.758" height="17.741" viewBox="0 0 17.758 17.741"><defs><clipPath id="clip-path"><rect id="Rectangle_151" data-name="Rectangle 151" width="17.758" height="17.741"/></clipPath></defs><path id="Path_1277" data-name="Path 1277" d="M0,0V17.741H17.757V8.281H15.586v7.3H2.189V2.135H9.3V0Z" transform="translate(0 0)"/><g id="Group_1023" data-name="Group 1023" transform="translate(0 0)"><g id="Group_1022" data-name="Group 1022" clip-path="url(%23clip-path)"><path id="Path_1278" data-name="Path 1278" d="M17.986,11.548,16.363,9.931l7.791-7.756H21.989V.016h5.864V5.867H25.7V3.8l-7.717,7.748" transform="translate(-10.096 -0.01)"/></g></g></svg>');
151 display: inline-block;
152 position: relative;
153 top: 0.3125rem;
154 left:-0.2rem;
155 margin-right: 0.3125rem;
156 }
157 }
126 158
127 159
128 .entry-header { 160 .entry-header {
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
2 Theme Name: MSF CA Child 2 Theme Name: MSF CA Child
3 Author: Tenzing Communications 3 Author: Tenzing Communications
4 Template: msf-ca 4 Template: msf-ca
5 Version: 1.0.428 5 Version: 1.0.429
6 */ 6 */
......