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 if ( !empty( $terms ) && !is_wp_error( $terms ) ){ 84 $imgid =$post->ID;
85 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();
92 if ( !empty( $terms ) && !is_wp_error( $terms ) ){
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
......
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;
74 } 121 }
75 } 122 }
123 }
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,6 +125,35 @@ ...@@ -122,6 +125,35 @@
122 margin-right: 0.3125rem; 125 margin-right: 0.3125rem;
123 } 126 }
124 } 127 }
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 }
125 } 157 }
126 158
127 159
......
...@@ -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 */
......