Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Ozz 4f4e7e5cec RTL: properly align the demo image in the Edit Image popup, props nacin, fixes #22733
git-svn-id: https://develop.svn.wordpress.org/trunk@23039 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-04 19:51:35 +00:00
Andrew Nacin fe14a22e31 Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
{{{
@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}}}

Serve HiDPI graphics for printing, regardless of screen resolution.

Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.

Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.

Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.

props iammattthomas for the exhaustive research.
props lessbloat for patching.

fixes #22238.



git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:50:08 +00:00
Andrew Ozz 434af4ce3e TinyMCE: fix styles, add 2x background icons and load buttons.css in the Edit Image modal, remove wp-view styles from content.css, add 2x icons for the popup buttons (for editing image and gallery), fixes #22447, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@22586 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 23:21:59 +00:00
Andrew Nacin a14e7a1e8f Move to pixels to avoid off-by-one rendering in Chrome. props trepmal. fixes #20402.
git-svn-id: https://develop.svn.wordpress.org/trunk@20597 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 20:56:26 +00:00
Andrew Nacin af4b4bb752 Remove monospace from TinyMCE caption/alignment image edit popup. see #18311.
git-svn-id: https://develop.svn.wordpress.org/trunk@20593 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 19:54:04 +00:00
Andrew Ozz e169217ad0 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20114 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:31:31 +00:00
Andrew Ozz 0fa723245a HTML in image captions, first run, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@19982 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 01:58:18 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Ozz fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Andrew Ozz cb192bb9c7 Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655, fixes #10442
git-svn-id: https://develop.svn.wordpress.org/trunk@12660 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 13:06:17 +00:00
Andrew Ozz 4fa6ae8fa5 Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-23 06:37:15 +00:00
Andrew Ozz a697919990 TinyMCE 3.2.1
git-svn-id: https://develop.svn.wordpress.org/trunk@9674 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 02:35:02 +00:00
Ryan Boren 304340a9b0 Fix quotes in captions. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8290 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:38:53 +00:00
Ryan Boren 94bd9ef781 Edit image updates from azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8167 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:26:03 +00:00
Ryan Boren 761c8cef28 Image popup improvements from azaozz. Added translation strings, RTL support, several layout improvements, image border, hspace and vspace can be used as shortcuts to add css styles, the preview is visible on both tabs, etc. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8083 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:38:08 +00:00
Ryan Boren 4c1b6184ba Unify TinyMCE image popup and insert image popup. Props azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8066 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 04:40:21 +00:00