thickbox-elgg.css 5.0 KB

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