This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new cb0a14a  no jira: more improvements to CallForLogo
cb0a14a is described below

commit cb0a14a57be53d1f2b47c132a007225f016cf7df
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Tue Oct 13 20:57:23 2020 +0700

    no jira: more improvements to CallForLogo
---
 .../src/site/resources/css/site.css                |  12 ++++++------
 .../site/resources/images/logos/logo_om_big1.png   | Bin 157386 -> 138025 bytes
 .../site/resources/images/logos/logo_om_small1.png | Bin 51232 -> 49733 bytes
 openmeetings-server/src/site/xdoc/CallForLogo.xml  |  11 ++++-------
 4 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/openmeetings-server/src/site/resources/css/site.css 
b/openmeetings-server/src/site/resources/css/site.css
index 24a3a57..29052c3 100644
--- a/openmeetings-server/src/site/resources/css/site.css
+++ b/openmeetings-server/src/site/resources/css/site.css
@@ -33,7 +33,7 @@ iframe {
        background-repeat: no-repeat;
        background-image: url('../images/logos/pb.png');
        background-position: 0 0;
-       background-size: 200px 200px;
+       background-size: 200px;
        width: 200px;
        height: 200px;
        position: relative;
@@ -41,12 +41,12 @@ iframe {
 .powered-preview-logo {
        background-repeat: no-repeat;
        background-position: 0 0;
-       background-size: 70px 70px;
+       background-size: 130px;
        position: absolute;
-       height: 70px;
-       width: 70px;
-       top: 65px;
-       left: 65px;
+       height: 130px;
+       width: 130px;
+       top: 37px;
+       left: 37px;
 }
 .example-image-link {
        display: block;
diff --git 
a/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png 
b/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png
index 20c595e..a4c3129 100644
Binary files 
a/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png and 
b/openmeetings-server/src/site/resources/images/logos/logo_om_big1.png differ
diff --git 
a/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png 
b/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png
index 7691c99..af1c022 100644
Binary files 
a/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png and 
b/openmeetings-server/src/site/resources/images/logos/logo_om_small1.png differ
diff --git a/openmeetings-server/src/site/xdoc/CallForLogo.xml 
b/openmeetings-server/src/site/xdoc/CallForLogo.xml
index 2355443..7e37b94 100644
--- a/openmeetings-server/src/site/xdoc/CallForLogo.xml
+++ b/openmeetings-server/src/site/xdoc/CallForLogo.xml
@@ -37,9 +37,11 @@
                                Please send your logos and opinions to <a 
href="mailing-lists.html">user@ mail list</a> (you need to subscribe first)<br/>
                                Thanks in advance :)
                        </p>
+                       <div id="before-preview"></div>
                </section>
                <section name="Preview">
                        <div class="powered-preview">
+                               <div class='powered-preview-logo'></div>
                        </div>
                </section>
                <section name="Logos">
@@ -310,15 +312,10 @@
                                        $(window).scrollTop(0);
                                }
                                function applyLogoSmall() {
-                                       var pp = $('.powered-preview');
-                                       var l = 
pp.children('.powered-preview-logo');
-                                       if (!l.length) {
-                                               l = $("<div 
class='powered-preview-logo'></div>");
-                                               pp.append(l);
-                                       }
+                                       var l = $('.powered-preview 
.powered-preview-logo');
                                        var ib = 
$(this).closest('table').find('.logo-square');
                                        l.css('background-image', 'url(' + 
ib.attr('src') + ')');
-                                       $('#_toc_preview')[0].scrollIntoView();
+                                       
$('#before-preview')[0].scrollIntoView();
                                }
                                document.addEventListener("DOMContentLoaded", 
function() {
                                        $('.btn-logo-big').click(applyLogoBig);

Reply via email to