morty
56 строк · 1002.0 Байт
1.modal-overlay {
2position: fixed;
3top: 0;
4left: 0;
5width: 100%;
6height: 100%;
7background-color: rgba(0, 0, 0, 0.5);
8z-index: 9999;
9display: flex;
10justify-content: center;
11align-items: center;
12
13.modal {
14width: 200px;
15height: 200px;
16background-color: white;
17padding: 20px;
18border-radius: 5px;
19box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
20}
21
22.modal-content {
23position: relative;
24
25.modal-info {
26height: 200px;
27display: flex;
28flex-direction: column;
29justify-content: center;
30align-items: center;
31gap: 40px;
32}
33
34.more {
35font-size: 14px;
36padding: 5px 10px 5px 10px;
37border-radius: 5px;
38border: none;
39background-color: #ffff32;
40cursor: pointer;
41color: #000;
42transition: all 0.2s;
43
44&:hover {
45box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
46}
47}
48}
49
50.close {
51position: absolute;
52top: -10px;
53right: 0;
54cursor: pointer;
55}
56}
57