Skip to content

Commit

Permalink
Centring the working and saving messages cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
jegelstaff committed Nov 2, 2024
1 parent 78d891e commit 74c1624
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion modules/formulize/include/entriesdisplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -4391,7 +4391,7 @@ function formulize_gatherDataSet($settings, $searches, $sort, $order, $frid, $fi
if($useWorking) {
// working message
global $xoopsConfig;
print "<div id=workingmessage style=\"display: none; position: fixed; right: 45%; top: 45%; text-align: center; padding-top: 50px; z-index: 100;\">\n";
print "<div id=workingmessage style=\"display: none;\">\n";
if ( file_exists(XOOPS_ROOT_PATH."/modules/formulize/images/working-".$xoopsConfig['language'].".gif") ) {
print "<img src=\"" . XOOPS_URL . "/modules/formulize/images/working-" . $xoopsConfig['language'] . ".gif\">\n";
} else {
Expand Down
12 changes: 6 additions & 6 deletions themes/Anari/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -688,13 +688,13 @@ div.list-of-entries .card__body {
}
}

#savingmessage {
position: fixed;
#savingmessage,
#workingmessage {
z-index: 100;
padding-top: 2.5em;
max-width: 700px;
width: 100%;
justify-content: center;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}


Expand Down
2 changes: 1 addition & 1 deletion themes/Anari/theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="icon" type="image/png" href="<{$icms_imageurl}>icons/icon.png" />

<!-- CSS -->
<link rel="stylesheet" type="text/css" media="all" href="<{$icms_imageurl}><{if $icms_rtl}>rtl/<{/if}>css/style.css?v=1.5" />
<link rel="stylesheet" type="text/css" media="all" href="<{$icms_imageurl}><{if $icms_rtl}>rtl/<{/if}>css/style.css?v=1.6" />

<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>

Expand Down

0 comments on commit 74c1624

Please sign in to comment.