| 1 |
html, |
| 2 |
body { |
| 3 |
min-height: 100%; |
| 4 |
height: auto; |
| 5 |
} |
| 6 |
|
| 7 |
.boxzilla-center-container { |
| 8 |
position: fixed; |
| 9 |
top: 0; |
| 10 |
left: 0; |
| 11 |
right: 0; |
| 12 |
height: 0; |
| 13 |
text-align: center; |
| 14 |
z-index: 999999; |
| 15 |
line-height: 0; |
| 16 |
} |
| 17 |
|
| 18 |
.boxzilla-center-container .boxzilla{ |
| 19 |
display: inline-block; |
| 20 |
text-align: left; |
| 21 |
position: relative; |
| 22 |
} |
| 23 |
|
| 24 |
.boxzilla { |
| 25 |
position: fixed; |
| 26 |
z-index: 999999; |
| 27 |
margin: 0; |
| 28 |
-webkit-box-sizing: border-box; |
| 29 |
-moz-box-sizing: border-box; |
| 30 |
box-sizing: border-box; |
| 31 |
background: white; |
| 32 |
|
| 33 |
/* reset line-height because of container line-height hack */ |
| 34 |
line-height: normal; |
| 35 |
padding: 25px; |
| 36 |
} |
| 37 |
|
| 38 |
.boxzilla.boxzilla-top-left{ |
| 39 |
top: 0; left: 0; bottom: auto; right: auto; |
| 40 |
} |
| 41 |
|
| 42 |
.boxzilla.boxzilla-top-right{ |
| 43 |
top: 0; right: 0; bottom: auto; left: auto; |
| 44 |
} |
| 45 |
|
| 46 |
.boxzilla.boxzilla-bottom-left{ |
| 47 |
bottom: 0; left: 0; top: auto; right: auto; |
| 48 |
} |
| 49 |
|
| 50 |
.boxzilla.boxzilla-bottom-right{ |
| 51 |
bottom: 0; right: 0; top: auto; left: auto; |
| 52 |
} |
| 53 |
|
| 54 |
/* remove top & bottom margin from last child element */ |
| 55 |
.boxzilla-content > *:first-child { |
| 56 |
margin-top: 0; |
| 57 |
padding-top: 0; |
| 58 |
} |
| 59 |
.boxzilla-content > *:last-child { |
| 60 |
margin-bottom: 0; |
| 61 |
padding-bottom: 0; |
| 62 |
} |
| 63 |
|
| 64 |
.boxzilla-close-icon { |
| 65 |
position:absolute; |
| 66 |
right :0; |
| 67 |
top: 0; |
| 68 |
text-align:center; |
| 69 |
padding: 6px; |
| 70 |
cursor: pointer; |
| 71 |
background: transparent; |
| 72 |
border: 0; |
| 73 |
-webkit-appearance: none; |
| 74 |
font-size: 36px; |
| 75 |
font-weight: bold; |
| 76 |
line-height: 20px; |
| 77 |
color: #000; |
| 78 |
opacity: .5; |
| 79 |
filter: alpha(opacity=50); |
| 80 |
} |
| 81 |
|
| 82 |
.boxzilla-close-icon:hover, .boxzilla-close-icon:focus { |
| 83 |
color: #000; |
| 84 |
text-decoration: none; |
| 85 |
cursor: pointer; |
| 86 |
opacity: .8; |
| 87 |
filter: alpha(opacity=80); |
| 88 |
} |
| 89 |
|
| 90 |
#boxzilla-overlay { |
| 91 |
position: fixed; |
| 92 |
background: rgba(0,0,0,0.65); |
| 93 |
width: 100%; |
| 94 |
height: 100%; |
| 95 |
z-index: 99999; |
| 96 |
display: none; |
| 97 |
top: 0; |
| 98 |
left: 0; |
| 99 |
} |
| 100 |
|