From 85e62b4ad386c3addb10e51bbbf39957a136475f Mon Sep 17 00:00:00 2001 From: Kakune55 Date: Fri, 10 Nov 2023 16:33:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20popup.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Web/popup.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/Web/popup.css diff --git a/src/Web/popup.css b/src/Web/popup.css new file mode 100644 index 0000000..fed8e77 --- /dev/null +++ b/src/Web/popup.css @@ -0,0 +1,47 @@ +#popup-container { + position: fixed; + top: 0; + right: -100%; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); +} + +#popup { + position: absolute; + top: 0; + right: 0; + height: 100%; + width: 20%; + min-width: 150px; + min-width: 200px; + background: white; + padding: 20px; +} + +.hidden { + display: none; +} + +#close-popup { + position: absolute; + top: 10px; + right: 10px; +} + +#dropdown { + margin: auto; + width: 80%; /* 让