Fixed MiniPrompt message boxes causing the window to scroll up
authorDan
Tue, 22 Jul 2008 15:07:14 -0500
changeset 652 26ce2694d43f
parent 651 ce9d78d7251d
child 653 3ea1c552e734
Fixed MiniPrompt message boxes causing the window to scroll up
includes/clientside/css/enano-shared.css
includes/clientside/static/messagebox.js
--- a/includes/clientside/css/enano-shared.css	Tue Jul 22 14:49:18 2008 -0500
+++ b/includes/clientside/css/enano-shared.css	Tue Jul 22 15:07:14 2008 -0500
@@ -15,6 +15,10 @@
 div.question-box-mini             { background-image: url(../../../images/mini-question.png); background-position: 5px center; background-repeat: no-repeat; background-color: #F4FFF4; border: 1px solid #406080; padding: 4px 4px 4px 26px; margin: 1em 0; min-height: 17px; }
 div.wait-box-mini                 { background-image: url(../../../images/mini-wait.png);     background-position: 5px center; background-repeat: no-repeat; background-color: #FFF4FF; border: 1px solid #406080; padding: 4px 4px 4px 26px; margin: 1em 0; min-height: 17px; }
 
+a img {
+  border-width: 0;
+}
+
 /* Similar to the Mediawikian alert box (usermessage) */
 
 div.alert {
@@ -773,6 +777,7 @@
   background-color: #f0f0f0;
   cursor: pointer;
   margin: 0 3px;
+  text-decoration: none;
 }
 
 .abutton:hover {
--- a/includes/clientside/static/messagebox.js	Tue Jul 22 14:49:18 2008 -0500
+++ b/includes/clientside/static/messagebox.js	Tue Jul 22 15:07:14 2008 -0500
@@ -550,7 +550,7 @@
           setTimeout(function()
             {
               parms.buttons[0].input.focus();
-            }, 300);
+            }, 1000);
         }
       }
       catch ( e )