thickbox.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /* ----------------------------------------------------------------------------------------------------------------*/
  2. /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
  3. /* ----------------------------------------------------------------------------------------------------------------*/
  4. /* ----------------------------------------------------------------------------------------------------------------*/
  5. /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
  6. /* ----------------------------------------------------------------------------------------------------------------*/
  7. #TB_window {
  8. font: 12px Arial, Helvetica, sans-serif;
  9. color: #333333;
  10. }
  11. #TB_secondLine {
  12. font: 10px Arial, Helvetica, sans-serif;
  13. color:#666666;
  14. }
  15. #TB_window a:link {color: #666666;}
  16. #TB_window a:visited {color: #666666;}
  17. #TB_window a:hover {color: #000;}
  18. #TB_window a:active {color: #666666;}
  19. #TB_window a:focus{color: #666666;}
  20. /* ----------------------------------------------------------------------------------------------------------------*/
  21. /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
  22. /* ----------------------------------------------------------------------------------------------------------------*/
  23. #TB_overlay {
  24. position: fixed;
  25. z-index:100;
  26. top: 0px;
  27. left: 0px;
  28. height:100%;
  29. width:100%;
  30. }
  31. .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
  32. .TB_overlayBG {
  33. background-color:#ccc;
  34. filter:alpha(opacity=55);
  35. -moz-opacity: 0.55;
  36. opacity: 0.55;
  37. }
  38. * html #TB_overlay { /* ie6 hack */
  39. position: absolute;
  40. height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  41. }
  42. #TB_window {
  43. position: fixed;
  44. background: #ffffff;
  45. z-index: 102;
  46. color:#000000;
  47. display:none;
  48. border: 4px solid #525252;
  49. text-align:left;
  50. top:50%;
  51. left:50%;
  52. }
  53. * html #TB_window { /* ie6 hack */
  54. position: absolute;
  55. margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
  56. }
  57. #TB_window img#TB_Image {
  58. display:block;
  59. margin: 15px 0 0 15px;
  60. border-right: 1px solid #ccc;
  61. border-bottom: 1px solid #ccc;
  62. border-top: 1px solid #666;
  63. border-left: 1px solid #666;
  64. }
  65. #TB_caption{
  66. height:25px;
  67. padding:7px 30px 10px 25px;
  68. float:left;
  69. }
  70. #TB_closeWindow{
  71. height:25px;
  72. padding:11px 25px 10px 0;
  73. float:right;
  74. }
  75. #TB_closeAjaxWindow{
  76. padding:7px 10px 5px 0;
  77. margin-bottom:1px;
  78. text-align:right;
  79. float:right;
  80. }
  81. #TB_ajaxWindowTitle{
  82. float:left;
  83. padding:7px 0 5px 10px;
  84. margin-bottom:1px;
  85. }
  86. #TB_title{
  87. background-color:#e8e8e8;
  88. height:27px;
  89. }
  90. #TB_ajaxContent{
  91. clear:both;
  92. padding:2px 15px 15px 15px;
  93. overflow:auto;
  94. text-align:left;
  95. line-height:1.4em;
  96. }
  97. #TB_ajaxContent.TB_modal{
  98. padding:15px;
  99. }
  100. #TB_ajaxContent p{
  101. padding:5px 0px 5px 0px;
  102. }
  103. #TB_load{
  104. position: fixed;
  105. display:none;
  106. height:13px;
  107. width:208px;
  108. z-index:103;
  109. top: 50%;
  110. left: 50%;
  111. margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
  112. }
  113. * html #TB_load { /* ie6 hack */
  114. position: absolute;
  115. margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
  116. }
  117. #TB_HideSelect{
  118. z-index:99;
  119. position:fixed;
  120. top: 0;
  121. left: 0;
  122. background-color:#fff;
  123. border:none;
  124. filter:alpha(opacity=0);
  125. -moz-opacity: 0;
  126. opacity: 0;
  127. height:100%;
  128. width:100%;
  129. }
  130. * html #TB_HideSelect { /* ie6 hack */
  131. position: absolute;
  132. height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
  133. }
  134. #TB_iframeContent{
  135. clear:both;
  136. border:none;
  137. margin-bottom:-1px;
  138. margin-top:1px;
  139. _margin-bottom:1px;
  140. }