Skip to content

Commit

Permalink
loading overlay and thank you message fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
RensTillmann committed Apr 26, 2022
1 parent 18aedbd commit 1df0483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assets/css/frontend/themes/fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
".$s.".super-toggle-on,
".$s.".super-color,
".$s.".super-fileupload-button,
".$s.".super-msg,
".$s.".super-error-msg,
".$s.".super-empty-error-msg,
".$s.".super-wp-tag-count,
Expand All @@ -40,7 +41,8 @@
".$s.".super-slider .amount,
".$s.".super-int-phone_country,
".$s.".super-int-phone_selected-dial-code,
".$s.".super-adaptive-placeholder {
".$s.".super-adaptive-placeholder,
.super-loading-overlay-".$form_id." {
".(!empty($v['font_global_family']) ? "font-family: ".$v['font_global_family'].";" : "")."
".(!empty($v['font_global_size']) ? "font-size: ".$v['font_global_size']."px;" : "")."
".(!empty($v['font_global_weight']) ? "font-weight: ".$v['font_global_weight'].";" : "")."
Expand Down
1 change: 1 addition & 0 deletions src/assets/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ function SUPERreCaptcha(){
html += '</div>';
args.loadingOverlay.innerHTML = html;
args.loadingOverlay.classList.add('super-loading-overlay');
args.loadingOverlay.classList.add('super-loading-overlay-'+args.form_id);
args.loadingOverlay.querySelector('.super-inner-text').innerHTML = '<span>'+super_common_i18n.loadingOverlay.processing+'</span>';
args.loadingOverlay.querySelector('.super-close').innerHTML = '<span>'+super_common_i18n.loadingOverlay.close+'</span>';
if(args.showOverlay==="true"){
Expand Down

0 comments on commit 1df0483

Please sign in to comment.