You are here

colorbox_stockholmsyndrome.css in Colorbox 6

Same filename and directory in other branches
  1. 7 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 {
  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. box-sizing: content-box;
  53. }
  54. /**
  55. * Colorbox module Stockholm syndrome style:
  56. * The styles are ordered & tabbed in a way that represents
  57. * the nesting of the generated HTML.
  58. */
  59. #cboxOverlay {
  60. background: #000;
  61. opacity: 0.4 !important;
  62. }
  63. #colorbox {
  64. background: #fff url(images/bg_tab.png) center bottom repeat-x;
  65. -moz-box-shadow: 3px 3px 16px #333;
  66. -webkit-box-shadow: 3px 3px 16px #333;
  67. box-shadow: 3px 3px 16px #333;
  68. -moz-border-radius-bottomleft: 9px;
  69. -moz-border-radius-bottomright: 9px;
  70. -webkit-border-bottom-left-radius: 9px;
  71. -webkit-border-bottom-right-radius: 9px;
  72. border-bottom-left-radius: 9px;
  73. border-bottom-right-radius: 9px;
  74. }
  75. #colorbox, #colorbox div {
  76. overflow: visible; /* Required by the close button. */
  77. }
  78. #cboxWrapper {
  79. -moz-border-radius-bottomleft: 9px;
  80. -moz-border-radius-bottomright: 9px;
  81. -webkit-border-bottom-left-radius: 9px;
  82. -webkit-border-bottom-right-radius: 9px;
  83. border-bottom-left-radius: 9px;
  84. border-bottom-right-radius: 9px;
  85. }
  86. #cboxTopLeft {
  87. width: 0;
  88. height: 0;
  89. }
  90. #cboxTopCenter {
  91. height: 0;
  92. }
  93. #cboxTopRight {
  94. width: 0;
  95. height: 0;
  96. }
  97. #cboxBottomLeft {
  98. width: 15px;
  99. height: 10px;
  100. }
  101. #cboxBottomCenter {
  102. height: 10px;
  103. }
  104. #cboxBottomRight {
  105. width: 15px;
  106. height: 10px;
  107. }
  108. #cboxMiddleLeft {
  109. width: 0;
  110. }
  111. #cboxMiddleRight {
  112. width: 0;
  113. }
  114. #cboxContent {
  115. background: #fff;
  116. overflow: hidden;
  117. font: 11px Arial, sans-serif;
  118. margin-bottom: 28px;
  119. }
  120. #cboxError {
  121. padding: 50px;
  122. border: 1px solid #ccc;
  123. }
  124. #cboxLoadedContent {
  125. }
  126. #cboxTitle {
  127. left: 0;
  128. height: 38px;
  129. color: #313131;
  130. padding: 0 140px 0 15px;
  131. display: table-cell;
  132. vertical-align: middle;
  133. }
  134. #cboxCurrent {
  135. position: absolute;
  136. bottom: -26px;
  137. right: 80px;
  138. color: #313131;
  139. border-left: 1px solid #313131;
  140. padding: 0 0 0 15px;
  141. }
  142. /* Slideshow not implemented. */
  143. .cboxSlideshow_on #cboxSlideshow {
  144. display: none;
  145. }
  146. .cboxSlideshow_on #cboxSlideshow:hover {
  147. }
  148. .cboxSlideshow_off #cboxSlideshow {
  149. display: none;
  150. }
  151. .cboxSlideshow_off #cboxSlideshow:hover {
  152. }
  153. #cboxPrevious {
  154. position: absolute;
  155. bottom: -26px;
  156. right: 45px;
  157. background: url(images/controls.png) 0 -48px no-repeat;
  158. width: 21px;
  159. height: 15px;
  160. text-indent: -9999px;
  161. }
  162. #cboxPrevious:hover {
  163. background-position: 0 -111px;
  164. }
  165. #cboxNext {
  166. position: absolute;
  167. bottom: -26px;
  168. right: 15px;
  169. background: url(images/controls.png) 0 -29px no-repeat;
  170. width: 21px;
  171. height: 15px;
  172. text-indent: -9999px;
  173. }
  174. #cboxNext:hover {
  175. background-position: 0 -92px;
  176. }
  177. #cboxLoadingOverlay {
  178. background: #e6e6e6;
  179. }
  180. #cboxLoadingGraphic {
  181. background: url(images/loading_animation.gif) center center no-repeat;
  182. }
  183. #cboxClose {
  184. position: absolute;
  185. top: -10px;
  186. right: -10px;
  187. background: url(images/controls.png) 0px 0px no-repeat;
  188. width: 25px;
  189. height: 25px;
  190. text-indent: -9999px;
  191. opacity: 0;
  192. }
  193. #cboxClose:hover {
  194. background-position: 0 -63px;
  195. }
  196. /* The following are fixes for IE. */
  197. .cboxIE6 #cboxTitle {
  198. background: #fff;
  199. }