Commit 46466c8f authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

Further refinements to the dialog

parent b5569da2
Pipeline #2003 passed with stage
in 288 minutes and 36 seconds
......@@ -513,10 +513,18 @@ text {
/* Dialog to ask to save the patch before quitting */
#save_before_quit {
background-color: #f3f3f3;
border:1px solid #bbb;
border:1px solid #f3f3f3;
padding: 12px;
margin: 12px;
box-shadow: 7px 7px 5px grey;
/*box-shadow: 7px 7px 5px grey;*/
left: 50%;
top: 50%;
width: 40%;
transform: translate(-50%, -50%);
}
dialog::backdrop {
background: rgba(0, 0, 0, 0.5);
}
/* Search dialog */
......
......@@ -17,8 +17,9 @@
</button>
</div>
<dialog id="save_before_quit">
<h4>Do you want to save the changes you made before closing the window?
</h4>
<h5 style="text-align: center;">
Do you want to save the changes you made before closing the window?
</h5>
<div class="submit_buttons">
<button type="button"
onClick="ok()"
......
......@@ -55,9 +55,9 @@
<ol></ol>
</div>
<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>?
</h4>
</h5>
<div class="submit_buttons">
<button type="button"
id="yes_button"
......@@ -76,6 +76,8 @@
</button>
</div>
</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="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>
</body>
</html>
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