블로그에서 사용되는 최근글/댓글/엮인글/태그/보관목록의 위젯에 layout에 따르는 스킨 컬러셋을 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3086 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-27 06:43:42 +00:00
parent 8fd52c2667
commit 68d82d913e
42 changed files with 246 additions and 206 deletions

View file

@ -1,5 +1,5 @@
.newestDocument_cyan { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.newestDocument_cyan h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
.newestDocument_cyan .documentList { padding:1.2em; overflow:hidden;}
.newestDocument_cyan .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.newestDocument_cyan .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
.blog_widget_cyan .newest_document { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.blog_widget_cyan .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
.blog_widget_cyan .newest_document .items { padding:10px; overflow:hidden;}
.blog_widget_cyan .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.blog_widget_cyan .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }

View file

@ -1,5 +1,5 @@
.newestDocument_green { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.newestDocument_green h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
.newestDocument_green .documentList { padding:1.2em; overflow:hidden;}
.newestDocument_green .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.newestDocument_green .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
.blog_widget_green .newest_document { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.blog_widget_green .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
.blog_widget_green .newest_document .items { padding:10px; overflow:hidden;}
.blog_widget_green .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.blog_widget_green .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }

View file

@ -1,5 +1,5 @@
.newestDocument_normal { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.newestDocument_normal h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
.newestDocument_normal .documentList { padding:1.2em; overflow:hidden;}
.newestDocument_normal .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.newestDocument_normal .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
.blog_widget_normal .newest_document { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.blog_widget_normal .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
.blog_widget_normal .newest_document .items { padding:10px; overflow:hidden;}
.blog_widget_normal .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.blog_widget_normal .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }

View file

@ -1,5 +1,5 @@
.newestDocument_purple { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.newestDocument_purple h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
.newestDocument_purple .documentList { padding:1.2em; overflow:hidden;}
.newestDocument_purple .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.newestDocument_purple .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
.blog_widget_purple .newest_document { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.blog_widget_purple .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
.blog_widget_purple .newest_document .items { padding:10px; overflow:hidden;}
.blog_widget_purple .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.blog_widget_purple .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }

View file

@ -1,5 +1,5 @@
.newestDocument_red { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.newestDocument_red h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
.newestDocument_red .documentList { padding:1.2em; overflow:hidden;}
.newestDocument_red .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.newestDocument_red .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
.blog_widget_red .newest_document { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
.blog_widget_red .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
.blog_widget_red .newest_document .items { padding:10px; overflow:hidden;}
.blog_widget_red .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
.blog_widget_red .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }

View file

@ -8,22 +8,25 @@
<!--%import("css/red.css")-->
<!--@elseif($colorset=="purple")-->
<!--%import("css/purple.css")-->
<!--@else-->
<!--@elseif($colorset=="normal")-->
<!--%import("css/normal.css")-->
{@ $colorset = "normal"; }
<!--@else-->
{$colorset = "" }
<!--@end-->
<div class="newestDocument_{$colorset}">
<div class="blog_widget_{$colorset}">
<div class="newest_document">
<div class="header">
<!--@if($widget_info->title)-->
<h2>{$widget_info->title}</h2>
<!--@else-->
<h2>newest documents</h2>
<!--@end-->
<!--@if($widget_info->title)-->
<h2>{$widget_info->title}</h2>
<!--@else-->
<h2>newest documents</h2>
<!--@end-->
</div>
<ul class="documentList">
<!--@foreach($widget_info->document_list as $oDocument)-->
<li><a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a> {$oDocument->printExtraImages($widget_info->duration_new)}</li>
<!--@end-->
<ul class="items">
<!--@foreach($widget_info->document_list as $oDocument)-->
<li>{$oDocument->printExtraImages($widget_info->duration_new)} <a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a></li>
<!--@end-->
</ul>
</div>
</div>