{"id":391,"date":"2011-08-07T22:39:35","date_gmt":"2011-08-08T05:39:35","guid":{"rendered":"http:\/\/10.0.1.201\/?p=391"},"modified":"2011-08-07T22:39:35","modified_gmt":"2011-08-08T05:39:35","slug":"mac-ready-lightbox-close-widget","status":"publish","type":"post","link":"https:\/\/strawhousepig.net\/wordpress\/2011\/08\/07\/mac-ready-lightbox-close-widget\/","title":{"rendered":"Mac ready &#8220;lightbox&#8221; close widget"},"content":{"rendered":"<p>I use a Mac, you use a Mac. Our close window button is in the top left corner of the window so it&#8217;s convenient when a JavaScript pop-over puts the &#8220;button&#8221; there, though most don&#8217;t. A few I run into I&#8217;ve decided to throw some CSS at to fix them.<\/p>\n<p><code>\/**** Mac ready \"close\" widget ****\/<br \/>\n\/* WordPress admin \"More info...\" *\/<br \/>\ndiv#TB_ajaxWindowTitle {<br \/>\n\tposition:absolute;<br \/>\n\ttop:0px;<br \/>\n\tleft:25px;<br \/>\n\tfloat:none !important;<br \/>\n\tdisplay:inline !important;<br \/>\n}<br \/>\ndiv#TB_closeAjaxWindow {<br \/>\n\tdisplay:inline !important;<br \/>\n\tfloat:left !important;<br \/>\n\tclear:left !important;<br \/>\n}<br \/>\n\/* Amazon *\/<br \/>\ndiv.ap_close {<br \/>\n\tleft: 24px !important;<br \/>\n}<br \/>\nspan.ap_closebutton {<br \/>\n\tfloat:left;<br \/>\n\tclear:left;<br \/>\n}<br \/>\n\/* \"Fancybox\" *\/<br \/>\na#fancybox-close {<br \/>\n\tleft:-15px !important;<br \/>\n}<br \/>\n\/* \"MultiBox\" *\/<br \/>\ndiv.MultiBoxClose {<br \/>\n\tleft:-26px !important;<br \/>\n}<br \/>\n\/* Disqus profile *\/<br \/>\na.dsq-modal-close-btn {<br \/>\n\tposition:absolute !important;<br \/>\n\ttop:10px !important;<br \/>\n\tleft:10px !important;<br \/>\n}<\/code><\/p>\n<p>This would of course go into your user defined CSS file. Which in Safari can be added at <strong>Safari > Preferences | Advanced &#8211; Style sheet:<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use a Mac, you use a Mac. Our close window button is in the top left corner of the window so it&#8217;s convenient when a JavaScript pop-over puts the &#8220;button&#8221; there, though most don&#8217;t. A few I run into I&#8217;ve decided to throw some CSS at to fix them. \/**** Mac ready &#8220;close&#8221; widget [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7],"tags":[13,15,23,28],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-code","category-web","tag-css","tag-fixit","tag-macintosh","tag-os-x"],"_links":{"self":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":0,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"wp:attachment":[{"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/strawhousepig.net\/wordpress\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}