aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/dailog/Dialog.css
blob: 21ea52fc41a6e6931c2fdf7b52cc003768272e58 (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
.cru-dialog-overlay {
  position: fixed;
  z-index: 1040;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.92);

  display: flex;
  padding: 2em;

  overflow: auto;
}

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

  margin: auto;

  border: var(--cru-primary-color) 1px solid;
  border-radius: 5px;
  padding: 1.5em;
  background-color: white;
}

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