aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/dialog/Dialog.css
blob: e4f52a920b6faad9a6ffb8873dc065c8c0dbfcae (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
.cru-dialog-overlay {
  position: fixed;
  z-index: 1040;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  overflow: auto;
}

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

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

  margin: 2em auto;

  border: var(--cru-theme-color) 2px solid;
  border-radius: 5px;
  padding: 1.5em;
  background-color: var(--cru-dialog-container-background-color);
}

@media (min-width: 576px) {
  .cru-dialog-container {
    max-width: 800px;
  }
}