summaryrefslogtreecommitdiff
path: root/assets/css/src/modal.css
blob: 6f455f8d07f09d2bd5977ad76ca54a5f1907248c (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
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
    z-index: 100
}

#modal-box {
    position: fixed;
    max-height: calc(100% - 30px);
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    overflow: auto;
    border-radius: 5px
}

#modal-content {
    padding: 0 5px 5px
}

#modal-header {
    text-align: right;
    padding-right: 5px
}

#modal-close-button {
    color: var(--color-primary);
}

#modal-close-button:hover {
    color: var(--color-error);
}