Lightbox.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /* dojox.image.Lightbox:base */
  2. /* FIXME: should be be doing this? I want a black underlay, but this sets ALL dialogs to black,
  3. but because it's decendant of body, i can't set this color any other way ... */
  4. .tundra .dijitDialogUnderlay,
  5. .nihilo .dijitDialogUnderlay,
  6. .soria .dijitDialogUnderlay {
  7. background-color:#000;
  8. }
  9. .claro .dojoxLightbox .dijitDialogCloseIconHover,
  10. .nihilo .dojoxLightbox .dijitDialogCloseIconHover,
  11. .tundra .dojoxLightbox .dijitDialogCloseIconHover,
  12. .tundra .dojoxLightbox .dijitDialogCloseIconActive,
  13. .nihilo .dojoxLightbox .dijitDialogCloseIconActive,
  14. .claro .dojoxLightbox .dijitDialogCloseIconActive {
  15. background:url('images/close.png') no-repeat 0 0;
  16. }
  17. /* more specific to override .theme .dijitDialog name. might try baseClass="dojoxLightbox"
  18. but that would require additional overriden CSS on top of the original Dialog.css */
  19. .claro .dojoxLightbox,
  20. .soria .dojoxLightbox,
  21. .nihilo .dojoxLightbox,
  22. .tundra .dojoxLightbox {
  23. position:absolute;
  24. z-index:999;
  25. overflow:hidden;
  26. width:100px;
  27. height:100px;
  28. border:11px solid #fff !important; /* not happy, but all themes overwrite this to 1px */
  29. background:#fff url('images/loading.gif') no-repeat center center;
  30. /* special safari + FF specific rounding + shadows */
  31. -webkit-box-shadow: 0px 6px 10px #636363; /* #adadad; */
  32. -webkit-border-radius: 3px;
  33. -moz-border-radius:4px;
  34. border-radius: 4px;
  35. }
  36. .dojoxLightboxContainer {
  37. position:absolute;
  38. top:0; left:0;
  39. background-color:#fff;
  40. }
  41. .dojoxLightboxFooter {
  42. padding-bottom:5px;
  43. position:relative;
  44. bottom:0;
  45. left:0;
  46. margin-top:8px;
  47. color:#333;
  48. z-index:1000;
  49. font-size:10pt;
  50. }
  51. .dojoxLightboxGroupText {
  52. color:#666;
  53. font-size:8pt;
  54. }
  55. .LightboxNext,
  56. .LightboxPrev,
  57. .LightboxClose {
  58. float:right;
  59. width:16px;
  60. height:16px;
  61. cursor:pointer;
  62. }
  63. /* dojox.image.Lightbox:tundra:nihilo */
  64. .claro .LightboxClose,
  65. .nihilo .LightboxClose,
  66. .tundra .LightboxClose {
  67. background:url('images/close.png') no-repeat center center;
  68. }
  69. .di_ie6 .claro .LightboxClose,
  70. .di_ie6 .nihilo .LightboxClose,
  71. .dj_ie6 .tundra .LightboxClose {
  72. background:url('images/close.gif') no-repeat center center;
  73. }
  74. .claro .LightboxNext,
  75. .nihilo .LightboxNext,
  76. .tundra .LightboxNext {
  77. background:url('images/right.png') no-repeat center center;
  78. }
  79. .dj_ie6 .claro .LightboxNext,
  80. .dj_ie6 .nihilo .LightboxNext,
  81. .dj_ie6 .tundra .LightboxNext {
  82. background:url('images/right.gif') no-repeat center center;
  83. }
  84. .claro .LightboxPrev,
  85. .nihilo .LightboxPrev,
  86. .tundra .LightboxPrev {
  87. background:url('images/left.png') no-repeat center center;
  88. }
  89. .dj_ie6 .claro .LightboxPrev,
  90. .dj_ie6 .nihilo .LightboxPrev,
  91. .dj_ie6 .tundra .LightboxPrev {
  92. background:url('images/left.gif') no-repeat center center;
  93. }
  94. /* dojox.image.Lightbox:soria */
  95. .soria .LightboxClose,
  96. .soria .LightboxNext,
  97. .soria .LightboxPrev {
  98. width:15px;
  99. height:15px;
  100. background:url('../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png') no-repeat center center;
  101. background-position:-60px;
  102. }
  103. .soria .LightboxNext {
  104. background-position:-30px 0;
  105. }
  106. .soria .LightboxPrev {
  107. background-position:0 0;
  108. }
  109. .dojoxLightboxText {
  110. margin:0; padding:0;
  111. }