File tree Expand file tree Collapse file tree 1 file changed +34
-15
lines changed
Expand file tree Collapse file tree 1 file changed +34
-15
lines changed Original file line number Diff line number Diff line change 262262 width : 100% ;
263263 border : none;
264264 }
265- .info-box {
266- display : none; /* Hidden by default */
267- position : absolute;
268- top : 100% ; /* Positioned directly below the "i" icon */
269- left : 50% ;
270- transform : translateX (-50% ); /* Centers the box relative to the "i" icon */
271- background-color : # fff ;
272- border : 1px solid # ccc ;
273- padding : 10px ;
274- max-width : 300px ;
275- box-shadow : 0px 4px 6px rgba (0 , 0 , 0 , 0.1 );
276- z-index : 1000 ;
277- white-space : normal;
278- border-radius : 8px ; /* Smooth rounded corners */
265+ .download-container {
266+ position : relative; /* Ensures positioning context for the info box */
279267}
280268
281269.info-icon {
285273 color : # 0073e6 ;
286274 margin-left : 5px ;
287275 padding : 5px ;
288- border-radius : 50% ; /* Circular icon */
276+ border-radius : 50% ; /* Makes the icon circular */
289277 background-color : # f1f1f1 ; /* Light gray background for contrast */
290278 display : inline-flex;
291279 justify-content : center;
301289 background-color : # 0073e6 ;
302290 color : white;
303291}
292+
293+ .info-box {
294+ display : none; /* Hidden by default */
295+ position : absolute;
296+ top : 100% ; /* Positioned directly below the "i" icon */
297+ left : 50% ;
298+ transform : translateX (-50% ); /* Centers the box relative to the "i" icon */
299+ background-color : # fff ;
300+ border : 1px solid # ccc ;
301+ padding : 10px ;
302+ max-width : 300px ;
303+ box-shadow : 0px 4px 6px rgba (0 , 0 , 0 , 0.1 );
304+ z-index : 1000 ;
305+ white-space : normal;
306+ border-radius : 8px ; /* Smooth rounded corners */
307+ }
308+
309+ .close-info {
310+ background-color : # 0073e6 ;
311+ color : white;
312+ padding : 5px 10px ;
313+ border : none;
314+ cursor : pointer;
315+ margin-top : 10px ;
316+ font-family : 'Times New Roman' , Times, serif;
317+ }
318+
319+ .close-info : hover {
320+ background-color : # 005bb5 ;
321+ }
322+
304323 </ style >
305324</ head >
306325< body >
You can’t perform that action at this time.
0 commit comments