summaryrefslogtreecommitdiff
path: root/src/components/shared/BaseModal.module.scss
blob: 1d206e18e0ea6267fc466d5ebf62adfe28e1e410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.overlay {
  background-color: rgba(0, 0, 0, 0.6);
}
.cnt {
  position: absolute;
  background-color: var(--bg-modal);
  color: var(--color-text);
  line-height: 1.4;
  opacity: 0.6;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 4px, rgba(0, 0, 0, 0.24) 0px 16px 32px;
}
.afterOpen {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}