diff --git a/wp-admin/css/theme-editor.css b/wp-admin/css/theme-editor.css new file mode 100644 index 000000000..e4dccdf17 --- /dev/null +++ b/wp-admin/css/theme-editor.css @@ -0,0 +1,45 @@ +#template textarea { + font: small 'Courier New', Courier, monospace; + width: 97%; +} + +#templateside { + float: right; + width: 200px; + overflow: hidden; + position: absolute; + right: 15%; + top: 250px; +} + +#templateside h3, #postcustom p.submit { + margin: 0; +} + +#templateside ol, #templateside ul { + list-style: none; + margin: .5em; + padding: 0; +} + +#templateside ol li, #templateside ul li { + margin: 1px 0px; +} + +#themeselector { + padding-right: 5px; + float: right; + position: relative; + bottom: 25px; +} + +.nonessential { + font-size: small; + color: #999999; +} + +.highlight { + background-color: #E4F2FD; + padding: 1px; + color: #d54e21; +} \ No newline at end of file diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 745882c2b..43d18ce76 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -5,6 +5,7 @@ $title = __("Edit Themes"); $parent_file = 'themes.php'; wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme')); +wp_admin_css( 'css/theme-editor' ); $themes = get_themes(); @@ -78,42 +79,64 @@ default: ?>

- -
-
- - - -
-
+ - ' . sprintf(__('Editing %s'), $file_show) . ''; - } else { - echo '

' . sprintf(__('Browsing %s'), $file_show) . '

'; - } - ?> +$description = get_file_description($file); +$desc_header = ( $description != $file_show ) ? "$description (%s)" : "%s"; +?> +
+
+

Theme Editor

+
+ + + +
+
+
+
+
+ +
+
+
+
-

'%s' theme files"), $theme) ?>

+

+

+

+ diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 85e254d34..81a456859 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -380,27 +380,6 @@ input.delete:hover { zoom: 1; } -#template textarea { - font: small 'Courier New', Courier, monospace; - width: 97%; -} - -#templateside { - float: right; - width: 170px; - overflow: hidden; -} - -#templateside h3, #postcustom p.submit { - margin: 0; -} - -#templateside ol, #templateside ul { - list-style: none; - margin: .5em; - padding: 0; -} - .active td { background: #BEB; } @@ -1219,6 +1198,11 @@ p#post-search { padding: 0 0 .2em 1px; } +.bordertitle { + padding-bottom: 5px; + border-bottom: 1px solid #dadada; +} + /* Global classes */ .wp-hidden-children .wp-hidden-child { display: none; } .wp-no-js-hidden { display: none; }