-
Notifications
You must be signed in to change notification settings - Fork 0
/
HBcaoPopup.css
62 lines (54 loc) · 1.15 KB
/
HBcaoPopup.css
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.popup-box {
outline: none;
border: none;
padding: 0;
margin: 0;
background: unset;
opacity: 0;
-webkit-transition: opacity 2s ease-in;
-o-transition: opacity 2s ease-in;
transition: opacity .3s ease-in;
}
.popup-box[open] {
opacity: 1;
}
.popup-box .popup {
width: 400px;
position: fixed;
overflow: hidden;
background-color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
padding: 0;
}
.popup-box .popup>.popup-title-box {
position: relative;
width: 100%;
height: 55px;
cursor: move;
}
.popup-box .popup>.popup-title-box .popup-title {
padding-left: 14px;
line-height: 55px;
font-weight: bold;
user-select: none;
}
.popup-box .popup>.popup-title-box .popup-close-btn {
position: absolute;
top: 12px;
right: 20px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.popup-box .popup>.popup-title-box .popup-close-btn:hover {
opacity: .8;
}
.popup-box .popup>.popup-title-box .popup-close-btn svg {
width: 20px;
height: 20px;
}
.popup-box .popup>.popup-content {
width: calc(100% - 40px);
padding: 20px;
}