aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/dialog/Dialog.css
blob: 99e1a5168c2b9ac3a39402916680deb27d2b16bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.cru-dialog-overlay {
  position: fixed;
  z-index: 1040;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  padding: 2em;
  overflow: auto;
}

.cru-dialog-background {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cru-surface-dim-color);
  opacity: 0.8;
}

.cru-dialog-container {
  max-width: 100%;
  min-width: 30vw;

  margin: auto;

  border: var(--cru-key-container-color) 1px solid;
  border-radius: 5px;
  padding: 1.5em;
  background-color: var(--cru-surface-color);
}

.cru-dialog-bottom-area {
  display: flex;
  justify-content: flex-end;
}

.cru-dialog-bottom-area>* {
  margin: 0 0.5em;
}

.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;
}