]> matita.cs.unibo.it Git - helm.git/commitdiff
More changes to matitaweb dialog boxes.
authorWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 22 Jun 2011 12:52:55 +0000 (12:52 +0000)
committerWilmer Ricciotti <ricciott@cs.unibo.it>
Wed, 22 Jun 2011 12:52:55 +0000 (12:52 +0000)
matitaB/matita/index.html
matitaB/matita/matitaweb.css

index 05742fe6c48189590846bbd09611a6d8262f089e..fa5b27918151ba7ce493f4eaa8748884a70b9322 100644 (file)
@@ -23,7 +23,7 @@
           <A href="javascript:gotoBottom()"><IMG src="icons/bottom.png" 
                                                   id="bottom" alt="Bottom" title="Execute the whole script."></A>
        <INPUT type="TEXT" id="filename" value=""><INPUT type="BUTTON" value="Open" ONCLICK="openFile()"></p>
-          <INPUT type="BUTTON" value="show dialog" id="showdialog" ONCLICK="showDialog()">
+          <INPUT type="BUTTON" value="show dialog" id="showdialog" ONCLICK="showDialog('Dialog Test')">
 <!--      <INPUT type="BUTTON" value="show sequent" id="showseq" ONCLICK="showSequent()">
           <INPUT type="BUTTON" value="hide sequent" id="hideseq" ONCLICK="hideSequent()">
           <INPUT type="BUTTON" value="selection test" id="hideseq" ONCLICK="test()"> -->
@@ -57,7 +57,7 @@
 </table>
 
 <div class="dialog" id="dialogBox" style="display: none;">
-  <p id="dialogTitle">Title</p>
+  <div class="diaTitle" id="dialogTitle">Title</p>
   <div class="scroll"></div>
 </div>
  </body>
index 91e5b5479ed8458c1fae321b6ea933944200db29..2605df9aa185d6037e6704929dd84d786ae1b5bc 100644 (file)
@@ -7,9 +7,19 @@ div.dialog {
        margin-top: -150px; /*set to a negative number 1/2 of your height*/
        margin-left: -200px; /*set to a negative number 1/2 of your width*/
        border: 1px solid #ccc;
+       padding: 3px;
        background-color: #f3f3f3;
 }
 
+div.diaTitle {
+       display: block;
+       margin-left: auto;
+       margin-right: auto;
+       width: 394px;
+       background-color: #007fff;
+       color: white;
+}
+
 div.scroll {
        border: 1px;
        border-style:solid;