Commit df8a0eb4 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'dialog-n-annotation'

parents 98f347e8 46466c8f
...@@ -526,12 +526,13 @@ text { ...@@ -526,12 +526,13 @@ text {
/* Dialog to ask to save the patch before quitting */ /* Dialog to ask to save the patch before quitting */
#save_before_quit { #save_before_quit {
background-color: #f3f3f3; background-color: #f3f3f3;
border:1px solid #000; border:1px solid #f3f3f3;
padding: 12px; padding: 12px;
margin: 12px; margin: 12px;
/*box-shadow: 7px 7px 5px grey;*/ /*box-shadow: 7px 7px 5px grey;*/
left: 50%; left: 50%;
top: 50%; top: 50%;
width: 40%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
......
...@@ -17,8 +17,9 @@ ...@@ -17,8 +17,9 @@
</button> </button>
</div> </div>
<dialog id="save_before_quit"> <dialog id="save_before_quit">
<h4>Do you want to save the changes you made before closing the window? <h5 style="text-align: center;">
</h4> Do you want to save the changes you made before closing the window?
</h5>
<div class="submit_buttons"> <div class="submit_buttons">
<button type="button" <button type="button"
onClick="ok()" onClick="ok()"
......
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
<ol></ol> <ol></ol>
</div> </div>
<dialog id="save_before_quit"> <dialog id="save_before_quit">
<h4><span data-i18n="canvas.save_dialog.prompt"></span> <h5 style="text-align: center;"><span data-i18n="canvas.save_dialog.prompt"></span>
<span id="save_before_quit_filename"></span>? <span id="save_before_quit_filename"></span>?
</h4> </h5>
<div class="submit_buttons"> <div class="submit_buttons">
<button type="button" <button type="button"
id="yes_button" id="yes_button"
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</button> </button>
</div> </div>
</dialog> </dialog>
<div id="hscroll" style="background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"></div> <div id="hscroll" style="background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"></div>
<div id="vscroll" style="background-color: #00000044; position: fixed; right: 2px; top: 2px; border-radius: 0px; width: 5px; height: 10px; visibility: hidden;"></div> <div id="vscroll" style="background-color: #00000044; position: fixed; right: 2px; top: 2px; border-radius: 0px; width: 5px; height: 10px; visibility: hidden;"></div>
<script type="text/javascript" src="./pd_canvas.js"></script> <script type="text/javascript" src="./pd_canvas.js"></script>
</body> </body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment