From ca21cd74277fc7e0eb38b39c35829b469a057a16 Mon Sep 17 00:00:00 2001 From: iigmir Date: Mon, 30 Oct 2023 20:06:32 +0800 Subject: [PATCH] Modal: Close button --- docs/css/tags.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/css/tags.css b/docs/css/tags.css index cb23194..56c3fe1 100644 --- a/docs/css/tags.css +++ b/docs/css/tags.css @@ -47,6 +47,7 @@ { display: block; } +/* Modal: Close button */ .modal .close { width: 2rem; @@ -55,9 +56,14 @@ border: 0; cursor: pointer; background-color: #CF002d; - box-shadow: inset rgba(255, 255, 255, 0.6) 0 0.3em 0.3em, - inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em, - #fa00af 0 0.1em 0.1em, - #610043 0 0.1em 0.05em + box-shadow: inset rgba(255, 255, 255, 0.6) 0 0.3rem 0.3rem, + inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3rem, + #fa00af 0 0.1em 0.1rem, + #610043 0 0.1em 0.05rem ; +} +.modal .close:active +{ + background-color: #9F002d; + box-shadow: inset rgba(255, 255, 255, 0.6) 0 0.3rem 0.3rem, inset rgba(0, 0, 0, 0.15) 0 -0.1rem 0.3rem; } \ No newline at end of file