From 8ff35d5f34d48896cb6d9f9a63ba8d9c9fb251fb Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 27 Nov 2023 15:58:48 -0800 Subject: [PATCH] Use standard button for dialog titlebar close button --- srcjs/stendhal.css | 5 ++++- srcjs/stendhal.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/srcjs/stendhal.css b/srcjs/stendhal.css index 20c966cb65f..0e77c444292 100644 --- a/srcjs/stendhal.css +++ b/srcjs/stendhal.css @@ -329,13 +329,16 @@ div.logcolR { .popuptitleclose, .windowtitleclose { float: right; +} + +.popuptitleclose { border: 1px solid #000000; height: 100%; width: 1.1em; text-align: center; } -.popuptitleclose:hover, .windowtitleclose:hover { +.popuptitleclose:hover { background-color: #ffffff2a; } diff --git a/srcjs/stendhal.html b/srcjs/stendhal.html index 198bcb96ed8..ca9bd967613 100644 --- a/srcjs/stendhal.html +++ b/srcjs/stendhal.html @@ -150,7 +150,7 @@