From 587f37157f746a08cc3d38a60fb76e274ed0d95c Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 14 May 2004 06:10:19 +0000 Subject: [PATCH] Quicktags update to position them more with how the items are usually positioned. Still need tooltips with the access key for each button. git-svn-id: http://svn.automattic.com/wordpress/trunk@1270 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/quicktags.js | 33 +++++++++++++++++---------------- wp-admin/wp-admin.css | 7 +++---- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/wp-admin/quicktags.js b/wp-admin/quicktags.js index 3ba17d857..3d70130d1 100644 --- a/wp-admin/quicktags.js +++ b/wp-admin/quicktags.js @@ -37,6 +37,23 @@ new edButton('ed_em' ,'i' ); +edButtons[edButtons.length] = +new edButton('ed_link' +,'link' +,'' +,'' +,'a' +); // special case + +edButtons[edButtons.length] = +new edButton('ed_block' +,'b-quote' +,'
' +,'
' +,'q' +); + + edButtons[edButtons.length] = new edButton('ed_del' ,'del' @@ -53,14 +70,6 @@ new edButton('ed_ins' ,'d' ); -edButtons[edButtons.length] = -new edButton('ed_link' -,'link' -,'' -,'' -,'a' -); // special case - edButtons[edButtons.length] = new edButton('ed_img' ,'img' @@ -94,14 +103,6 @@ new edButton('ed_li' ,'l' ); -edButtons[edButtons.length] = -new edButton('ed_block' -,'b-quote' -,'
' -,'
' -,'q' -); - edButtons[edButtons.length] = new edButton('ed_pre' ,'code' diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index dfd653184..fe6a82cb4 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -198,7 +198,7 @@ textarea, input, select { .updated { background: #f0f8ff; border: 1px solid #69c; - margin: 5px 5% 10px; + margin: 1em 5% 10px; padding: 0 1em 0 1em; } @@ -309,16 +309,15 @@ textarea, input, select { #ed_em { font-style: italic; - width: 25px; } #ed_strong { font-weight: bold; - width: 1.9em; } #excerpt { - height: 1.5em; + height: 1.8em; + width: 98%; } #footer {