all repos — h3rald @ cc42c5ceb459bce4569251a8741109b870081858

The sources of https://h3rald.com

content/css/_fancybox.sass

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
html, body
  height: 100%

div#fancy_overlay
  position: fixed
  top: 0
  left: 0
  width: 100%
  height: 100%
  background-color: #666666
  display: none
  z-index: 30

* html div#fancy_overlay
  position: absolute
  height: 580px

div
  &#fancy_wrap
    text-align: left
  &#fancy_loading
    position: absolute
    height: 40px
    width: 40px
    cursor: pointer
    display: none
    overflow: hidden
    background: transparent
    z-index: 100
    div
      position: absolute
      top: 0
      left: 0
      width: 40px
      height: 480px
      background: transparent url("/images/fancybox/fancy_progress.png") no-repeat
  &#fancy_loading_overlay
    position: absolute
    background-color: white
    z-index: 30
  &#fancy_loading_icon
    position: absolute
    background: url("/images/fancybox/fancy_loading.gif") no-repeat
    z-index: 35
    width: 16px
    height: 16px
  &#fancy_outer
    position: absolute
    top: 0
    left: 0
    z-index: 90
    padding: 18px 18px 33px 18px
    margin: 0
    overflow: hidden
    background: transparent
    display: none
  &#fancy_inner
    position: relative
    width: 100%
    height: 100%
    border: 1px solid #bbbbbb
    background: white
  &#fancy_content
    margin: 0
    z-index: 100
    position: absolute
  &#fancy_div
    background: black
    color: white
    height: 100%
    width: 100%
    z-index: 100

img#fancy_img
  position: absolute
  top: 0
  left: 0
  border: 0
  padding: 0
  margin: 0
  z-index: 100
  width: 100%
  height: 100%

div#fancy_close
  position: absolute
  top: -12px
  right: -15px
  height: 30px
  width: 30px
  background: url("/images/fancybox/fancy_closebox.png") top left no-repeat
  cursor: pointer
  z-index: 181
  display: none

#fancy_frame
  position: relative
  width: 100%
  height: 100%
  display: none

#fancy_ajax
  width: 100%
  height: 100%
  overflow: auto

a
  &#fancy_left, &#fancy_right
    position: absolute
    bottom: 0px
    height: 100%
    width: 35%
    cursor: pointer
    z-index: 111
    display: none
    outline: none
  &#fancy_left
    left: 0px
  &#fancy_right
    right: 0px

span
  &.fancy_ico
    position: absolute
    top: 50%
    margin-top: -15px
    width: 30px
    height: 30px
    z-index: 112
    cursor: pointer
    display: block
  &#fancy_left_ico
    left: -9999px
    background: transparent url("/images/fancybox/fancy_left.png") no-repeat
  &#fancy_right_ico
    right: -9999px
    background: transparent url("/images/fancybox/fancy_right.png") no-repeat

a
  &#fancy_left:hover, &#fancy_right:hover
    visibility: visible
  &#fancy_left:hover span
    left: 20px
  &#fancy_right:hover span
    right: 20px

.fancy_bigIframe
  position: absolute
  top: 0
  left: 0
  width: 100%
  height: 100%
  background: transparent

div
  &#fancy_bg
    position: absolute
    top: 0
    left: 0
    width: 100%
    height: 100%
    z-index: 70
    border: 0
    padding: 0
    margin: 0
  &.fancy_bg
    position: absolute
    display: block
    z-index: 70
    border: 0
    padding: 0
    margin: 0
  &.fancy_bg_n
    top: -18px
    width: 100%
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_n.png") repeat-x
  &.fancy_bg_ne
    top: -18px
    right: -13px
    width: 13px
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_ne.png") no-repeat
  &.fancy_bg_e
    right: -13px
    height: 100%
    width: 13px
    background: transparent url("/images/fancybox/fancy_shadow_e.png") repeat-y
  &.fancy_bg_se
    bottom: -18px
    right: -13px
    width: 13px
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_se.png") no-repeat
  &.fancy_bg_s
    bottom: -18px
    width: 100%
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_s.png") repeat-x
  &.fancy_bg_sw
    bottom: -18px
    left: -13px
    width: 13px
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_sw.png") no-repeat
  &.fancy_bg_w
    left: -13px
    height: 100%
    width: 13px
    background: transparent url("/images/fancybox/fancy_shadow_w.png") repeat-y
  &.fancy_bg_nw
    top: -18px
    left: -13px
    width: 13px
    height: 18px
    background: transparent url("/images/fancybox/fancy_shadow_nw.png") no-repeat
  &#fancy_title
    position: absolute
    bottom: -33px
    left: 0
    width: 100%
    z-index: 100
    display: none
    div
      color: white
      font: bold 12px Arial
      padding-bottom: 3px
    table
      margin: 0 auto
      td
        padding: 0
        vertical-align: middle

td
  &#fancy_title_left
    height: 32px
    width: 15px
    background: transparent url(/images/fancybox/fancy_title_left.png) repeat-x
  &#fancy_title_main
    height: 32px
    background: transparent url(/images/fancybox/fancy_title_main.png) repeat-x
  &#fancy_title_right
    height: 32px
    width: 15px
    background: transparent url(/images/fancybox/fancy_title_right.png) repeat-x