From f2f9c3a5ced1e9615b333431f25d23217e243f4c Mon Sep 17 00:00:00 2001 From: FlyingSky-CN Date: Sun, 12 Jan 2020 19:40:30 +0800 Subject: [PATCH] =?UTF-8?q?UI=20|=20=E8=AF=84=E8=AE=BA=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=AE=8C=E5=96=84=20#15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comments.php | 7 +++++-- header.php | 2 +- page-whisper.php | 8 +++++--- style.css | 6 +----- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/comments.php b/comments.php index 8e5e4b8..d89ed8c 100644 --- a/comments.php +++ b/comments.php @@ -57,7 +57,7 @@ function threadedComments($comments, $options) { user->hasLogin()): ?>

登录身份: user->screenName(); ?>. options->PjaxOption): ?> no-pjax >退出 »

-

user->hasLogin()): ?>class="textarea"> +

user->hasLogin()): ?>class="textarea"style="margin-bottom:5px">

user->hasLogin()): ?> @@ -113,7 +113,10 @@ function threadedComments($comments, $options) { if (null != textarea && 'text' == textarea.name) { textarea.focus() } - response.style.padding='8px 8px 0px 8px'; + response.style.padding='8px'; + user->hasLogin()): ?> + response.style.paddingBottom='5px'; + return false }, cancelReply: function() { diff --git a/header.php b/header.php index 0e8df9e..7b12367 100644 --- a/header.php +++ b/header.php @@ -121,7 +121,7 @@ } - +

发表user->pass('editor', true) ? '轻语' : '评论' ?>

user->pass('editor', true)): ?> action="commentUrl() ?>" id="comment-form"user->hasLogin()): ?> class="comment-form clearfix"> -

user->hasLogin()): ?>class="textarea"> +

user->hasLogin()): ?>class="textarea"style="margin-bottom:5px">

-

user->hasLogin()): ?>class="textbutton"> user->hasLogin()): ?> +

options->commentsRequireMail): ?> required /> options->commentsRequireURL): ?> required /> +user->hasLogin()): ?>

+
options->commentsThreaded): ?> - + diff --git a/style.css b/style.css index 786dcbd..153485d 100644 --- a/style.css +++ b/style.css @@ -39,7 +39,7 @@ input, textarea, button { } input, textarea { padding:5px; - border:1px solid #eee; + border:none; width:100%; height:30px; border-radius:2px; @@ -490,10 +490,6 @@ button, input[type=submit], .menu-parent a, .rewards a { font-weight:bold; font-style:normal } -.comment-list .respond { - margin-top:15px; - border-top:1px solid #eee -} .respond .cancel-comment-reply { float:right; margin-top:15px;