63de5caa by Jeff Balicki

relevant-resources

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 9b37e185
1 <?php
2
3 /**
4 * Relevant Resources Block Template.
5 *
6 * @param array $block The block settings and attributes.
7 * @param string $content The block inner HTML (empty).
8 * @param bool $is_preview True during AJAX preview.
9 * @param (int|string) $post_id The post ID this block is saved to.
10 */
11
12 // Create id attribute allowing for custom "anchor" value.
13 $id = 'relevant-resources-' . $block['id'];
14 if( !empty($block['anchor']) ) {
15 $id = $block['anchor'];
16 }
17
18 // Create class attribute allowing for custom "className" and "align" values.
19 $className = 'relevant-resources';
20
21
22 if( !empty($block['className']) ) {
23 $className .= ' ' . $block['className'];
24 }
25 if( !empty($block['align']) ) {
26 $className .= ' align' . $block['align'];
27 }
28 if( $is_preview ) {
29 $className .= ' is-admin';
30 }
31 $categoryID = get_field( "categories" );
32 $title = get_field( "title" );
33
34 ?>
35 <div id="<?php echo esc_attr($id); ?>" class="<?php echo esc_attr($className); ?> ">
36 <h2><?php echo $title; ?></h2>
37 <?php $args = array(
38 'post_type' => 'attachment',
39 'posts_per_page' => -1,
40 'tax_query' => array(
41 array(
42 'taxonomy' => 'categories',
43 'terms' => $categoryID, // term id
44 'field' => 'term_id',
45 )
46 )
47
48 );
49 if($categoryID == ""){
50 $args = array(
51 'post_type' => 'attachment',
52 'posts_per_page' => -1,
53 );
54 }
55
56 $attachments = get_posts($args);
57
58 $args = array(
59 'post_type' => 'documents',
60 'posts_per_page' => -1,
61 'tax_query' => array(
62 array(
63 'taxonomy' => 'categories',
64 'terms' => $categoryID, // term id
65 'field' => 'term_id',
66 )
67 )
68 );
69 if($categoryID == ""){
70 $args = array(
71 'post_type' => 'documents',
72 'posts_per_page' => -1,
73 );
74 }
75
76 $documents = get_posts($args);
77 $posts = array_merge($documents, $attachments);
78 echo '<ul>';
79 foreach($posts as $post ) {
80 $post_type = get_post_type( $post->ID );
81 $link = wp_get_attachment_url( $post->ID );
82 $description = get_post_meta($post->ID, 'description', true );
83 $terms = wp_get_post_terms( $post->ID, 'document-format');
84 if ( !empty( $terms ) && !is_wp_error( $terms ) ){
85
86 foreach ( $terms as $term ) {
87 $term_list = $term->name;
88
89 }
90
91 }
92 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>';
94
95 };
96 echo '</ul>';
97 ?>
98 </div>
99
...@@ -20431,6 +20431,77 @@ ul.sf_date_field .sf-datepicker { ...@@ -20431,6 +20431,77 @@ ul.sf_date_field .sf-datepicker {
20431 margin-left: -150%; 20431 margin-left: -150%;
20432 } 20432 }
20433 20433
20434 .relevant-resources {
20435 background-color: #F0F0F0;
20436 border-radius: 10px;
20437 padding: 30px;
20438 }
20439 .relevant-resources h2, .relevant-resources .h2 {
20440 border-bottom: 1px solid #707070;
20441 }
20442 .relevant-resources ul {
20443 list-style: none;
20444 margin-left: 0px;
20445 padding-left: 0px;
20446 }
20447 .relevant-resources ul li {
20448 border-bottom: 1px solid #ccc;
20449 margin-left: 0px;
20450 padding-left: 0px !important;
20451 padding-bottom: 25px;
20452 padding-top: 25px;
20453 }
20454 .relevant-resources ul li a {
20455 margin-bottom: 20px;
20456 font-weight: 700;
20457 text-decoration: none;
20458 font-size: 16px;
20459 line-height: 20px;
20460 display: block;
20461 }
20462 .relevant-resources ul li a:hover {
20463 text-decoration: underline;
20464 }
20465 .relevant-resources ul li a.PDF:before {
20466 content: "";
20467 width: 17px;
20468 height: 20px;
20469 background-repeat: no-repeat;
20470 background-image: url("data:image/svg+xml,%3Csvg id='Group_1127' data-name='Group 1127' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.409' height='24.169' viewBox='0 0 21.409 24.169'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_180' data-name='Rectangle 180' width='21.409' height='24.169' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1126' data-name='Group 1126' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1363' data-name='Path 1363' d='M18.646 24.169H2.779c-.037-.013-.074-.029-.112-.039a.943.943 0 0 1-.657-.6 1.009 1.009 0 0 1-.057-.365q0-2.321 0-4.641V18.39H1.84c-.164 0-.329 0-.493 0A1.354 1.354 0 0 1 .038 17.265.992.992 0 0 0 0 17.141V9.892a.757.757 0 0 0 .035-.114A1.352 1.352 0 0 1 1.392 8.64c.158 0 .315 0 .473 0 .026 0 .052 0 .088-.007V1.079c0-.05 0-.1 0-.151a.952.952 0 0 1 .609-.87A1.084 1.084 0 0 1 2.967 0H14.343a.468.468 0 0 1 .366.161c.032.034.063.07.094.105Q17.05 2.834 19.3 5.4a.667.667 0 0 1 .183.473c0 .03 0 .06 0 .091V8.64h.111c.164 0 .329-.005.493 0a1.326 1.326 0 0 1 1.21.8 1.294 1.294 0 0 1 .112.587q0 2.034 0 4.067 0 1.445 0 2.889a1.732 1.732 0 0 1-.013.291 1.351 1.351 0 0 1-1.323 1.118c-.164 0-.329 0-.493 0-.029 0-.058 0-.095.005v.137q0 2.285 0 4.571c0 .064 0 .128-.007.191a.947.947 0 0 1-.707.835c-.042.011-.082.026-.124.04M2.906.95V8.635H18.52c.023-.106.019-2.289 0-2.369H14.451c-.037 0-.074 0-.111 0a.475.475 0 0 1-.459-.4.952.952 0 0 1-.006-.151q0-2.316 0-4.631V.95Zm0 22H18.528V18.4H2.9Zm5.376-5.727c.041.007.073.014.106.017.274.023.548.051.822.066a11.306 11.306 0 0 0 1.769-.021A5.79 5.79 0 0 0 12.311 17a3.08 3.08 0 0 0 1.978-1.948 4.442 4.442 0 0 0 .159-2.361 2.9 2.9 0 0 0-.577-1.281 3.15 3.15 0 0 0-1.6-1.051 5.884 5.884 0 0 0-1.619-.222 15.609 15.609 0 0 0-1.93.083c-.149.016-.3.039-.447.06ZM3.764 14.73a4.907 4.907 0 0 0 .945.015 3.685 3.685 0 0 0 1.162-.262 2.171 2.171 0 0 0 .976-.749 2.344 2.344 0 0 0 .384-1.706 1.96 1.96 0 0 0-1.308-1.654 3.711 3.711 0 0 0-1.249-.234 14.1 14.1 0 0 0-2.249.1c-.082.01-.163.027-.241.04v6.974H3.764ZM19.9 10.192c-.156-.022-4.245-.014-4.314.006v7.051c.133.019 1.517.014 1.6-.007V15.364q0-.237 0-.473c0-.156 0-.313 0-.477h1.695c.141 0 .282 0 .423 0s.279.006.416 0v-1.3H17.2c-.021-.19-.012-1.539.012-1.62H19.9Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cpath id='Path_1364' data-name='Path 1364' d='M162.156 186.274c.116-.015.228-.033.341-.042a3.327 3.327 0 0 1 1.129.076 1.818 1.818 0 0 1 1.39 1.425 3.261 3.261 0 0 1-.092 1.835 1.922 1.922 0 0 1-1.422 1.283 3.15 3.15 0 0 1-.848.088c-.164 0-.328-.011-.5-.016Z' transform='translate(-152.266 -174.859)' fill='%231a1818'/%3E%3Cpath id='Path_1365' data-name='Path 1365' d='M61.758 188.026v-2.1c.042-.009.083-.022.125-.027a2.629 2.629 0 0 1 1.038.028 1.092 1.092 0 0 1 .378.181.894.894 0 0 1 .346.582 1.233 1.233 0 0 1-.006.46 1.045 1.045 0 0 1-.786.829 2.131 2.131 0 0 1-.757.073c-.11-.006-.22-.019-.338-.03' transform='translate(-57.991 -174.529)' fill='%231a1818'/%3E%3C/g%3E%3C/svg%3E");
20471 background-size: contain;
20472 display: inline-block;
20473 position: relative;
20474 top: 0.3125rem;
20475 left: -0.2rem;
20476 margin-right: 0.3125rem;
20477 }
20478 .relevant-resources ul li a.Word:before {
20479 content: "";
20480 width: 17px;
20481 height: 20px;
20482 background-repeat: no-repeat;
20483 background-image: url('data:image/svg+xml,<svg id="Group_1918" data-name="Group 1918" 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_268" data-name="Rectangle 268" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1918-2" data-name="Group 1918" clip-path="url(%23clip-path)"><path id="Path_1519" data-name="Path 1519" d="M64.535,186.442l.166.008.118,0a1.607,1.607,0,0,0,.761-.162,1.293,1.293,0,0,0,.481-.43,1.73,1.73,0,0,0,.248-.619,3.63,3.63,0,0,0,.071-.722,3.436,3.436,0,0,0-.063-.651,1.633,1.633,0,0,0-.233-.588,1.313,1.313,0,0,0-.462-.426,1.488,1.488,0,0,0-.742-.166q-.174,0-.351.008a2.153,2.153,0,0,0-.264.024v3.7a.621.621,0,0,0,.106.012l.162.008" transform="translate(-60.981 -173.349)" fill="%231a1818"/><path id="Path_1520" data-name="Path 1520" d="M163.9,182.626a1.089,1.089,0,0,0-.371-.406,1.11,1.11,0,0,0-1.452.316,2.608,2.608,0,0,0-.316,1.448,3.882,3.882,0,0,0,.071.769,1.983,1.983,0,0,0,.217.6,1.1,1.1,0,0,0,.375.394,1.011,1.011,0,0,0,.544.142,1.026,1.026,0,0,0,.892-.45,2.6,2.6,0,0,0,.316-1.46,3.958,3.958,0,0,0-.067-.749,2.092,2.092,0,0,0-.209-.607" transform="translate(-153.494 -172.763)" fill="%231a1818"/><path id="Path_1521" data-name="Path 1521" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.559.559,0,0,0-.154-.4Q14.293,2.378,12.41.223c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.907.907,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.238c-.03,0-.052.006-.074.006-.132,0-.264,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.078a.835.835,0,0,1,.032.1,1.136,1.136,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.79.79,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.035-.011.069-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.452,1.452,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M2.437.8h9.2V.905q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986H2.437ZM11.823,11.22a3.273,3.273,0,0,1-.611,2.126,2.113,2.113,0,0,1-1.732.746,2.453,2.453,0,0,1-1.041-.205,1.913,1.913,0,0,1-.73-.584,2.591,2.591,0,0,1-.43-.907,4.529,4.529,0,0,1-.142-1.176,3.287,3.287,0,0,1,.608-2.126,2.11,2.11,0,0,1,1.736-.745,2.434,2.434,0,0,1,1.034.205,1.948,1.948,0,0,1,.734.584,2.553,2.553,0,0,1,.434.907,4.53,4.53,0,0,1,.142,1.175M2.206,13.989V8.459q.166-.024.375-.039T3.01,8.4q.221-.008.43-.012t.375,0a3.424,3.424,0,0,1,1.254.205,2.135,2.135,0,0,1,.844.576,2.311,2.311,0,0,1,.473.884,4.013,4.013,0,0,1,.15,1.128,4.087,4.087,0,0,1-.142,1.081,2.445,2.445,0,0,1-.473.923,2.373,2.373,0,0,1-.872.647,3.241,3.241,0,0,1-1.337.245q-.126,0-.335-.008t-.434-.02l-.43-.024q-.205-.012-.308-.028m13.329,5.253H2.435V15.424h13.1Zm.158-5.229a4.067,4.067,0,0,1-.8.078,2.869,2.869,0,0,1-.943-.154,2.016,2.016,0,0,1-.785-.5,2.443,2.443,0,0,1-.54-.892,3.875,3.875,0,0,1-.2-1.329,3.6,3.6,0,0,1,.225-1.361,2.469,2.469,0,0,1,.584-.884,2.155,2.155,0,0,1,.8-.481,2.8,2.8,0,0,1,.884-.146,4.316,4.316,0,0,1,.8.063,2.935,2.935,0,0,1,.54.15l-.213.915a1.569,1.569,0,0,0-.43-.126,3.935,3.935,0,0,0-.6-.039,1.317,1.317,0,0,0-1.053.466,2.193,2.193,0,0,0-.4,1.447,2.994,2.994,0,0,0,.095.779,1.676,1.676,0,0,0,.288.6,1.327,1.327,0,0,0,.481.387,1.523,1.523,0,0,0,.667.138,2.178,2.178,0,0,0,.6-.071,1.758,1.758,0,0,0,.426-.181l.221.878a1.656,1.656,0,0,1-.643.258" fill="%231a1818"/></g></svg>');
20484 background-size: contain;
20485 display: inline-block;
20486 position: relative;
20487 top: 0.3125rem;
20488 left: -0.2rem;
20489 margin-right: 0.3125rem;
20490 }
20491 .relevant-resources ul li a.Excel:before {
20492 content: "";
20493 width: 17px;
20494 height: 20px;
20495 background-repeat: no-repeat;
20496 background-size: contain;
20497 background-image: url('data:image/svg+xml,<svg id="Group_1924" data-name="Group 1924" 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_269" data-name="Rectangle 269" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1924-2" data-name="Group 1924" clip-path="url(%23clip-path)"><path id="Path_1522" data-name="Path 1522" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.56.56,0,0,0-.154-.4Q14.293,2.377,12.41.222c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.909.909,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.237c-.03,0-.052.006-.073.006-.132,0-.265,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.628.628,0,0,1-.03.1v6.078a.824.824,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.791.791,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.034-.011.068-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.447,1.447,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M15.534,19.241H2.435V15.423h13.1ZM2.6,8.458H3.9l.852,1.594.189.56.181-.56.891-1.594H7.188L5.594,11.117,7.267,13.98H5.981l-.97-1.7L4.8,11.693l-.205.584-.978,1.7H2.438l1.7-2.809Zm8.725,4.56v.962H7.827V8.458H8.908v4.56Zm2.757-.931a2.045,2.045,0,0,0-.465-.288q-.28-.13-.607-.268a3.1,3.1,0,0,1-.607-.339,1.726,1.726,0,0,1-.465-.5,1.433,1.433,0,0,1-.185-.765,1.678,1.678,0,0,1,.134-.7,1.31,1.31,0,0,1,.383-.493,1.646,1.646,0,0,1,.588-.292,2.816,2.816,0,0,1,.757-.095,4.75,4.75,0,0,1,.907.083,2.308,2.308,0,0,1,.7.241l-.339.907a1.9,1.9,0,0,0-.521-.2,2.961,2.961,0,0,0-.749-.091.959.959,0,0,0-.58.15.476.476,0,0,0-.2.4.5.5,0,0,0,.185.394,2.138,2.138,0,0,0,.466.292q.28.134.607.276a3.263,3.263,0,0,1,.607.343,1.752,1.752,0,0,1,.465.5,1.366,1.366,0,0,1,.185.738,1.821,1.821,0,0,1-.146.761,1.444,1.444,0,0,1-.41.533,1.735,1.735,0,0,1-.639.316,3.122,3.122,0,0,1-.824.1,4.392,4.392,0,0,1-1.041-.111,3.18,3.18,0,0,1-.663-.221l.347-.923a2.123,2.123,0,0,0,.225.1,2.866,2.866,0,0,0,.312.1,3.571,3.571,0,0,0,.367.079,2.466,2.466,0,0,0,.4.032,1.389,1.389,0,0,0,.738-.162.543.543,0,0,0,.256-.493.514.514,0,0,0-.185-.41m1.449-4.848H2.437V.8h9.2V.9q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986" transform="translate(0 0.001)" fill="%231a1818"/></g></svg>');
20498 display: inline-block;
20499 position: relative;
20500 top: 0.3125rem;
20501 left: -0.2rem;
20502 margin-right: 0.3125rem;
20503 }
20504
20434 .has-blue-color, 20505 .has-blue-color,
20435 .has-blue-color:visited { 20506 .has-blue-color:visited {
20436 color: #0d6efd; 20507 color: #0d6efd;
......
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.
...@@ -66,5 +66,16 @@ if( function_exists('acf_add_options_page') ) { ...@@ -66,5 +66,16 @@ if( function_exists('acf_add_options_page') ) {
66 'customClassName' => true 66 'customClassName' => true
67 ] 67 ]
68 )); 68 ));
69 acf_register_block_type( array(
70 'title' => __( 'Relevant Resources', 'client_textdomain' ),
71 'name' => 'relevant-resources',
72 'render_template' => 'blocks/relevant-resources/relevant-resources.php',
73 'mode' => 'edit',
74 'supports' => [
75 'align' => false,
76 'anchor' => true,
77 'customClassName' => true
78 ]
79 ));
69 80
70 } 81 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -40,3 +40,4 @@ function wptp_add_tags_to_attachments() { ...@@ -40,3 +40,4 @@ function wptp_add_tags_to_attachments() {
40 register_taxonomy_for_object_type( 'post_tag', 'attachment' ); 40 register_taxonomy_for_object_type( 'post_tag', 'attachment' );
41 } 41 }
42 add_action( 'init' , 'wptp_add_tags_to_attachments' ); 42 add_action( 'init' , 'wptp_add_tags_to_attachments' );
43
......
...@@ -20,4 +20,5 @@ body{ ...@@ -20,4 +20,5 @@ body{
20 @import "project_lead"; 20 @import "project_lead";
21 @import "carousel"; 21 @import "carousel";
22 @import "pojo_a11"; 22 @import "pojo_a11";
23 @import "text_size_increased";
...\ No newline at end of file ...\ No newline at end of file
23 @import "text_size_increased";
24 @import "relevant_resources";
...\ No newline at end of file ...\ No newline at end of file
......
1 .relevant-resources{
2 background-color: #F0F0F0;
3 border-radius: 10px;
4 padding: 30px;
5 h2{
6 border-bottom:1px solid #707070;
7 }
8 ul{
9 list-style: none;
10 margin-left: 0px;
11 padding-left: 0px;
12 li{
13 border-bottom:1px solid #ccc;
14 margin-left: 0px;
15 padding-left: 0px !important;
16 padding-bottom: 25px;
17 padding-top: 25px;
18 a{
19 margin-bottom: 20px;
20 font-weight: 700;
21 text-decoration: none;
22 font-size: 16px;
23 line-height: 20px;
24 display: block;
25 }
26 a:hover{
27 text-decoration: underline;
28 }
29 a.PDF{
30 &:before {
31 content:'';
32 width: 17px;
33 height: 20px;
34 background-repeat: no-repeat;
35 background-image: url("data:image/svg+xml,%3Csvg id='Group_1127' data-name='Group 1127' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.409' height='24.169' viewBox='0 0 21.409 24.169'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_180' data-name='Rectangle 180' width='21.409' height='24.169' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_1126' data-name='Group 1126' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1363' data-name='Path 1363' d='M18.646 24.169H2.779c-.037-.013-.074-.029-.112-.039a.943.943 0 0 1-.657-.6 1.009 1.009 0 0 1-.057-.365q0-2.321 0-4.641V18.39H1.84c-.164 0-.329 0-.493 0A1.354 1.354 0 0 1 .038 17.265.992.992 0 0 0 0 17.141V9.892a.757.757 0 0 0 .035-.114A1.352 1.352 0 0 1 1.392 8.64c.158 0 .315 0 .473 0 .026 0 .052 0 .088-.007V1.079c0-.05 0-.1 0-.151a.952.952 0 0 1 .609-.87A1.084 1.084 0 0 1 2.967 0H14.343a.468.468 0 0 1 .366.161c.032.034.063.07.094.105Q17.05 2.834 19.3 5.4a.667.667 0 0 1 .183.473c0 .03 0 .06 0 .091V8.64h.111c.164 0 .329-.005.493 0a1.326 1.326 0 0 1 1.21.8 1.294 1.294 0 0 1 .112.587q0 2.034 0 4.067 0 1.445 0 2.889a1.732 1.732 0 0 1-.013.291 1.351 1.351 0 0 1-1.323 1.118c-.164 0-.329 0-.493 0-.029 0-.058 0-.095.005v.137q0 2.285 0 4.571c0 .064 0 .128-.007.191a.947.947 0 0 1-.707.835c-.042.011-.082.026-.124.04M2.906.95V8.635H18.52c.023-.106.019-2.289 0-2.369H14.451c-.037 0-.074 0-.111 0a.475.475 0 0 1-.459-.4.952.952 0 0 1-.006-.151q0-2.316 0-4.631V.95Zm0 22H18.528V18.4H2.9Zm5.376-5.727c.041.007.073.014.106.017.274.023.548.051.822.066a11.306 11.306 0 0 0 1.769-.021A5.79 5.79 0 0 0 12.311 17a3.08 3.08 0 0 0 1.978-1.948 4.442 4.442 0 0 0 .159-2.361 2.9 2.9 0 0 0-.577-1.281 3.15 3.15 0 0 0-1.6-1.051 5.884 5.884 0 0 0-1.619-.222 15.609 15.609 0 0 0-1.93.083c-.149.016-.3.039-.447.06ZM3.764 14.73a4.907 4.907 0 0 0 .945.015 3.685 3.685 0 0 0 1.162-.262 2.171 2.171 0 0 0 .976-.749 2.344 2.344 0 0 0 .384-1.706 1.96 1.96 0 0 0-1.308-1.654 3.711 3.711 0 0 0-1.249-.234 14.1 14.1 0 0 0-2.249.1c-.082.01-.163.027-.241.04v6.974H3.764ZM19.9 10.192c-.156-.022-4.245-.014-4.314.006v7.051c.133.019 1.517.014 1.6-.007V15.364q0-.237 0-.473c0-.156 0-.313 0-.477h1.695c.141 0 .282 0 .423 0s.279.006.416 0v-1.3H17.2c-.021-.19-.012-1.539.012-1.62H19.9Z' transform='translate(0 0)' fill='%231a1818'/%3E%3Cpath id='Path_1364' data-name='Path 1364' d='M162.156 186.274c.116-.015.228-.033.341-.042a3.327 3.327 0 0 1 1.129.076 1.818 1.818 0 0 1 1.39 1.425 3.261 3.261 0 0 1-.092 1.835 1.922 1.922 0 0 1-1.422 1.283 3.15 3.15 0 0 1-.848.088c-.164 0-.328-.011-.5-.016Z' transform='translate(-152.266 -174.859)' fill='%231a1818'/%3E%3Cpath id='Path_1365' data-name='Path 1365' d='M61.758 188.026v-2.1c.042-.009.083-.022.125-.027a2.629 2.629 0 0 1 1.038.028 1.092 1.092 0 0 1 .378.181.894.894 0 0 1 .346.582 1.233 1.233 0 0 1-.006.46 1.045 1.045 0 0 1-.786.829 2.131 2.131 0 0 1-.757.073c-.11-.006-.22-.019-.338-.03' transform='translate(-57.991 -174.529)' fill='%231a1818'/%3E%3C/g%3E%3C/svg%3E");
36 background-size: contain;
37 display: inline-block;
38 position: relative;
39 top: 0.3125rem;
40 left:-0.2rem;
41 margin-right: 0.3125rem;
42 }
43 }
44 a.Word{
45 &:before {
46 content:'';
47 width: 17px;
48 height: 20px;
49 background-repeat: no-repeat;
50 background-image: url('data:image/svg+xml,<svg id="Group_1918" data-name="Group 1918" 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_268" data-name="Rectangle 268" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1918-2" data-name="Group 1918" clip-path="url(%23clip-path)"><path id="Path_1519" data-name="Path 1519" d="M64.535,186.442l.166.008.118,0a1.607,1.607,0,0,0,.761-.162,1.293,1.293,0,0,0,.481-.43,1.73,1.73,0,0,0,.248-.619,3.63,3.63,0,0,0,.071-.722,3.436,3.436,0,0,0-.063-.651,1.633,1.633,0,0,0-.233-.588,1.313,1.313,0,0,0-.462-.426,1.488,1.488,0,0,0-.742-.166q-.174,0-.351.008a2.153,2.153,0,0,0-.264.024v3.7a.621.621,0,0,0,.106.012l.162.008" transform="translate(-60.981 -173.349)" fill="%231a1818"/><path id="Path_1520" data-name="Path 1520" d="M163.9,182.626a1.089,1.089,0,0,0-.371-.406,1.11,1.11,0,0,0-1.452.316,2.608,2.608,0,0,0-.316,1.448,3.882,3.882,0,0,0,.071.769,1.983,1.983,0,0,0,.217.6,1.1,1.1,0,0,0,.375.394,1.011,1.011,0,0,0,.544.142,1.026,1.026,0,0,0,.892-.45,2.6,2.6,0,0,0,.316-1.46,3.958,3.958,0,0,0-.067-.749,2.092,2.092,0,0,0-.209-.607" transform="translate(-153.494 -172.763)" fill="%231a1818"/><path id="Path_1521" data-name="Path 1521" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.559.559,0,0,0-.154-.4Q14.293,2.378,12.41.223c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.907.907,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.238c-.03,0-.052.006-.074.006-.132,0-.264,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.633.633,0,0,1-.03.1v6.078a.835.835,0,0,1,.032.1,1.136,1.136,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.79.79,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.035-.011.069-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.452,1.452,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M2.437.8h9.2V.905q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986H2.437ZM11.823,11.22a3.273,3.273,0,0,1-.611,2.126,2.113,2.113,0,0,1-1.732.746,2.453,2.453,0,0,1-1.041-.205,1.913,1.913,0,0,1-.73-.584,2.591,2.591,0,0,1-.43-.907,4.529,4.529,0,0,1-.142-1.176,3.287,3.287,0,0,1,.608-2.126,2.11,2.11,0,0,1,1.736-.745,2.434,2.434,0,0,1,1.034.205,1.948,1.948,0,0,1,.734.584,2.553,2.553,0,0,1,.434.907,4.53,4.53,0,0,1,.142,1.175M2.206,13.989V8.459q.166-.024.375-.039T3.01,8.4q.221-.008.43-.012t.375,0a3.424,3.424,0,0,1,1.254.205,2.135,2.135,0,0,1,.844.576,2.311,2.311,0,0,1,.473.884,4.013,4.013,0,0,1,.15,1.128,4.087,4.087,0,0,1-.142,1.081,2.445,2.445,0,0,1-.473.923,2.373,2.373,0,0,1-.872.647,3.241,3.241,0,0,1-1.337.245q-.126,0-.335-.008t-.434-.02l-.43-.024q-.205-.012-.308-.028m13.329,5.253H2.435V15.424h13.1Zm.158-5.229a4.067,4.067,0,0,1-.8.078,2.869,2.869,0,0,1-.943-.154,2.016,2.016,0,0,1-.785-.5,2.443,2.443,0,0,1-.54-.892,3.875,3.875,0,0,1-.2-1.329,3.6,3.6,0,0,1,.225-1.361,2.469,2.469,0,0,1,.584-.884,2.155,2.155,0,0,1,.8-.481,2.8,2.8,0,0,1,.884-.146,4.316,4.316,0,0,1,.8.063,2.935,2.935,0,0,1,.54.15l-.213.915a1.569,1.569,0,0,0-.43-.126,3.935,3.935,0,0,0-.6-.039,1.317,1.317,0,0,0-1.053.466,2.193,2.193,0,0,0-.4,1.447,2.994,2.994,0,0,0,.095.779,1.676,1.676,0,0,0,.288.6,1.327,1.327,0,0,0,.481.387,1.523,1.523,0,0,0,.667.138,2.178,2.178,0,0,0,.6-.071,1.758,1.758,0,0,0,.426-.181l.221.878a1.656,1.656,0,0,1-.643.258" fill="%231a1818"/></g></svg>');
51 background-size: contain;
52 display: inline-block;
53 position: relative;
54 top: 0.3125rem;
55 left:-0.2rem;
56 margin-right: 0.3125rem;
57 }
58 }
59 a.Excel{
60 &:before {
61 content:'';
62 width: 17px;
63 height: 20px;
64 background-repeat: no-repeat;
65 background-size: contain;
66 background-image: url('data:image/svg+xml,<svg id="Group_1924" data-name="Group 1924" 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_269" data-name="Rectangle 269" width="17.95" height="20.264" fill="none"/></clipPath></defs><g id="Group_1924-2" data-name="Group 1924" clip-path="url(%23clip-path)"><path id="Path_1522" data-name="Path 1522" d="M17.95,8.4a1.085,1.085,0,0,0-.094-.492,1.112,1.112,0,0,0-1.014-.667c-.138-.006-.276,0-.414,0h-.093V5c0-.025,0-.051,0-.076a.56.56,0,0,0-.154-.4Q14.293,2.377,12.41.222c-.026-.03-.051-.06-.078-.088A.392.392,0,0,0,12.025,0H2.487a.909.909,0,0,0-.34.049.8.8,0,0,0-.51.729c0,.042,0,.084,0,.127V7.237c-.03,0-.052.006-.073.006-.132,0-.265,0-.4,0A1.134,1.134,0,0,0,.03,8.2a.628.628,0,0,1-.03.1v6.078a.824.824,0,0,1,.032.1,1.135,1.135,0,0,0,1.1.942c.138,0,.276,0,.414,0h.094v.113q0,1.946,0,3.891a.845.845,0,0,0,.048.306.791.791,0,0,0,.551.5c.032.009.063.022.094.033h13.3c.034-.011.068-.024.1-.033a.794.794,0,0,0,.593-.7c0-.053.006-.107.006-.16q0-1.916,0-3.832v-.115c.03,0,.055,0,.079,0h.414a1.132,1.132,0,0,0,1.11-.937,1.447,1.447,0,0,0,.011-.244q0-1.211,0-2.423,0-1.705,0-3.41M15.534,19.241H2.435V15.423h13.1ZM2.6,8.458H3.9l.852,1.594.189.56.181-.56.891-1.594H7.188L5.594,11.117,7.267,13.98H5.981l-.97-1.7L4.8,11.693l-.205.584-.978,1.7H2.438l1.7-2.809Zm8.725,4.56v.962H7.827V8.458H8.908v4.56Zm2.757-.931a2.045,2.045,0,0,0-.465-.288q-.28-.13-.607-.268a3.1,3.1,0,0,1-.607-.339,1.726,1.726,0,0,1-.465-.5,1.433,1.433,0,0,1-.185-.765,1.678,1.678,0,0,1,.134-.7,1.31,1.31,0,0,1,.383-.493,1.646,1.646,0,0,1,.588-.292,2.816,2.816,0,0,1,.757-.095,4.75,4.75,0,0,1,.907.083,2.308,2.308,0,0,1,.7.241l-.339.907a1.9,1.9,0,0,0-.521-.2,2.961,2.961,0,0,0-.749-.091.959.959,0,0,0-.58.15.476.476,0,0,0-.2.4.5.5,0,0,0,.185.394,2.138,2.138,0,0,0,.466.292q.28.134.607.276a3.263,3.263,0,0,1,.607.343,1.752,1.752,0,0,1,.465.5,1.366,1.366,0,0,1,.185.738,1.821,1.821,0,0,1-.146.761,1.444,1.444,0,0,1-.41.533,1.735,1.735,0,0,1-.639.316,3.122,3.122,0,0,1-.824.1,4.392,4.392,0,0,1-1.041-.111,3.18,3.18,0,0,1-.663-.221l.347-.923a2.123,2.123,0,0,0,.225.1,2.866,2.866,0,0,0,.312.1,3.571,3.571,0,0,0,.367.079,2.466,2.466,0,0,0,.4.032,1.389,1.389,0,0,0,.738-.162.543.543,0,0,0,.256-.493.514.514,0,0,0-.185-.41m1.449-4.848H2.437V.8h9.2V.9q0,1.941,0,3.883a.792.792,0,0,0,.005.126.4.4,0,0,0,.385.339c.031,0,.062,0,.093,0h3.407c.02.067.024,1.9,0,1.986" transform="translate(0 0.001)" fill="%231a1818"/></g></svg>');
67 display: inline-block;
68 position: relative;
69 top: 0.3125rem;
70 left:-0.2rem;
71 margin-right: 0.3125rem;
72 }
73 }
74 }
75 }
76 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -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.427 5 Version: 1.0.428
6 */ 6 */
......