s4
changeset 287:422270e94adc
New flag attached to `time' has low visibility. Attached to `td'.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 15 Aug 2016 13:45:59 +0859 |
parents | 1c4f13f0813e |
children | d50996dc2664 |
files | examples/common/default/default.css s4-blog.sh |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/examples/common/default/default.css Mon Aug 15 11:15:20 2016 +0859 1.2 +++ b/examples/common/default/default.css Mon Aug 15 13:45:59 2016 +0859 1.3 @@ -87,8 +87,8 @@ 1.4 width: 400px; height: 300px; max-width: 50em; max-height: 20em; 1.5 padding: 0; border: 0; 1.6 } 1.7 -.blog_replies span.new { /* New Article from last visit */ 1.8 - background: white; color: red; 1.9 +.blog_replies td.new { /* New Article from last visit */ 1.10 + background: white 1.11 } 1.12 p.profimg {float: left; max-width: 400px; max-height: 400px; 1.13 overflow: hidden; margin-right: 1em;
2.1 --- a/s4-blog.sh Mon Aug 15 11:15:20 2016 +0859 2.2 +++ b/s4-blog.sh Mon Aug 15 13:45:59 2016 +0859 2.3 @@ -186,9 +186,9 @@ 2.4 name=\"notifyto\" value=\"$uid\">返信通知送信</label>" 2.5 cat<<EOF | 2.6 <tr id="$id"> 2.7 -<td>${edit:+<a href="$elink+$edit">編集</a> }#$aid 2.8 +<td${new:+ class="new"}>${edit:+<a href="$elink+$edit">編集</a> }#$aid 2.9 <a href="$hlink+$uid">$uname</a> 2.10 -<span${new:+ class="new"}>$tm</span> 2.11 +$tm 2.12 ${notify:+$nt}</td><td id="$aid">`echo "$hte"|unhexize|htmlescape` 2.13 EOF 2.14 hreflink