Skip to content

Instantly share code, notes, and snippets.

@ghooghe
Created June 11, 2013 15:21
Show Gist options
  • Select an option

  • Save ghooghe/5757768 to your computer and use it in GitHub Desktop.

Select an option

Save ghooghe/5757768 to your computer and use it in GitHub Desktop.
obox.css
.obox {
top: 0;
left: 0;
position: absolute;
z-index: 100;
overflow-x: hidden;
overflow-y: auto;
/*max-width: 930px;*/
}
.obox-mask {
background-color: #000000;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
opacity: 0.7;
}
.obox-mask {
height: 100%;
width: 100%;
position: fixed;
}
.obox-close, .obox-content {
position: absolute;
}
.obox-close {
right: 1em;
top: 1em;
width: 1em;
text-align: right;
}
.obox-content {
background-color: #ffffff;
width: 75%;
margin: 2em auto 0 auto;
padding: 1.3em;
top: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment