Skip to content

Instantly share code, notes, and snippets.

@jsanti
Created February 9, 2010 22:30
Show Gist options
  • Save jsanti/299768 to your computer and use it in GitHub Desktop.
Save jsanti/299768 to your computer and use it in GitHub Desktop.
facebox.sass
#facebox
:position absolute
:top 0
:left 0
:z-index 100
:text-align left
.b
:background url(/images/facebox/b.png)
.tl
:background url(/images/facebox/tl.png)
.tr
:background url(/images/facebox/tr.png)
.bl
:background url(/images/facebox/bl.png)
.br
:background url(/images/facebox/br.png)
.popup
:position relative
table
:border-collapse collapse
td
:border-bottom 0
:padding 0
.body
:padding 10px
:background #fff
:width 370px
.loading
:text-align center
.image
:text-align center
img
:border 0
:margin 0
.footer
:border-top 1px solid #DDDDDD
:padding-top 5px
:margin-top 10px
:text-align right
.tl, .tr, .bl, .br
:height 10px
:width 10px
:overflow hidden
:padding 0
#facebox_overlay
:position fixed
:top 0px
:left 0px
:height 100%
:width 100%
.facebox_hide
:z-index -100
.facebox_overlayBG
:background-color #000
:z-index 99
/* ie6 hack */
* html #facebox_overlay
:position absolute
:height expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment