image.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. /*
  2. This is the master CSS file for the dojox.image project, and provides all
  3. needed definitions for:
  4. dojox.image.Lightbox
  5. dojox.image.Gallery [which is a combination of:]
  6. dojox.image.SlideShow
  7. dojox.image.ThumbNailPicker
  8. */
  9. /* dojox.image.Lightbox:base */
  10. /* FIXME: should be be doing this? I want a black underlay, but this sets ALL dialogs to black,
  11. but because it's decendant of body, i can't set this color any other way ... */
  12. .dijitDialogUnderlay {
  13. background-color:#000;
  14. }
  15. .dojoxLightbox {
  16. position:absolute;
  17. z-index:999;
  18. overflow:hidden;
  19. width:100px;
  20. height:100px;
  21. border:11px solid #fff;
  22. background:#fff url('images/loading.gif') no-repeat center center;
  23. /* special safari + FF specific rounding + shadows */
  24. -webkit-box-shadow: 0px 6px 10px #636363; /* #adadad; */
  25. -webkit-border-radius: 3px;
  26. -moz-border-radius:4px;
  27. }
  28. .dojoxLightboxContainer {
  29. position:absolute;
  30. top:0; left:0;
  31. }
  32. .dojoxLightboxFooter {
  33. height:50px;
  34. position:relative;
  35. bottom:0;
  36. left:0;
  37. margin-top:8px;
  38. color:#333;
  39. z-index:1000;
  40. font-size:10pt;
  41. }
  42. .dojoxLightboxGroupText {
  43. color:#666;
  44. font-size:8pt;
  45. }
  46. .LightboxNext,
  47. .LightboxPrev,
  48. .LightboxClose {
  49. float:right;
  50. width:16px;
  51. height:16px;
  52. cursor:pointer;
  53. }
  54. /* dojox.image.Lightbox:tundra */
  55. .tundra .LightboxClose {
  56. background:url('../../../dijit/themes/tundra/images/tabClose.png') no-repeat center center;
  57. }
  58. .tundra .LightboxNext {
  59. background:url('../../../dijit/themes/tundra/images/arrowRight.png') no-repeat center center;
  60. }
  61. .tundra .LightboxPrev {
  62. background:url('../../../dijit/themes/tundra/images/arrowLeft.png') no-repeat center center;
  63. }
  64. /* dojox.image.Lightbox:soria */
  65. .soria .LightboxNext,
  66. .soria .LightboxPrev,
  67. .soria .LightboxClose {
  68. background:url('../../../dijit/themes/soria/images/arrows.png') no-repeat center center;
  69. background-position:-65px 0;
  70. }
  71. .soria .LightboxNext {
  72. background-position:-48px 0;
  73. }
  74. .soria .LightboxPrev {
  75. background-position:-16px 0;
  76. }
  77. /* dojox.image.SlideShow */
  78. .slideShowWrapper {
  79. position:relative;
  80. background:#fff;
  81. padding:8px;
  82. border:1px solid #333;
  83. padding-bottom:20px;
  84. overflow:hidden;
  85. text-align: center;
  86. -moz-border-radius:3pt;
  87. -webkit-border-radius:4pt;
  88. -webkit-drop-shadow:#ccc 4pt;
  89. }
  90. .slideShowNav {
  91. position:absolute;
  92. bottom:-18px;
  93. left:0px;
  94. padding:0px 3px 2px 0px;
  95. background-color:#fff;
  96. width:100%;
  97. }
  98. .slideShowNavWrapper { float:right; }
  99. .slideShowTitle {
  100. float:left;
  101. color:#333;
  102. font-size:10pt;
  103. }
  104. .slideShowTitle .slideShowCounterText {
  105. font-size:6pt; color:#666;
  106. }
  107. .slideShowHidden {
  108. position:absolute;
  109. display: none;
  110. height: 1px;
  111. width: 1px;
  112. }
  113. .slideShowImageWrapper {
  114. position:relative;
  115. text-align: center;
  116. margin-top: -42px;
  117. float: left;
  118. width: 100%;
  119. }
  120. .slideShowImageWrapper img {
  121. border: 0px none;
  122. }
  123. .slideShowNotifier {
  124. background-color: red;
  125. width: 100px;
  126. height: 5px;
  127. font-size: 1%;/*IE hack to get around the Empty-Div bug*/
  128. }
  129. .slideShowSlideShow {
  130. position:absolute;
  131. top:30px;
  132. padding: 0 5px;
  133. border: 0px;
  134. text-decoration: none;
  135. color: #2e6ab1;
  136. }
  137. .slideShowLoading { background-color: #fad66a; }
  138. .slideShowLoaded { background-color: transparent; }
  139. /*
  140. .sprite-arrowbottom { background-position: 0 -30px; }
  141. .sprite-arrowtop { background-position: 0 -430px; }
  142. */
  143. .slideShowCtrlPrev {
  144. background-position: -96px 0px;
  145. float: left;
  146. }
  147. .slideShowCtrlNext {
  148. background-position: -144px 0px;
  149. float: right;
  150. }
  151. .slideShowCtrlPlay {
  152. background-position: -190px 0px;
  153. position: absolute;
  154. }
  155. .slideShowPaused .slideShowCtrlPlay {
  156. background-position: -236px 0px;
  157. position: absolute;
  158. }
  159. .slideShowCtrl span.slideShowCtrlHide {
  160. background-image: url("images/1pixel.gif");
  161. cursor: auto;
  162. }
  163. .slideShowCtrl {
  164. height: 50px;
  165. width: 100%;
  166. position: relative;
  167. z-index:999;
  168. float: left;
  169. }
  170. .slideShowCtrl span {
  171. width: 50px;
  172. height: 100%;
  173. background-image: url("images/buttons.png");
  174. cursor: pointer;
  175. }
  176. .dj_ie6 .slideShowCtrl span {
  177. background-image: url("images/buttons.gif");
  178. }
  179. .dj_ie6 .slideShowPager li.currentpage,
  180. .dj_ie6 .pagination li.disablepage{
  181. /*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/
  182. margin-right: 5px;
  183. padding-right: 0;
  184. }
  185. /* dojox.image.ThumbnailPicker */
  186. .thumbWrapper .thumbNav {
  187. background-repeat: no-repeat;
  188. background-position: center;
  189. padding-top: 1px;
  190. width: 30px;
  191. height: 100%;
  192. }
  193. .thumbOuter {
  194. padding-bottom: 2px;
  195. }
  196. .thumbOuter.thumbHoriz {
  197. width: 500px;
  198. height: 85px;
  199. }
  200. .thumbOuter.thumbVert {
  201. width: 100px;
  202. height: 400px;
  203. }
  204. .thumbOuter .enabled {
  205. background: transparent url("images/buttons.png") no-repeat center center;
  206. }
  207. .dj_ie6 .thumbOuter .enabled { background-image: url("images/buttons.gif"); }
  208. .thumbOuter .thumbNav img {
  209. width: 48px;
  210. height: 75px;
  211. }
  212. .thumbOuter .thumbClickable div {
  213. cursor: pointer;
  214. }
  215. .thumbOuter .prevHoriz {
  216. background-position: -96px 12px;
  217. position: relative;
  218. float: left;
  219. height: 100%;
  220. }
  221. .thumbOuter .nextHoriz {
  222. background-position: -144px 12px;
  223. position: relative;
  224. float: right;
  225. height: 100%;
  226. /* margin-top: -85px;*/
  227. }
  228. .thumbOuter .prevVert {
  229. background-position: 0px 0px;
  230. height: 48px;
  231. width:48px;
  232. margin-left:24px;
  233. }
  234. .thumbOuter .nextVert {
  235. background-position: -48px 0px;
  236. height: 48px;
  237. width:48px;
  238. margin-left:24px;
  239. }
  240. .thumbWrapper img {
  241. height: 75px;
  242. max-width: 100px;
  243. width: expression(this.width > 100 ? 100: true);/*IE Hack*/
  244. }
  245. .thumbWrapper .thumbNav .imageGalleryThumb {
  246. height: 50px;
  247. }
  248. .thumbWrapper .thumbNotifier {
  249. background-color: red;
  250. width: 0px;
  251. margin-left: 2px;
  252. height: 5px;
  253. font-size: 1%;/*IE hack to get around the Empty-Div bug*/
  254. }
  255. .thumbWrapper .thumbLoaded {
  256. background-color: transparent;
  257. }
  258. .thumbScroller {
  259. overflow-x: hidden;
  260. overflow-y: hidden;
  261. white-space: nowrap;
  262. text-align: center;
  263. }
  264. .thumbHoriz .thumbScroller {
  265. width: 500px;
  266. height: 85px;
  267. float: left;
  268. }
  269. .thumbVert .thumbScroller {
  270. height: 500px;
  271. width: 100px;
  272. }
  273. .thumbWrapper {
  274. float: left;
  275. }
  276. .thumbVert .thumbWrapper {
  277. width: 100px;
  278. height: 10px;
  279. }
  280. .thumbHoriz .thumbWapper {
  281. height:85px;
  282. width: 10px;
  283. }
  284. .thumbWrapper.thumbHoriz div {
  285. float: left;
  286. padding-right: 2px;
  287. }
  288. .thumbWrapper.thumbVert {
  289. width: 100px;
  290. }
  291. .thumbWrapper.thumbVert div {
  292. padding-bottom: 2px;
  293. }
  294. /* dojox.image.Gallery */
  295. .imageGalleryWrapper {
  296. padding-bottom: 20px;
  297. text-align: center;
  298. }