1
1
:local(.modal-backdrop ) {
2
- background : rgba (0 ,0 , 0 , 0.51 );
2
+ background : rgba (0 , 0 , 0 , 0.51 );
3
3
position : fixed ;
4
4
top : 0 ;
5
5
left : 0 ;
9
9
align-items : center ;
10
10
justify-content : center ;
11
11
box-sizing : border-box ;
12
- }
12
+ }
13
13
14
- :local(.animation ) {
14
+ :local(.animation ) {
15
15
opacity : 0 ;
16
16
transition : opacity 0.3s ;
17
- }
18
-
19
- :local(.modal ) {
20
- display : none ;
17
+ }
18
+
19
+ :local(.titleWrapper ) {
20
+ display : flex ;
21
+ width : 100% ;
22
+ position : relative ;
21
23
padding : 2% ;
22
- padding-bottom : 1% ;
23
- box-shadow : 1px 1px 5px rgba (0 ,0 ,0 ,0.5 );
24
+ box-sizing : border-box ;
25
+ hr {
26
+ border : none ;
27
+ position : absolute ;
28
+ left : 0 ;
29
+ width : 100% ;
30
+ background-color : #888282ab ;
31
+ bottom : 0 ;
32
+ height : 1px ;
33
+ margin-bottom : 0 ;
34
+ }
35
+ }
36
+
37
+ :local(.modal ) {
38
+ display : none ;
39
+ box-shadow : 1px 1px 5px rgba (0 , 0 , 0 , 0.5 );
24
40
background : white ;
25
41
width : 50% ;
26
- top : calc (30 vh + 2em );
42
+ top : calc (20 vh + 2em );
27
43
height : fit-content ;
28
44
position : fixed ;
29
45
flex-flow : column ;
30
46
box-sizing : border-box ;
31
-
47
+ border-radius : 0.3em ;
48
+ font-variant-ligatures : none ;
49
+ -webkit-font-variant-ligatures : none ;
50
+ text-rendering : optimizeLegibility ;
51
+ -moz-osx-font-smoothing : grayscale ;
52
+ font-smooth : antialiased ;
53
+ -webkit-font-smoothing : antialiased ;
54
+ text-shadow : rgba (0 , 0 , 0 , .01 ) 0 0 1px ;
32
55
:local (.modal-title ) {
33
56
padding : 1% 0% ;
34
57
font-weight : bold ;
35
58
box-sizing : border-box ;
59
+ width : 80% ;
60
+ text-overflow : ellipsis ;
61
+ overflow-x : hidden ;
62
+ white-space : nowrap ;
63
+ display : inline-block ;
64
+ text-align : start ;
65
+
66
+ @media only screen and (max-width : 500px ) {
67
+ padding : 3% ;
68
+ }
36
69
}
37
-
38
70
:local(.modal-body ) {
39
71
box-sizing : border-box ;
72
+ padding : 2% ;
73
+ text-align : left ;
74
+ @media only screen and (max-width : 768px ) {
75
+ padding : 3% ;
76
+ }
77
+ @media only screen and (max-width :500px ) {
78
+ padding : 5% ;
79
+ line-height : 1.4em ;
80
+ }
40
81
}
41
-
42
82
:local(.modal-footer ) {
43
83
width : 100% ;
44
84
padding : 1% 2% ;
45
85
box-sizing : border-box ;
86
+ @media only screen and (max-width : 768px ) {
87
+ padding : 2% 3% ;
88
+ }
89
+ }
90
+ }
91
+
92
+ :local(.d-block-modal ) {
93
+ display : flex ;
94
+ animation : anim 0.3s linear ;
95
+ @keyframes anim {
96
+ 0% {
97
+ opacity : 0 ;
98
+ -webkit-transform : scale (0.1 );
99
+ -moz-transform : scale (0.1 );
100
+ -ms-transform : scale (0.1 );
101
+ transform : scale (0.1 );
102
+ }
103
+ 100% {
104
+ opacity : 1 ;
105
+ -webkit-transform : scale (1 );
106
+ -moz-transform : scale (1 );
107
+ -ms-transform : scale (1 );
108
+ transform : scale (1 );
109
+ }
46
110
}
47
111
}
48
112
49
113
:local(.d-block ) {
50
114
display : flex ;
51
115
animation : fadein 0.3s linear ;
52
116
@keyframes fadein {
53
- 0% { opacity : 0 ; }
54
- 100% { opacity : 1 ; }
117
+ 0% {
118
+ opacity : 0 ;
119
+ }
120
+ 100% {
121
+ opacity : 1 ;
122
+ }
55
123
}
56
124
}
57
125
60
128
}
61
129
62
130
:local(.close ) {
131
+ display : flex ;
63
132
width : fit-content ;
133
+ height : fit-content ;
64
134
position : absolute ;
65
- right : 0.6em ;
66
- top : 0.6em ;
135
+ font-size : 20px ;
136
+ color : #1f1e1eab ;
137
+ right : 1em ;
138
+ align-items : center ;
139
+ align-self : center ;
67
140
cursor : pointer ;
68
- font-size : 0.7rem ;
69
- background-color : black ;
70
- color : white ;
71
141
}
72
142
73
143
@media only screen and (max-width : 992px ) {
74
- :local (.modal ) {
75
- width : 75% ;
76
- }
144
+ :local (.modal ) {
145
+ width : 75% ;
146
+ }
77
147
}
0 commit comments