From 70d6691f15e37f82bbef4100414c7f1ad1311ebe Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 8 Jan 2010 13:06:17 +0000 Subject: [PATCH] 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 --- .../plugins/wpeditimage/css/editimage.css | 25 +- .../plugins/wpeditimage/editimage.html | 26 +- .../plugins/wpeditimage/js/editimage.dev.js | 613 ++++++++++++++++++ .../plugins/wpeditimage/js/editimage.js | 608 +---------------- 4 files changed, 647 insertions(+), 625 deletions(-) create mode 100644 wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.dev.js diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css b/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css index 26974d3400..12bb771ae6 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css +++ b/wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css @@ -40,6 +40,12 @@ select { padding: 3px; } +p.help { + margin: 4px 0; + font-size: 12px; + font-style: italic; +} + body, td { font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; } @@ -52,11 +58,13 @@ abbr.required { img.alignright, .alignright { float: right; + margin-left: 5px; } img.alignleft, .alignleft { float: left; + margin-right: 5px; } img.aligncenter { @@ -149,9 +157,9 @@ th.label { -khtml-border-top-right-radius: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; - border-style:solid; - border-width:1px; - font-weight:normal; + border-style: solid; + border-width: 1px; + font-weight: normal; } #adv_settings .field label { @@ -279,13 +287,16 @@ form { .describe textarea { width: 460px; border: 1px solid #dfdfdf; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; } - .media-upload-form label, .media-upload-form legend { font-weight: bold; - font-size: 13px; + font-size: 12px; color: #464646; } @@ -341,3 +352,7 @@ div#media-upload-error { height: 27px; line-height: 26px; } + +* html input { + border: 1px solid #ddd; +} diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html b/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html index efba4a2042..d7ad227168 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html +++ b/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html @@ -4,10 +4,10 @@ - + - +