summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/common/modal.css
blob: 98e2d05eff5960eece58f3d705e8fe1d7580987d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: rgba(0,0,0,0.8);
  display: none;
}
.modal.visible {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal > div {
  background: #338;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}