a4a124ac by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 453f6102
......@@ -17688,14 +17688,24 @@ p {
font-size: 1.25rem;
line-height: 1.5625rem;
}
.entry-content h1 + p, .entry-content .h1 + p {
font-size: 16px;
line-height: 20px;
font-weight: bold;
}
.entry-content p + ul {
margin-top: 0.938rem !important;
}
.entry-content ul:not(.side-menu):not(.children) {
padding-left: 2rem;
}
.entry-content ul:not(.side-menu):not(.children) li {
color: #4D4D4D;
margin-bottom: 0.5rem;
padding: 0.1875rem 0 0.125rem 0.625rem;
margin-top: 0.313rem;
}
.entry-content ul:not(.side-menu):not(.children) li ul:not(.side-menu):not(.children) {
list-style: none;
margin-top: 0.5rem;
margin-top: 0.313rem;
}
.entry-content ul:not(.side-menu):not(.children) li ul:not(.side-menu):not(.children) li:before {
content: "-";
......@@ -17705,10 +17715,12 @@ p {
width: 1.5em;
margin-left: -1.5em;
}
.entry-content ol {
padding-left: 2rem;
}
.entry-content ol li {
color: #4D4D4D;
margin-bottom: 0.5rem;
padding: 0.1875rem 0 0.125rem 0.625rem;
margin-top: 0.313rem;
}
.entry-content .wp-block-pullquote {
padding: 2em 0;
......@@ -17851,6 +17863,7 @@ p {
z-index: 99;
padding: 0.625rem 1.25rem;
background-color: #fff;
transition: 4s ease-in-out;
}
@media only screen and (max-width: 48.875rem) {
.badge {
......@@ -17889,12 +17902,19 @@ p {
top: 0.125rem;
}
}
.badge .badge_content {
width: 0px;
height: 0px;
overflow: hidden;
transition: 1s ease-in-out;
max-width: 16.875rem;
}
.badge p {
width: 16.875rem;
font-size: 0.875rem;
line-height: 1.125rem;
font-weight: normal;
color: #000000;
display: none;
text-align: left;
word-wrap: break-word;
word-wrap: break-word;
......@@ -17929,11 +17949,10 @@ p {
top: 0.25rem;
}
}
.badge:hover p {
max-width: 16.875rem;
.badge:hover .badge_content {
width: auto;
height: auto;
display: block;
overflow: hidden;
}
table:not(.ui-datepicker-calendar):not(#relevant-resources) {
......@@ -19805,7 +19824,7 @@ ul.sf_date_field .sf-datepicker {
We're overriding the page structure global for this because this
was seen to be different than usual blocks on page #49 in accordion section
*/
padding-bottom: 0.969rem;
padding-bottom: 10px;
border-bottom: #BEBEBE solid 0.0625rem;
}
.wp-block-pb-accordion-item.first-accordion {
......@@ -19972,6 +19991,7 @@ ul.sf_date_field .sf-datepicker {
display: inline-block;
width: unset;
border-radius: 2.5rem !important;
font-weight: bold;
}
@media screen and (max-width: 48rem) {
.call-out-block a {
......@@ -20677,6 +20697,7 @@ ul.sf_date_field .sf-datepicker {
margin-bottom: 0px;
padding-bottom: 0px;
text-decoration: none;
word-break: break-all;
}
.relevant-resources #relevant-resources td .rel a.PDF h3:before, .relevant-resources #relevant-resources td .rel a.PDF .h3:before {
content: "";
......
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.
......@@ -26225,7 +26225,7 @@
if (evalType === "visible") return y < vpH + st && y > st - elementHeight;
if (evalType === "above") return y < vpH + st;
};
jQuery(document).ready(function () {
jQuery(document).ready(function ($) {
console.log('ready');
jQuery('#relevant-resources').dataTable({
info: false,
......@@ -26236,6 +26236,12 @@
pagingType: "numbers",
pageLength: 10
});
$('#relevant-resources').on('page.dt', function () {
console.log('page');
$('html, body, #page').animate({
scrollTop: $("#relevant-resources").offset().top - 250
}, 100);
});
});
document.addEventListener('wpcf7mailsent', function (event) {
jQuery('.appArea.responsive').hide();
......
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.
......@@ -22,7 +22,7 @@ $badge = get_field('badge');
<div class="entry-content">
<?php if($badge){
$badge_content = get_field('badge_content');
echo "<div class='badge'><div class='badge-title'>".$badge_content['badge_label']."</div><p>".$badge_content['badge_text']."</p></div>";
echo "<div class='badge'><div class='badge-title'>".$badge_content['badge_label']."</div><div class='badge_content'><p>".$badge_content['badge_text']."</p></div></div>";
}?>
......
......@@ -32,7 +32,7 @@ window.tz_checkVisible = function(elm, evalType , offset, heightBuffer) {
if (evalType === "above") return ((y < (vpH + st)));
};
jQuery(document).ready(function() {
jQuery(document).ready(function($) {
console.log('ready');
jQuery('#relevant-resources').dataTable( {
info: false,
......@@ -43,9 +43,17 @@ jQuery(document).ready(function() {
pagingType: "numbers",
pageLength: 10
} );
} );
$('#relevant-resources').on( 'page.dt', function () {
console.log('page');
$('html, body, #page').animate({
scrollTop: $("#relevant-resources").offset().top - 250
}, 100);
});
} );
......
......@@ -10,7 +10,7 @@
//This should be the default when it's closed as seen on page #49
padding-bottom:0.969rem;
padding-bottom:10px;
&.is-open {
//This was seen to be the correct spacing in page #49 in the accordion with the download cards
......
......@@ -57,7 +57,7 @@
display: inline-block;
width: unset;
border-radius: 2.5rem !important;
font-weight: bold;
@media screen and (max-width: 48rem) {
font-size: 1rem;
padding: 0.9375rem 1.875rem;
......
......@@ -49,15 +49,22 @@ h4 {
font-size: 1.25rem;
line-height: 1.5625rem;
}
h1+p{
font-size: 16px;
line-height: 20px;
font-weight: bold;
}
p + ul{
margin-top:.938rem !important;
}
ul:not(.side-menu):not(.children){
padding-left: 2rem;
li{
color: #4D4D4D;
margin-bottom: 0.5rem;
padding: 0.1875rem 0 0.125rem 0.625rem;
margin-top: 0.313rem;
ul:not(.side-menu):not(.children){
list-style: none;
margin-top: 0.5rem;
margin-top: 0.313rem;
li:before{
content: "-";
color: #4D4D4D;
......@@ -71,10 +78,10 @@ ul:not(.side-menu):not(.children){
}
ol{
padding-left: 2rem;
li{
color: #4D4D4D;
margin-bottom: 0.5rem;
padding: 0.1875rem 0 0.125rem 0.625rem;
margin-top: 0.313rem;
}
}
......@@ -223,6 +230,7 @@ blockquote{
z-index: 99;
padding: 0.625rem 1.25rem;
background-color: #fff;
transition: 4s ease-in-out;
@media only screen and (max-width: 48.875rem) {
padding: 0.625rem 1.25rem;
}
......@@ -254,12 +262,19 @@ blockquote{
}
}
}
.badge_content{
width: 0px;
height: 0px;
overflow: hidden;
transition: 1s ease-in-out;
max-width: 16.875rem;
}
p{
width: 16.875rem;
font-size: 0.875rem;
line-height: 1.125rem;
font-weight: normal;
color: #000000;
display: none;
text-align: left;
word-wrap: break-word;
word-wrap: break-word;
......@@ -276,7 +291,7 @@ blockquote{
padding: 0.625rem 1.25rem;
}
.badge-title{
display:block;
display: block;
@media only screen and (max-width: 48.875rem) {
font-size:1rem;
line-height: 1.875rem;
......@@ -289,15 +304,12 @@ blockquote{
}
}
}
p{
max-width: 16.875rem;
.badge_content{
width: auto;
height: auto;
display: block;
overflow: hidden;
}
}
......
......@@ -62,6 +62,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
text-decoration: none;
word-break: break-all;
}
a.PDF h3 {
&:before {
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.447
Version: 1.0.448
*/
......