You are here

colorbox_stockholmsyndrome.css in Colorbox 7

Same filename and directory in other branches
  1. 6 styles/stockholmsyndrome/colorbox_stockholmsyndrome.css
/**
 * ColorBox Core Style:
 * The following CSS is consistent between example themes and should not be altered.
 */
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  cursor: pointer;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
#colorbox, #cboxContent, #cboxLoadedContent {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/**
 * Colorbox module Stockholm syndrome style:
 * The styles are ordered & tabbed in a way that represents
 * the nesting of the generated HTML.
 */
#cboxOverlay {
  background: #000;
  opacity: 0.4 !important;
}

#colorbox {
  background: #fff url(images/bg_tab.png) center bottom repeat-x;
  -moz-box-shadow: 3px 3px 16px #333;
  -webkit-box-shadow: 3px 3px 16px #333;
  box-shadow: 3px 3px 16px #333;
  -moz-border-radius-bottomleft: 9px;
  -moz-border-radius-bottomright: 9px;
  -webkit-border-bottom-left-radius: 9px;
  -webkit-border-bottom-right-radius: 9px;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}
#colorbox, #colorbox div {
  overflow: visible; /* Required by the close button. */
}
  #cboxWrapper {
    -moz-border-radius-bottomleft: 9px;
    -moz-border-radius-bottomright: 9px;
    -webkit-border-bottom-left-radius: 9px;
    -webkit-border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
  }
    #cboxTopLeft {
      width: 0;
      height: 0;
    }
    #cboxTopCenter {
      height: 0;
    }
    #cboxTopRight {
      width: 0;
      height: 0;
    }
    #cboxBottomLeft {
      width: 15px;
      height: 10px;
    }
    #cboxBottomCenter {
      height: 10px;
    }
    #cboxBottomRight {
      width: 15px;
      height: 10px;
    }
    #cboxMiddleLeft {
      width: 0;
    }
    #cboxMiddleRight {
      width: 0;
    }
    #cboxContent {
      background: #fff;
      overflow: hidden;
      font: 11px Arial, sans-serif;
      margin-bottom: 28px;
    }
      #cboxError {
        padding: 50px;
        border: 1px solid #ccc;
      }
      #cboxLoadedContent {
      }
      #cboxTitle {
        left: 0;
        height: 38px;
        color: #313131;
        padding: 0 140px 0 15px;
        display: table-cell;
        vertical-align: middle;
      }
      #cboxCurrent {
        position: absolute;
        bottom: -26px;
        right: 80px;
        color: #313131;
        border-left: 1px solid #313131;
        padding: 0 0 0 15px;
      }
      /* Slideshow not implemented. */
      .cboxSlideshow_on #cboxSlideshow {
        display: none;
      }
      .cboxSlideshow_on #cboxSlideshow:hover {
      }
      .cboxSlideshow_off #cboxSlideshow {
        display: none;
      }
      .cboxSlideshow_off #cboxSlideshow:hover {
      }
      #cboxPrevious {
        position: absolute;
        bottom: -26px;
        right: 45px;
        background: url(images/controls.png) 0 -48px no-repeat;
        width: 21px;
        height: 15px;
        text-indent: -9999px;
      }
      #cboxPrevious:hover {
        background-position: 0 -111px;
      }
      #cboxNext {
        position: absolute;
        bottom: -26px;
        right: 15px;
        background: url(images/controls.png) 0 -29px no-repeat;
        width: 21px;
        height: 15px;
        text-indent: -9999px;
      }
      #cboxNext:hover {
        background-position: 0 -92px;
      }
      #cboxLoadingOverlay {
        background: #e6e6e6;
      }
      #cboxLoadingGraphic {
        background: url(images/loading_animation.gif) center center no-repeat;
      }
      #cboxClose {
        position: absolute;
        top: -10px;
        right: -10px;
        background: url(images/controls.png) 0px 0px no-repeat;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
        opacity: 0;
      }
      #cboxClose:hover {
        background-position: 0 -63px;
      }

/* The following are fixes for IE. */
.cboxIE6 #cboxTitle {
  background: #fff;
}

File

