From 1df04839b8f1321aada77a906481cc9b55db1691 Mon Sep 17 00:00:00 2001 From: Rens Date: Tue, 26 Apr 2022 15:09:47 +0200 Subject: [PATCH] loading overlay and thank you message fonts --- src/assets/css/frontend/themes/fonts.php | 4 +++- src/assets/js/common.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/assets/css/frontend/themes/fonts.php b/src/assets/css/frontend/themes/fonts.php index 1d366707..9e2a1503 100644 --- a/src/assets/css/frontend/themes/fonts.php +++ b/src/assets/css/frontend/themes/fonts.php @@ -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, @@ -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'].";" : "")." diff --git a/src/assets/js/common.js b/src/assets/js/common.js index 4980098a..b00ff179 100644 --- a/src/assets/js/common.js +++ b/src/assets/js/common.js @@ -219,6 +219,7 @@ function SUPERreCaptcha(){ html += ''; 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 = ''+super_common_i18n.loadingOverlay.processing+''; args.loadingOverlay.querySelector('.super-close').innerHTML = ''+super_common_i18n.loadingOverlay.close+''; if(args.showOverlay==="true"){