From e9ac9af2bbbba44c9d175b2fc98415293f6204c4 Mon Sep 17 00:00:00 2001 From: fen Date: Sat, 12 Oct 2013 16:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 176 +++++++++++++------------------------- admin/manage-comments.php | 2 +- admin/manage-metas.php | 6 +- admin/options-theme.php | 12 +-- admin/plugins.php | 4 +- admin/theme-editor.php | 49 ++++++----- admin/themes.php | 64 +++++++------- 7 files changed, 126 insertions(+), 187 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index e374a08f..782f01c3 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -134,6 +134,7 @@ textarea { textarea { resize: vertical; + line-height: 1.5; } input.text-s { padding: 5px; } @@ -563,7 +564,7 @@ margin-top: 25px; * 后台分页 */ .typecho-pager { - margin-top: 20px; + margin-top: 30px; font-size: 1.14286em; text-align: center; } @@ -578,6 +579,7 @@ margin-top: 25px; .typecho-pager ul { list-style: none; float: left; + margin: 0; padding: 0; zoom: 1; } @@ -902,81 +904,48 @@ margin-top: 25px; /** * 标签页 */ -.typecho-option-tabs, .typecho-editor-tab { - height: 30px; - zoom: 1; - border-bottom: 2px solid #C5D19D; +.typecho-option-tabs { + list-style: none; + margin: 0 0 20px; + padding: 0; } -.typecho-editor-tab { - background: none; -} - -.typecho-option-tabs li, .typecho-editor-tab li { - float: left; - margin: 4px 0px 0px 5px; +.typecho-option-tabs a { + display: block; + padding: 0 10px; height: 26px; - background: #e8eccd; - - -moz-border-radius-topleft: 3px; - -moz-border-radius-topright: 3px; - -webkit-border-top-left-radius: 3px; - -webkit-border-top-right-radius: 3px; - - /* hope IE support border radius, God save me! */ - border-bottom-top-radius: 3px; - border-bottom-top-radius: 3px; + line-height: 26px; + border-radius: 3px; +} +.typecho-option-tabs a:hover { + background-color: #E9E9E6; + text-decoration: none; +} + +.typecho-option-tabs li { + float: left; + margin-right: 10px; } .typecho-option-tabs li.right { float: right; - margin: 4px 5px 0px 0; + margin: 0 0 0 10px; } -.typecho-editor-tab li { - float: right; - font-size: 13px; - font-weight: bold; - margin: 4px 0 0px 2px; - cursor: pointer; - padding: 0 15px; - border: 1px solid #F7FBE9; - border-bottom: none; - line-height: 24px; - color: #333; -} - -.typecho-editor-tab li.current { - border: 1px solid #C1CD94; - border-bottom: none; - background: #D3DBB3; -} - -.typecho-editor-tab li.loading { - padding-left: 32px; - background-image: url(../images/ajax-loader.gif); - background-position: 8px 4px; - background-repeat: no-repeat; +.typecho-option-tabs li.current a { + background-color: #E6E6E3; + color: #666; } .typecho-option-tabs li:hover, .typecho-option-tabs li.current { - background: #C5D19D; } .typecho-option-tabs li a:link, .typecho-option-tabs li a:visited { - display: block; - outline: none; - color: #333; - text-decoration: none; - padding: 3px 15px; } /** * 表格列表页 */ -.typecho-article-list { - margin-top: 25px; -} /** * 列表页选项 @@ -1033,7 +1002,6 @@ margin-top: 25px; .typecho-list-operate span.operate-delete, a.operate-delete { color: #CC0000; - font-weight: bold; } a.operate-edit { @@ -1058,6 +1026,7 @@ a.operate-reply { /** 增加表格标题 by 70 */ .typecho-list-table-title { color: #999; + text-align: center; } .typecho-list-table { @@ -1066,6 +1035,10 @@ a.operate-reply { background: #FFF; } +.typecho-list-table.deactivate { + color: #999; +} + .typecho-list-table .right { text-align: right; } @@ -1364,72 +1337,54 @@ ul.typecho-list-notable li .loading { * 模板列表 */ .typecho-theme-list { - border-collapse: separate; - border-spacing: 0; - border-top: 1px solid #CAD7A2; - border-bottom: 1px solid #CAD7A2; -} +} + +.typecho-theme-list .theme-item { +} .typecho-theme-list td { - line-height: 20px; - vertical-align: top; - padding: 10px 5px; } .typecho-theme-list td.border-right { - border-right: 1px solid #CAD7A2; } .typecho-theme-list td.border-bottom { - border-bottom: 1px solid #CAD7A2; } .typecho-theme-list img { - background: #FFF; - padding: 2px; - margin: 0 15px 0 5px; - float: left; + margin: 1em 0; + max-width: 100%; + max-height: 240px; +} + +.typecho-theme-list cite { + font-style: normal; + color: #999; } .typecho-theme-list p { - padding: 5px 0; - font-size: 13px; +} + +.typecho-theme-list .theme-action { } .typecho-theme-list .activate, .typecho-theme-list .edit { - display: none; } .typecho-theme-list h4 { - font-weight: bold; } .typecho-theme-list tbody tr:hover td { - background: none; } -.typecho-theme-list tbody tr td.current, .typecho-theme-list tbody tr td:hover { - background: #e3eebd; +.typecho-theme-list tbody tr.current td { + background-color: #FFF9E8; } .typecho-theme-list tbody tr td:hover .activate, .typecho-theme-list tbody tr td:hover .edit { - display: block; - position: absolute; - background: #BD6800; - color: #fff; - height: 24px; - line-height: 24px; - padding: 0 5px; - font-weight: bold; - white-space: nowrap; - opacity:0.8; - -ms-filter:'alpha(opacity=80)'; - filter:alpha(opacity=80); } .typecho-theme-list tbody tr td:hover a.activate:hover, .typecho-theme-list tbody tr td:hover a.edit:hover { - background: #D29B51; - text-decoration: none; } /** @@ -1588,53 +1543,39 @@ ul.typecho-list-notable li .loading { */ .typecho-edit-theme ul { - width: 150px; - float: left; - padding: 10px 0px 10px 10px; + list-style: none; + margin: 0; + padding: 0; } .typecho-edit-theme li { - line-height: 25px; - height: 25px; - margin-bottom: 5px; - font-size: 11px; - text-align: right; - padding: 0px 10px 0px 0px; + padding: 3px 10px; } .typecho-edit-theme li a:link, .typecho-edit-theme li a:visited { - color: #333; - display: block; } .typecho-edit-theme li a:hover { - text-decoration: none; } .typecho-edit-theme .current { - background: #DEE4C5; - -moz-border-radius-topleft: 3px; - -moz-border-radius-bottomleft: 3px; - -webkit-border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - - /* hope IE support border radius, God save me! */ - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; + background-color: #E6E6E3; +} +.typecho-edit-theme .current a { + color: #444; } .typecho-edit-theme .content { - width: 780px; - float: left; - padding: 10px 10px 10px 0px; } .typecho-edit-theme .submit { - margin: 20px 0 20px 0; text-align: center; } .typecho-edit-theme textarea { + font-size: .92857em; + line-height: 1.2; + height: 500px; } /** @@ -1642,7 +1583,6 @@ ul.typecho-list-notable li .loading { */ .typecho-post-area { - margin-bottom: 15px; } .typecho-post-area label.typecho-label { diff --git a/admin/manage-comments.php b/admin/manage-comments.php index ab135afa..cf6570b4 100644 --- a/admin/manage-comments.php +++ b/admin/manage-comments.php @@ -11,7 +11,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
-
    +
      status) || 'approved' == $request->get('status')): ?> class="current"> get('status')): ?> class="current">
      -
        + @@ -17,7 +17,7 @@ include 'menu.php'; type) || 'category' == $request->get('type')): ?> to($categories); ?>
        -
        +
        @@ -84,7 +84,7 @@ include 'menu.php'; to($tags); ?> -
        +
        diff --git a/admin/options-theme.php b/admin/options-theme.php index 3c48223f..5e8aee58 100644 --- a/admin/options-theme.php +++ b/admin/options-theme.php @@ -8,12 +8,12 @@ include 'menu.php';
        -
          -
        • -
        • -
        • -
        -
        +
        +
          +
        • +
        • +
        • +
        config()->render(); ?>
        diff --git a/admin/plugins.php b/admin/plugins.php index 1e71d231..40c51d4d 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -10,7 +10,7 @@ include 'menu.php';
        to($activatedPlugins); ?> have()): ?> -

        + @@ -45,7 +45,7 @@ include 'menu.php'; activated): ?> config): ?> - | + • diff --git a/admin/theme-editor.php b/admin/theme-editor.php index d115b6ea..35dafc0a 100644 --- a/admin/theme-editor.php +++ b/admin/theme-editor.php @@ -10,8 +10,8 @@ Typecho_Widget::widget('Widget_Themes_Files')->to($files);
        -
        -
        diff --git a/admin/themes.php b/admin/themes.php index e72b1195..9072a1b7 100644 --- a/admin/themes.php +++ b/admin/themes.php @@ -8,8 +8,8 @@ include 'menu.php';
        -
        -
          +
          +
          • @@ -19,37 +19,37 @@ include 'menu.php';
        - - + + - to($themes); ?> - next()): ?> - alt('', ''); ?> - length - $themes->sequence >= ($themes->length % 2 ? 1 : 2)); - ?> - - sequence; ?> - alt('', ''); ?> - - - - + + + + + + + + to($themes); ?> + next()): ?> + + + + + +
        -
        - -
        -
        -

        title ? $themes->title() : $themes->name(); ?>

        - author): ?>: homepage): ?>author(); ?>homepage): ?>    - version): ?>: version() ?> - -

        description); ?>

        -
        - theme != $themes->name): ?> - - - -
         
        截图详情
        <?php $themes->name(); ?> +

        title ? $themes->title() : $themes->name(); ?>

        + + author): ?>: homepage): ?>author(); ?>homepage): ?>    + version): ?>: version() ?> + +

        description); ?>

        + theme != $themes->name): ?> +

        +   + +

        + +