Theme editor font sizing and layout fixes from ionfish. see #5890

git-svn-id: http://svn.automattic.com/wordpress/trunk@6890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-17 22:23:04 +00:00
parent 878dd99bc2
commit df65d131ab
3 changed files with 88 additions and 80 deletions

View File

@ -1,5 +1,10 @@
#template textarea {
font: small 'Courier New', Courier, monospace;
font-family: 'Courier New', Courier, monospace;
font-size: 12px;
width: 97%;
}
#template p {
width: 97%;
}

View File

@ -152,8 +152,10 @@ if ($allowed_files) :
<input type="hidden" name="file" value="<?php echo $file ?>" />
<input type="hidden" name="theme" value="<?php echo $theme ?>" />
</div>
<div>
<?php if ( is_writeable($real_file) ) : ?>
<p class="submit">
<p class="submit">
<?php
echo "<input type='submit' name='submit' value=' " . __('Update File &raquo;') . "' tabindex='2' />";
?>
@ -161,6 +163,7 @@ if ($allowed_files) :
<?php else : ?>
<p><em><?php _e('You need to make this file writable before you can save your changes. See <a href="http://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.'); ?></em></p>
<?php endif; ?>
</div>
</form>
<?php
} else {

View File

@ -1,78 +1,78 @@
/* Based on Arabic (RTL) version of Kubrick theme, converted by Serdal (Serdal.com) */
.narrowcolumn, .alignleft, .widecolumn .smallattachment { float: right; }
.alignright, #commentform #submit { float: left; }
#page, .post, #wp-calendar #prev a { text-align: right; }
body, #commentform p { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
small { font-family: 'Geeza Pro', Tahoma, Arial, Helvetica, Sans-Serif; }
h1, h2, h3 { font-family: 'Al Bayan', 'Traditional Arabic', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#sidebar h2 { font-family: 'Al Bayan', 'Traditional Arabic', 'Lucida Grande', Verdana, Sans-Serif; }
.commentlist li, #commentform input, #commentform textarea { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#sidebar { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#wp-calendar caption { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
acronym, abbr, span.caps { letter-spacing: normal; }
#header { margin: 0 1px 0 0; }
.narrowcolumn { padding: 0 45px 20px 0; }
.widecolumn { margin: 5px 150px 0 0; }
.widecolumn .smallattachment { margin: 5px 0px 5px 5px; }
.postmetadata { clear: right; }
img.alignright { margin: 0 7px 2px 0; }
img.alignleft { margin: 0 0 2px 7px; }
.entry ol { padding: 0 35px 0 0; }
#sidebar ul ul, #sidebar ul ol { margin: 5px 10px 0 0; }
#sidebar ul ul ul, #sidebar ul ol { margin: 0 10px 0 0; }
#commentform input { margin: 5px 0 1px 5px; }
.commentlist p { margin: 10px 0 10px 5px; }
html>body .entry li { margin: 7px 10px 8px 0; }
html>body .entry ul {
margin-left: auto;
margin-right: 0px;
padding: 0 30px 0 0;
}
#sidebar {
margin-left: auto;
margin-right: 545px;
}
#wp-calendar #prev a, html>body .entry ul {
padding-left: 0;
padding-right: 10px;
}
blockquote {
border-left: 0;
border-right: 5px solid #ddd;
padding-left: 0;
padding-right: 20px;
margin: 15px 10px 0 30px;
}
#wp-calendar #next a {
padding-right: 0;
padding-left: 10px;
text-align: left;
}
/* Based on Arabic (RTL) version of Kubrick theme, converted by Serdal (Serdal.com) */
.narrowcolumn, .alignleft, .widecolumn .smallattachment { float: right; }
.alignright, #commentform #submit { float: left; }
#page, .post, #wp-calendar #prev a { text-align: right; }
body, #commentform p { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
small { font-family: 'Geeza Pro', Tahoma, Arial, Helvetica, Sans-Serif; }
h1, h2, h3 { font-family: 'Al Bayan', 'Traditional Arabic', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#sidebar h2 { font-family: 'Al Bayan', 'Traditional Arabic', 'Lucida Grande', Verdana, Sans-Serif; }
.commentlist li, #commentform input, #commentform textarea { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#sidebar { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
#wp-calendar caption { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
acronym, abbr, span.caps { letter-spacing: normal; }
#header { margin: 0 1px 0 0; }
.narrowcolumn { padding: 0 45px 20px 0; }
.widecolumn { margin: 5px 150px 0 0; }
.widecolumn .smallattachment { margin: 5px 0px 5px 5px; }
.postmetadata { clear: right; }
img.alignright { margin: 0 7px 2px 0; }
img.alignleft { margin: 0 0 2px 7px; }
.entry ol { padding: 0 35px 0 0; }
#sidebar ul ul, #sidebar ul ol { margin: 5px 10px 0 0; }
#sidebar ul ul ul, #sidebar ul ol { margin: 0 10px 0 0; }
#commentform input { margin: 5px 0 1px 5px; }
.commentlist p { margin: 10px 0 10px 5px; }
html>body .entry li { margin: 7px 10px 8px 0; }
html>body .entry ul {
margin-left: auto;
margin-right: 0px;
padding: 0 30px 0 0;
}
#sidebar {
margin-left: auto;
margin-right: 545px;
}
#wp-calendar #prev a, html>body .entry ul {
padding-left: 0;
padding-right: 10px;
}
blockquote {
border-left: 0;
border-right: 5px solid #ddd;
padding-left: 0;
padding-right: 20px;
margin: 15px 10px 0 30px;
}
#wp-calendar #next a {
padding-right: 0;
padding-left: 10px;
text-align: left;
}