Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
|
|
|
160 | 160 | margin-bottom:-1px; |
161 | 161 | _margin-bottom:1px; |
162 | 162 | } |
| 163 | |
| 164 | .tb-close-icon { |
| 165 | background: url('tb-close.png') no-repeat; |
| 166 | height: 15px; |
| 167 | width: 15px; |
| 168 | } |
| 169 | |
| 170 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { |
| 171 | .tb-close-icon { |
| 172 | background: url('tb-close-2x.png') no-repeat; |
| 173 | background-size: 15px; |
| 174 | } |
| 175 | } |
| 176 | No newline at end of file |
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: wp-includes/js/thickbox/tb-close-2x.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
|
|
|
8 | 8 | if ( typeof tb_pathToImage != 'string' ) { |
9 | 9 | var tb_pathToImage = thickboxL10n.loadingAnimation; |
10 | 10 | } |
11 | | if ( typeof tb_closeImage != 'string' ) { |
12 | | var tb_closeImage = thickboxL10n.closeImage; |
13 | | } |
14 | 11 | |
15 | 12 | /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ |
16 | 13 | |
… |
… |
|
59 | 56 | } |
60 | 57 | |
61 | 58 | if(caption===null){caption="";} |
62 | | jQuery("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page |
| 59 | jQuery("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' width='208' /></div>");//add loader to the page |
63 | 60 | jQuery('#TB_load').show();//show loader |
64 | 61 | |
65 | 62 | var baseURL; |
… |
… |
|
132 | 129 | |
133 | 130 | TB_WIDTH = imageWidth + 30; |
134 | 131 | TB_HEIGHT = imageHeight + 60; |
135 | | jQuery("#TB_window").append("<a href='' id='TB_ImageOff' title='"+thickboxL10n.close+"'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><img src='" + tb_closeImage + "' /></a></div>"); |
| 132 | jQuery("#TB_window").append("<a href='' id='TB_ImageOff' title='"+thickboxL10n.close+"'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><div class='tb-close-icon'></div></a></div>"); |
136 | 133 | |
137 | 134 | jQuery("#TB_closeWindowButton").click(tb_remove); |
138 | 135 | |
… |
… |
|
200 | 197 | urlNoQuery = url.split('TB_'); |
201 | 198 | jQuery("#TB_iframeContent").remove(); |
202 | 199 | if(params['modal'] != "true"){//iframe no modal |
203 | | jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><img src='" + tb_closeImage + "' /></a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' >"+thickboxL10n.noiframes+"</iframe>"); |
| 200 | jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='"+thickboxL10n.close+"'><div class='tb-close-icon'></div></a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' >"+thickboxL10n.noiframes+"</iframe>"); |
204 | 201 | }else{//iframe modal |
205 | 202 | jQuery("#TB_overlay").unbind(); |
206 | 203 | jQuery("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'>"+thickboxL10n.noiframes+"</iframe>"); |
… |
… |
|
208 | 205 | }else{// not an iframe, ajax |
209 | 206 | if(jQuery("#TB_window").css("visibility") != "visible"){ |
210 | 207 | if(params['modal'] != "true"){//ajax no modal |
211 | | jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'><img src='" + tb_closeImage + "' /></a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>"); |
| 208 | jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'><div class='tb-close-icon'></div></a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>"); |
212 | 209 | }else{//ajax modal |
213 | 210 | jQuery("#TB_overlay").unbind(); |
214 | 211 | jQuery("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>"); |