aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/dialog/Dialog.css
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-30 00:34:47 +0800
committercrupest <crupest@outlook.com>2023-08-30 00:34:47 +0800
commit5c624ecb5c7e33039d9f14dbce099e4874efb23b (patch)
treec6d92dd30aaf210a293f13dff4d4424832442f7f /FrontEnd/src/components/dialog/Dialog.css
parentd65dcebc3ed64c96c70f0ee7f228b4dfe79b28a1 (diff)
downloadtimeline-5c624ecb5c7e33039d9f14dbce099e4874efb23b.tar.gz
timeline-5c624ecb5c7e33039d9f14dbce099e4874efb23b.tar.bz2
timeline-5c624ecb5c7e33039d9f14dbce099e4874efb23b.zip
...
Diffstat (limited to 'FrontEnd/src/components/dialog/Dialog.css')
-rw-r--r--FrontEnd/src/components/dialog/Dialog.css24
1 files changed, 2 insertions, 22 deletions
diff --git a/FrontEnd/src/components/dialog/Dialog.css b/FrontEnd/src/components/dialog/Dialog.css
index f25309ae..e4f52a92 100644
--- a/FrontEnd/src/components/dialog/Dialog.css
+++ b/FrontEnd/src/components/dialog/Dialog.css
@@ -27,34 +27,14 @@
margin: 2em auto;
- border: var(--cru-dialog-container-background-color) 1px solid;
+ border: var(--cru-theme-color) 2px solid;
border-radius: 5px;
padding: 1.5em;
- background-color: var(--cru-surface-color);
+ background-color: var(--cru-dialog-container-background-color);
}
@media (min-width: 576px) {
.cru-dialog-container {
max-width: 800px;
}
-}
-
-.cru-dialog-enter .cru-dialog-container {
- transform: scale(0, 0);
- opacity: 0;
- transform-origin: center;
-}
-
-.cru-dialog-enter-active .cru-dialog-container {
- transform: scale(1, 1);
- opacity: 1;
- transition: transform 0.3s, opacity 0.3s;
- transform-origin: center;
-}
-
-.cru-dialog-exit-active .cru-dialog-container {
- transition: transform 0.3s, opacity 0.3s;
- transform: scale(0, 0);
- opacity: 0;
- transform-origin: center;
} \ No newline at end of file