Commit Graph

19 Commits

Author SHA1 Message Date
Andrew Ozz 48ef1a9784 RTL: properly align the demo image in the Edit Image popup, props nacin, fixes #22733
git-svn-id: http://core.svn.wordpress.org/trunk@23039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 19:51:35 +00:00
Andrew Nacin 7183a9cce9 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: http://core.svn.wordpress.org/trunk@22629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-17 06:50:08 +00:00
Andrew Ozz dc43ad3ac8 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: http://core.svn.wordpress.org/trunk@22586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-14 23:21:59 +00:00
nacin 5d2090ee53 Move to pixels to avoid off-by-one rendering in Chrome. props trepmal. fixes #20402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 20:56:26 +00:00
nacin 841cda2d1a Remove monospace from TinyMCE caption/alignment image edit popup. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 19:54:04 +00:00
azaozz 9f4408c741 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:31:31 +00:00
azaozz 73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
azaozz ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
azaozz 70d6691f15 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: http://svn.automattic.com/wordpress/trunk@12660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 13:06:17 +00:00
azaozz 3c15f6a8d3 Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 06:37:15 +00:00
azaozz 6adb94fd45 TinyMCE 3.2.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@9674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 02:35:02 +00:00
ryan 7699e2d46b Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@9375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-28 04:19:39 +00:00
ryan d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
ryan 3b48af4a6d Fix quotes in captions. Props azaozz. see #6812
git-svn-id: http://svn.automattic.com/wordpress/trunk@8290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 23:38:53 +00:00
ryan 16dbf2fb1e Edit image updates from azaozz. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:26:03 +00:00
ryan d9d0a899db Add RTL stylesheet for edit image. Props azaozz. see #681!
git-svn-id: http://svn.automattic.com/wordpress/trunk@8088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 21:01:32 +00:00
ryan f8012b15fb 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: http://svn.automattic.com/wordpress/trunk@8083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-14 16:38:08 +00:00
ryan 2cc03f7d06 Unify TinyMCE image popup and insert image popup. Props azaozz. see #6811
git-svn-id: http://svn.automattic.com/wordpress/trunk@8066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 04:40:21 +00:00