summaryrefslogtreecommitdiff
path: root/src/components/ModalCloseAllConnections.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-12-01 22:41:59 +0800
committerHaishan <[email protected]>2019-12-01 22:41:59 +0800
commit8b5ecb3f1839808d5e88f635d286fcfdfffd4f86 (patch)
treefbbaef42b57a1fe3cb244103ccbb58915e631c66 /src/components/ModalCloseAllConnections.module.css
parent19ecf435de90800fe284e3333b3a4957d600f410 (diff)
feat: support close all connections
for https://github.com/haishanh/yacd/issues/338
Diffstat (limited to 'src/components/ModalCloseAllConnections.module.css')
-rw-r--r--src/components/ModalCloseAllConnections.module.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/ModalCloseAllConnections.module.css b/src/components/ModalCloseAllConnections.module.css
new file mode 100644
index 0000000..f3b54c1
--- /dev/null
+++ b/src/components/ModalCloseAllConnections.module.css
@@ -0,0 +1,23 @@
+.overlay {
+ background-color: rgba(0, 0, 0, 0.6);
+}
+.cnt {
+ background-color: var(--bg-modal);
+ color: var(--color-text);
+ max-width: 300px;
+ line-height: 1.4;
+ transform: translate(-50%, -50%) scale(1.5);
+ opacity: 0.6;
+ transition: all 0.3s ease;
+}
+.afterOpen {
+ opacity: 1;
+ transform: translate(-50%, -50%) scale(1);
+}
+
+.btngrp {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-top: 30px;
+}