From 10bf84c9f08b9648a176ad6f5239442bc071cf73 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Wed, 17 Jun 2020 17:24:47 -0400 Subject: [PATCH] Fixed centering of the closing prompt, removed shadow and increased opacity of the background dimming. --- pd/nw/css/default.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css index ea5ea5da9..8434f4f56 100644 --- a/pd/nw/css/default.css +++ b/pd/nw/css/default.css @@ -513,10 +513,17 @@ text { /* Dialog to ask to save the patch before quitting */ #save_before_quit { background-color: #f3f3f3; - border:1px solid #bbb; + border:1px solid #000; padding: 12px; margin: 12px; - box-shadow: 7px 7px 5px grey; + /*box-shadow: 7px 7px 5px grey;*/ + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} + +dialog::backdrop { + background: rgba(0, 0, 0, 0.5); } /* Search dialog */ -- GitLab