From dff15b64a0dfdb208a760b0806cb83b477faa15c Mon Sep 17 00:00:00 2001 From: fen Date: Wed, 16 Oct 2013 10:56:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/css/style.css | 63 +++++++++++++++++++++++++++++--------------- admin/menu.php | 14 +++++----- admin/plugins.php | 2 +- admin/write-post.php | 3 +-- 4 files changed, 51 insertions(+), 31 deletions(-) diff --git a/admin/css/style.css b/admin/css/style.css index c4f28704..f4a85c93 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -678,6 +678,23 @@ margin-top: 25px; background: #292D33; } +.typecho-head-nav a { + color: #BBB; +} +.typecho-head-nav a:hover { + color: #FFF; + text-decoration: none; +} + +.typecho-head-nav .site-name { + display: inline-block; + float: left; + padding: 0 20px 0 10px; + height: 36px; + line-height: 36px; + font-weight: bold; +} + #typecho-nav-list ul { list-style: none; margin: 0; @@ -693,10 +710,6 @@ margin-top: 25px; float: left; } -#typecho-nav-list .parent { - float: left; -} - #typecho-nav-list .parent a { display: block; float: left; @@ -711,12 +724,12 @@ margin-top: 25px; #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; + color: #FFF; } #typecho-nav-list .child { @@ -745,7 +758,6 @@ margin-top: 25px; } #typecho-nav-list .child li a { - text-decoration: none; color: #BBB; display: block; padding: 0 20px; @@ -766,12 +778,20 @@ margin-top: 25px; } .typecho-head-nav .operate { - position: absolute; - top: 0px; - right: 0; + float: right; } - -.typecho-head-nav .operate .author { +.typecho-head-nav .operate a { + display: inline-block; + margin-left: -1px; + padding: 0 20px; + border: 1px solid #383D45; + border-width: 0 1px; + line-height: 36px; + color: #BBB; +} +.typecho-head-nav .operate a:hover { + background-color: #202328; + color: #FFF; } @@ -824,7 +844,7 @@ margin-top: 25px; } .typecho-page-title h2 a { margin-left: 10px; - padding: 3px 6px; + padding: 3px 8px; background: #E9E9E6; font-size: .8em; @@ -933,7 +953,7 @@ margin-top: 25px; */ .typecho-option-tabs { list-style: none; - margin: 0 0 20px; + margin: 0; padding: 0; } @@ -979,7 +999,7 @@ margin-top: 25px; } .typecho-list-operate { - margin-bottom: 20px; + margin: 1em 0; } .typecho-list-operate input, @@ -1031,8 +1051,8 @@ a.operate-reply { */ /** 增加表格标题 by 70 */ .typecho-list-table-title { + margin: 1em 0; color: #999; - text-align: center; } .typecho-list-table { @@ -1576,7 +1596,7 @@ ul.typecho-list-notable li .loading { .typecho-post-area #auto-save-message { color: #999; - line-height: 32px; + font-size: .92857em; } /*.typecho-post-area .typecho-preview-label { @@ -1647,7 +1667,8 @@ ul.typecho-list-notable li .loading { .typecho-post-area label.typecho-label cite { } -.typecho-post-area .submit { +.typecho-post-area .submit .right button { + margin-left: 5px; } .typecho-post-area .right { @@ -2021,10 +2042,10 @@ ul.typecho-list-notable li .loading { background-color: #FFFBCC; } .tDnD_whileDrag { - -ms-transform-origin: 0 0; - -moz-transform-origin: 0 0; - -webkit-transform-origin: 0 0; - transform-origin: 0 0; + -ms-transform-origin: 20% 0; + -moz-transform-origin: 20% 0; + -webkit-transform-origin: 20% 0; + transform-origin: 20% 0; -ms-transform: rotate(2deg); -moz-transform: rotate(2deg); diff --git a/admin/menu.php b/admin/menu.php index 85989337..7841cbc1 100644 --- a/admin/menu.php +++ b/admin/menu.php @@ -1,16 +1,16 @@
-
+ title(); ?> +
- Typecho - +
- navBar(); _e('欢迎'); ?>, - screenName(); ?> - + + screenName(); ?>
+ have() && in_array($notice->noticeType, array('success', 'notice', 'error'))): ?>