From 846ff1c477dd303251516d47bb1dbc839e211a8f Mon Sep 17 00:00:00 2001 From: fen Date: Tue, 15 Oct 2013 14:16:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 45 +++++++++++++++++++++++++------------------- admin/write-post.php | 4 ++-- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 592351a7..96a2d15d 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -679,15 +679,16 @@ margin-top: 25px; background: #292D33; } -.typecho-nav-list { -} - #typecho-nav-list ul { list-style: none; margin: 0; padding: 0; } +#typecho-nav-list ul:first-child { + border-left: 1px solid #383D45; +} + #typecho-nav-list .root { position: relative; float: left; @@ -698,30 +699,36 @@ margin-top: 25px; } #typecho-nav-list .parent a { - color: #FFF; + display: block; + float: left; + padding: 0 20px; + border-right: 1px solid #383D45; height: 36px; line-height: 36px; - display: block; - padding: 0 20px; - float: left; + color: #BBB; } #typecho-nav-list .parent a:hover, #typecho-nav-list .focus .parent a, #typecho-nav-list .root:hover .parent a { background: #202328; + color: #FFF; text-decoration: none; } +#typecho-nav-list .focus .parent a { + font-weight: bold; +} + #typecho-nav-list .child { display: none; position: absolute; top: 36px; margin: 0; + width: 160px; background: #202328; overflow: hidden; z-index: 250; - width: 160px; } #typecho-nav-list .root:hover .child { @@ -737,18 +744,9 @@ margin-top: 25px; #typecho-nav-list .child li.last { } -#typecho-nav-list .child li a:hover, -#typecho-nav-list .child li.focus a, -#typecho-nav-list .child li.focus a:hover { - background: #292D33; -} -#typecho-nav-list .child li.focus a { - color: #6DA1BB; -} - #typecho-nav-list .child li a { text-decoration: none; - color: #FFF; + color: #BBB; display: block; padding: 0 20px; overflow: hidden; @@ -758,6 +756,15 @@ margin-top: 25px; line-height: 36px; } +#typecho-nav-list .child li a:hover { + background: #292D33; + color: #FFF; +} +#typecho-nav-list .child li.focus a { + color: #6DA1BB; + font-weight: bold; +} + .typecho-head-nav .operate { position: absolute; top: 0px; @@ -1993,7 +2000,7 @@ ul.typecho-list-notable li .loading { * Upload */ #upload-panel { - padding: 10px 15px; + padding: 15px; border: 1px dashed #D9D9D6; background-color: #FFF; color: #999; diff --git a/admin/write-post.php b/admin/write-post.php index ffd404b9..9051a202 100644 --- a/admin/write-post.php +++ b/admin/write-post.php @@ -64,7 +64,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
- + to($category); ?>
- +

From d829988bf6aa69867045eff5947d5a288463fbd8 Mon Sep 17 00:00:00 2001 From: fen Date: Tue, 15 Oct 2013 15:08:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E5=90=8D=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 28 +++++++------- admin/write-post.php | 89 +++++++++++++++++++++----------------------- 2 files changed, 56 insertions(+), 61 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index 96a2d15d..11d4d0b0 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1561,7 +1561,7 @@ ul.typecho-list-notable li .loading { .typecho-post-area .typecho-label { display: block; - margin-bottom: -0.5em; + margin: 1em 0 -0.5em; font-weight: bold; } @@ -1688,6 +1688,17 @@ ul.typecho-list-notable li .loading { font-size: 1.17em; font-weight: bold; } +.typecho-post-area .url-slug { + margin-top: -0.5em; + color: #AAA; + font-size: .92857em; +} +.typecho-post-area #slug { + padding: 2px; + border: none; + background: #FFFBCC; + color: #666; +} .typecho-post-area textarea#text { } @@ -1738,11 +1749,6 @@ ul.typecho-list-notable li .loading { padding: 0; } -.visibility-option { - float: left; - width: 50%; -} - /*.typecho-post-area .advance, .typecho-post-area .attach, .typecho-post-area .media { font-weight: bold; color: #333; @@ -2007,8 +2013,8 @@ ul.typecho-list-notable li .loading { font-size: .92857em; } -#upload-panel.drag { - background-color: #FFF9E8; +#upload-panel.drag, .tDnD_whileDrag { + background-color: #FFFBCC; } #file-list { @@ -2095,12 +2101,6 @@ ul.typecho-list-notable li .loading { #ui-datepicker-div button { height: 28px; } #ui-datepicker-div .ui-datepicker-current { float: left; - border-color: #F3F3F0; - color: #467B96; - background: #F3F3F0; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; } #ui-datepicker-div .ui-datepicker-close { float: right; } diff --git a/admin/write-post.php b/admin/write-post.php index cd07ee0a..b85e04d5 100644 --- a/admin/write-post.php +++ b/admin/write-post.php @@ -10,14 +10,14 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
- -

+ draft && $post->draft['cid'] != $post->cid): ?> + draft['modified']); ?> + 删除它', $postModifyDate->word(), + Typecho_Common::url('/action/contents-post-edit?do=deleteDraft&cid=' . $post->cid, $options->index)); ?> + +

+ +

http://xxxxxxxxxxxx.com/2011/08/29//

bold option($post); ?> have()): ?> @@ -103,39 +131,6 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);

-
-
- -

-

- advanceOptionLeft($post); ?> -
- - pass('editor', true)): ?> -
- -
    -
  • status == 'publish' && !$post->password) || !$post->status) { ?> checked="true" />
  • -
  • password) { ?> checked="true" />
  • -
  • status == 'private') { ?> checked="true" />
  • -
  • status == 'waiting') { ?> checked="true" />
  • -
-
- - -
- -
    -
  • allow('comment')): ?>checked="true" /> -
  • -
  • allow('ping')): ?>checked="true" /> -
  • -
  • allow('feed')): ?>checked="true" /> -
  • - advanceOptionRight($post); ?> -
-
-