styles/stockholmsyndrome/colorbox_stockholmsyndrome.css
View source
  1. /**
  2. * ColorBox Core Style:
  3. * The following CSS is consistent between example themes and should not be altered.
  4. */
  5. #colorbox, #cboxOverlay, #cboxWrapper {
  6. position: absolute;
  7. top: 0;
  8. left: 0;
  9. z-index: 9999;
  10. overflow: hidden;
  11. }
  12. #cboxOverlay {
  13. position: fixed;
  14. width: 100%;
  15. height: 100%;
  16. }
  17. #cboxMiddleLeft, #cboxBottomLeft {
  18. clear: left;
  19. }
  20. #cboxContent {
  21. position: relative;
  22. }
  23. #cboxLoadedContent {
  24. overflow: auto;
  25. }
  26. #cboxTitle {
  27. margin: 0;
  28. }
  29. #cboxLoadingOverlay, #cboxLoadingGraphic {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. width: 100%;
  34. height: 100%;
  35. }
  36. #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  37. cursor: pointer;
  38. }
  39. .cboxPhoto {
  40. float: left;
  41. margin: auto;
  42. border: 0;
  43. display: block;
  44. }
  45. .cboxIframe {
  46. width: 100%;
  47. height: 100%;
  48. display: block;
  49. border: 0;
  50. }
  51. #colorbox, #cboxContent, #cboxLoadedContent {
  52. -moz-box-sizing: content-box;
  53. box-sizing: content-box;
  54. }
  55. /**
  56. * Colorbox module Stockholm syndrome style:
  57. * The styles are ordered & tabbed in a way that represents
  58. * the nesting of the generated HTML.
  59. */
  60. #cboxOverlay {
  61. background: #000;
  62. opacity: 0.4 !important;
  63. }
  64. #colorbox {
  65. background: #fff url(images/bg_tab.png) center bottom repeat-x;
  66. -moz-box-shadow: 3px 3px 16px #333;
  67. -webkit-box-shadow: 3px 3px 16px #333;
  68. box-shadow: 3px 3px 16px #333;
  69. -moz-border-radius-bottomleft: 9px;
  70. -moz-border-radius-bottomright: 9px;
  71. -webkit-border-bottom-left-radius: 9px;
  72. -webkit-border-bottom-right-radius: 9px;
  73. border-bottom-left-radius: 9px;
  74. border-bottom-right-radius: 9px;
  75. }
  76. #colorbox, #colorbox div {
  77. overflow: visible; /* Required by the close button. */
  78. }
  79. #cboxWrapper {
  80. -moz-border-radius-bottomleft: 9px;
  81. -moz-border-radius-bottomright: 9px;
  82. -webkit-border-bottom-left-radius: 9px;
  83. -webkit-border-bottom-right-radius: 9px;
  84. border-bottom-left-radius: 9px;
  85. border-bottom-right-radius: 9px;
  86. }
  87. #cboxTopLeft {
  88. width: 0;
  89. height: 0;
  90. }
  91. #cboxTopCenter {
  92. height: 0;
  93. }
  94. #cboxTopRight {
  95. width: 0;
  96. height: 0;
  97. }
  98. #cboxBottomLeft {
  99. width: 15px;
  100. height: 10px;
  101. }
  102. #cboxBottomCenter {
  103. height: 10px;
  104. }
  105. #cboxBottomRight {
  106. width: 15px;
  107. height: 10px;
  108. }
  109. #cboxMiddleLeft {
  110. width: 0;
  111. }
  112. #cboxMiddleRight {
  113. width: 0;
  114. }
  115. #cboxContent {
  116. background: #fff;
  117. overflow: hidden;
  118. font: 11px Arial, sans-serif;
  119. margin-bottom: 28px;
  120. }
  121. #cboxError {
  122. padding: 50px;
  123. border: 1px solid #ccc;
  124. }
  125. #cboxLoadedContent {
  126. }
  127. #cboxTitle {
  128. left: 0;
  129. height: 38px;
  130. color: #313131;
  131. padding: 0 140px 0 15px;
  132. display: table-cell;
  133. vertical-align: middle;
  134. }
  135. #cboxCurrent {
  136. position: absolute;
  137. bottom: -26px;
  138. right: 80px;
  139. color: #313131;
  140. border-left: 1px solid #313131;
  141. padding: 0 0 0 15px;
  142. }
  143. /* Slideshow not implemented. */
  144. .cboxSlideshow_on #cboxSlideshow {
  145. display: none;
  146. }
  147. .cboxSlideshow_on #cboxSlideshow:hover {
  148. }
  149. .cboxSlideshow_off #cboxSlideshow {
  150. display: none;
  151. }
  152. .cboxSlideshow_off #cboxSlideshow:hover {
  153. }
  154. #cboxPrevious {
  155. position: absolute;
  156. bottom: -26px;
  157. right: 45px;
  158. background: url(images/controls.png) 0 -48px no-repeat;
  159. width: 21px;
  160. height: 15px;
  161. text-indent: -9999px;
  162. }
  163. #cboxPrevious:hover {
  164. background-position: 0 -111px;
  165. }
  166. #cboxNext {
  167. position: absolute;
  168. bottom: -26px;
  169. right: 15px;
  170. background: url(images/controls.png) 0 -29px no-repeat;
  171. width: 21px;
  172. height: 15px;
  173. text-indent: -9999px;
  174. }
  175. #cboxNext:hover {
  176. background-position: 0 -92px;
  177. }
  178. #cboxLoadingOverlay {
  179. background: #e6e6e6;
  180. }
  181. #cboxLoadingGraphic {
  182. background: url(images/loading_animation.gif) center center no-repeat;
  183. }
  184. #cboxClose {
  185. position: absolute;
  186. top: -10px;
  187. right: -10px;
  188. background: url(images/controls.png) 0px 0px no-repeat;
  189. width: 25px;
  190. height: 25px;
  191. text-indent: -9999px;
  192. opacity: 0;
  193. }
  194. #cboxClose:hover {
  195. background-position: 0 -63px;
  196. }
  197. /* The following are fixes for IE. */
  198. .cboxIE6 #cboxTitle {
  199. background: #fff;
  200. }