From 4d51721173dedd4e0a1ab3a7733356433c2a7b4b Mon Sep 17 00:00:00 2001 From: fen Date: Sat, 12 Oct 2013 19:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=85=E6=A0=BC=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 32 +++----------------------------- admin/index.php | 6 +++--- admin/manage-comments.php | 4 ++-- admin/manage-medias.php | 2 +- admin/manage-metas.php | 20 +++++++++++--------- admin/manage-pages.php | 2 +- admin/manage-posts.php | 2 +- admin/manage-users.php | 2 +- admin/media.php | 4 ++-- admin/page-title.php | 2 +- admin/plugins.php | 2 +- admin/profile.php | 4 ++-- admin/theme-editor.php | 6 +++--- admin/themes.php | 2 +- admin/upgrade.php | 2 +- admin/user.php | 2 +- admin/welcome.php | 2 +- 17 files changed, 36 insertions(+), 60 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index dbc68e56..01d18e9e 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -316,7 +316,7 @@ button.primary:active, button.primary.active { */ .typecho-option { list-style: none; - margin: 1.5em 0; + margin: 1em 0; padding: 0; } @@ -1108,9 +1108,11 @@ a.operate-reply { } .typecho-list-table tr td .hidden-by-mouse, ul.typecho-list-notable li .hidden-by-mouse { + visibility: hidden; } .typecho-list-table tr:hover td .hidden-by-mouse, ul.typecho-list-notable li:hover .hidden-by-mouse { + visibility: visible; } .deactivate tbody, tr.deactivate td { @@ -1137,8 +1139,6 @@ a.operate-reply { .comment-action a, .comment-action span { margin-right: 4px; } -.comment-action { visibility: hidden; } -.typecho-list-table tr:hover .comment-action { visibility: visible; } /* 下拉操作按钮 */ /*.typecho-list-table tr:hover .drop-action { display: block; } @@ -1401,7 +1401,6 @@ ul.typecho-list-notable li .loading { } .typecho-page-main .typecho-mini-panel { - background: #DEE4C5; } .typecho-page-main .typecho-option label.typecho-label { @@ -1415,12 +1414,9 @@ ul.typecho-list-notable li .loading { } .typecho-page-main .typecho-mini-panel .typecho-option { - border: none; - padding: 0 10px; } .typecho-page-main .typecho-mini-panel .typecho-option li { - padding-left: 0; } .typecho-page-main .typecho-option input.text { @@ -1478,40 +1474,24 @@ ul.typecho-list-notable li .loading { } .typecho-page-main .typecho-content-panel ul.typecho-option { - border: none; } .typecho-page-main .typecho-content-panel ul.typecho-option-focus li { - margin: 10px 0 0 0; } .typecho-page-main .typecho-content-panel .typecho-option li { - padding-left: 110px; } .typecho-page-main .typecho-content-panel .typecho-option-submit li { - padding-top: 15px; } .typecho-page-main .typecho-content-panel h3 { - font-size: 18px; - padding: 10px 0; - margin: 20px 0; - color: #e47e00; - border-bottom: 1px solid #E8EDD6; } .typecho-page-main .typecho-content-panel h4 cite { - color: #777; - font-style: normal; - font-size: 13px; - font-weight: normal; - margin-left: 5px; } .typecho-page-main .typecho-content-panel h4 img { - margin-right: 10px; - margin-top: 10px; } /** @@ -1910,15 +1890,9 @@ ul.autocompleter-choices span.autocompleter-queried { } .typecho-page-main .typecho-mini-panel .tag-selection { - margin: 10px; - font-size: 13px; } .typecho-page-main .typecho-mini-panel .tag-selection a { - margin: 0 5px 5px 0; - display: block; - float: left; - white-space:nowrap; } .typecho-attachment-photo-box .description { diff --git a/admin/index.php b/admin/index.php index 6c89cddd..c8258ea5 100644 --- a/admin/index.php +++ b/admin/index.php @@ -9,7 +9,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
-
+

-
+

to($posts); ?> @@ -89,7 +89,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
-
+
diff --git a/admin/manage-comments.php b/admin/manage-comments.php index cf6570b4..5ed7581d 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -10,7 +10,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
-
+
    status) || 'approved' == $request->get('status')): ?> class="current"> @@ -121,7 +121,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
    content(); ?>
    -
    +
    status): ?> diff --git a/admin/manage-medias.php b/admin/manage-medias.php index f534aeac..b89d1584 100644 --- a/admin/manage-medias.php +++ b/admin/manage-medias.php @@ -11,7 +11,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
    -
    +
    diff --git a/admin/manage-metas.php b/admin/manage-metas.php index e1739340..e6432377 100644 --- a/admin/manage-metas.php +++ b/admin/manage-metas.php @@ -8,12 +8,14 @@ include 'menu.php';
    -
    +
      type) || 'category' == $request->get('type')): ?> class="current"> get('type')): ?> class="current">
    - +
    + +
    type) || 'category' == $request->get('type')): ?> to($categories); ?> @@ -37,11 +39,11 @@ include 'menu.php'; - - - - - + + + + + @@ -67,7 +69,7 @@ include 'menu.php'; defaultCategory == $categories->mid): ?> - + @@ -116,7 +118,7 @@ include 'menu.php'; -
    +
    type) || 'category' == $request->get('type')): ?> form()->render(); ?> diff --git a/admin/manage-pages.php b/admin/manage-pages.php index 12cfead5..ee9e61c2 100644 --- a/admin/manage-pages.php +++ b/admin/manage-pages.php @@ -9,7 +9,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
    -
    +
    diff --git a/admin/manage-posts.php b/admin/manage-posts.php index 531b8c30..a433a069 100644 --- a/admin/manage-posts.php +++ b/admin/manage-posts.php @@ -9,7 +9,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
    -
    +
    diff --git a/admin/manage-users.php b/admin/manage-users.php index bf88ea7e..80a5bf4e 100644 --- a/admin/manage-users.php +++ b/admin/manage-users.php @@ -7,7 +7,7 @@ include 'menu.php';
    -
    +
    diff --git a/admin/media.php b/admin/media.php index 14ad3ad6..def86f93 100644 --- a/admin/media.php +++ b/admin/media.php @@ -10,7 +10,7 @@ Typecho_Widget::widget('Widget_Contents_Attachment_Edit')->to($attachment);
    -
    +
    attachment->isImage): ?> <?php $attachment->attachment->name(); ?> @@ -27,7 +27,7 @@ Typecho_Widget::widget('Widget_Contents_Attachment_Edit')->to($attachment);
    -
    +
    form()->render(); ?>
    diff --git a/admin/page-title.php b/admin/page-title.php index 15de6e8e..ee73d4c2 100644 --- a/admin/page-title.php +++ b/admin/page-title.php @@ -7,7 +7,7 @@
    -
    +

    title; ?>addLink)) { echo "addLink}\">" . _t("新增") . ""; diff --git a/admin/plugins.php b/admin/plugins.php index 58a22ff5..9d41ad3b 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -7,7 +7,7 @@ include 'menu.php';
    -
    +
    to($activatedPlugins); ?> have()): ?> diff --git a/admin/profile.php b/admin/profile.php index a63e98f7..58077872 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -10,7 +10,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
    -
    +

    mail) . '?s=50&r=X' . '&d=" alt="' . $user->screenName . '" width="50" height="50" />'; ?> @@ -31,7 +31,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');

    passwordForm()->render(); ?>
    -
    +
    profileForm()->render(); ?>
    diff --git a/admin/theme-editor.php b/admin/theme-editor.php index 35dafc0a..053751c8 100644 --- a/admin/theme-editor.php +++ b/admin/theme-editor.php @@ -10,7 +10,7 @@ Typecho_Widget::widget('Widget_Themes_Files')->to($files);
    -
    +
    -
    +

    @@ -41,7 +41,7 @@ Typecho_Widget::widget('Widget_Themes_Files')->to($files);

    -

    count(); ?>