From 4aa8481539d8c1d48dbfd811c725fa3597f8f8f8 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 17 Dec 2008 06:05:01 +0000 Subject: [PATCH] =?UTF-8?q?=EC=B5=9C=EA=B7=BC=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20>=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20cloud=EC=9D=98=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=20=EA=B2=B0=EA=B3=BC=EB=AC=BC=20=EC=A0=95=EB=A6=AC.?= =?UTF-8?q?=20=EB=8B=A8=20cloud=5Fpopup=EC=9D=80=20=ED=98=84=EC=9E=AC=20cl?= =?UTF-8?q?oud=EC=99=80=20=EB=8F=99=EC=9D=BC=ED=95=9C=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=EC=9D=84=20=ED=95=A8=20(=EC=B0=A8=ED=9B=84=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EC=98=88=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5104 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../newest_images/skins/cloud/css/normal.css | 48 +++---- widgets/newest_images/skins/cloud/list.html | 119 ++++++------------ .../skins/cloud_preview/css/normal.css | 49 +++----- .../skins/cloud_preview/list.html | 119 ++++++------------ .../skins/cloud_preview/skin.xml | 2 +- 5 files changed, 117 insertions(+), 220 deletions(-) diff --git a/widgets/newest_images/skins/cloud/css/normal.css b/widgets/newest_images/skins/cloud/css/normal.css index dd2842c81..d20e4ad63 100644 --- a/widgets/newest_images/skins/cloud/css/normal.css +++ b/widgets/newest_images/skins/cloud/css/normal.css @@ -1,4 +1,4 @@ -.imgcloudoutline { padding-bottom:5px; overflow:hidden; position:relative; text-align:center;} +.imgcloudoutline { padding-bottom:5px; overflow:hidden; position:relative; } .imgcloudoutline h2 { text-align:left; font-size:1em; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:5px; color:#000000; background:url(../images/normal/lineNotice.gif) no-repeat left bottom;} .imgcloudoutline { padding-bottom:5px; overflow:hidden; position:relative;} @@ -6,35 +6,21 @@ .imgcloudoutline a.more { text-decoration:none;} .imgcloudoutline a.more:hover { text-decoration:underline;} - .imgcloudoutline table { - margin: 1px auto; - border: 0px solid #ddd; - } - - .imgcloudoutline img.imgcloud { - border: 1px solid #e0e1db; - padding: 2px; - overflow: hidden; - display:block; - } +.imgcloudoutline table { + border:1px solid #ddd; +} - .imgcloudoutline img.imgcloud:hover { - border: 2px solid #7899AF; - padding: 1px; - overflow: hidden; - display:block; - cursor: pointer; - } +.imgcloudoutline table td { + vertical-align:middle; + text-align:center; +} - .imgcloudoutline img.imgcloudbig { - border: 1px solid #e0e1db; - padding: 2px; - overflow: hidden; - } - - .imgcloudoutline img.imgcloudbig:hover { - border: 2px solid #7899AF; - padding: 1px; - overflow: hidden; - cursor: pointer; - } +.imgcloudoutline table tbody tr td { + padding:1px; + background-color:transparent; + vertical-align:middle; +} + +.imgcloudoutline table tbody tr td:hover { + background-color:#7899AF; +} diff --git a/widgets/newest_images/skins/cloud/list.html b/widgets/newest_images/skins/cloud/list.html index be8b64f4a..961797f4b 100644 --- a/widgets/newest_images/skins/cloud/list.html +++ b/widgets/newest_images/skins/cloud/list.html @@ -1,9 +1,22 @@ - + + {@ shuffle($widget_info->document_list)} + + + {@ $width = 40} + + {@ $width = $widget_info->thumbnail_width } + + + {@ $height = 40} + + {@ $height = $widget_info->thumbnail_height } + +

{$widget_info->title}

@@ -13,86 +26,36 @@ more - - {@ shuffle($widget_info->document_list)} + + + + + + + + + - - {@ - $width = $widget_info->thumbnail_width ? $widget_info->thumbnail_width : "40"; - $height = $widget_info->thumbnail_height ? $widget_info->thumbnail_height : "40"; - $image[$i] = ($widget_info->document_list[$i]->document_srl) ? $widget_info->document_list[$i]->getThumbnail($width*2,$height*2,$widget_info->thumbnail_type) : $tpl_path."/images/blank.gif"; - $url[$i] = ($widget_info->document_list[$i]->document_srl) ? "href=\"".getUrl('','document_srl',$widget_info->document_list[$i]->document_srl)."\"" : ""; - } - + + + + + - + + + + + + - - {@ $colsrows = $widget_info->cols_list_count * $j} -
- - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- + +
diff --git a/widgets/newest_images/skins/cloud_preview/css/normal.css b/widgets/newest_images/skins/cloud_preview/css/normal.css index 409773177..0df27573e 100644 --- a/widgets/newest_images/skins/cloud_preview/css/normal.css +++ b/widgets/newest_images/skins/cloud_preview/css/normal.css @@ -1,4 +1,4 @@ -.imgcloudoutline_preview { padding-bottom:5px; overflow:hidden; position:relative; text-align:center;} +.imgcloudoutline_preview { padding-bottom:5px; overflow:hidden; position:relative;} .imgcloudoutline_preview h2 { text-align:left; font-size:1em; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:5px; color:#000000; background:url(../images/normal/lineNotice.gif) no-repeat left bottom;} .imgcloudoutline_preview { padding-bottom:5px; overflow:hidden; position:relative;} @@ -6,36 +6,21 @@ .imgcloudoutline_preview a.more { text-decoration:none;} .imgcloudoutline_preview a.more:hover { text-decoration:underline;} - .imgcloudoutline_preview table { - margin: 0px auto; - border:1px solid #ddd; - } - - .imgcloudoutline_preview .imgcloud { - border:1px solid #ddd; - padding: 1px; - overflow: hidden; - } +.imgcloudoutline_preview table { + border:1px solid #ddd; +} - .imgcloudoutline_preview .imgcloud:hover { - border: 2px solid #7899AF; - padding: 0px; - overflow: hidden; - } +.imgcloudoutline_preview table td { + vertical-align:middle; + text-align:center; +} - .imgcloudoutline_preview .imgcloudbig { - border:1px solid #ddd; - padding: 1px; - overflow: hidden; - } - - .imgcloudoutline_preview .imgcloudbig:hover { - border: 2px solid #7899AF; - padding: 0px; - overflow: hidden; - } - - .imgcloudoutline_preview .cloudimg { - border: 0px; - cursor: pointer; - } \ No newline at end of file +.imgcloudoutline_preview table tbody tr td { + padding:1px; + background-color:transparent; + vertical-align:middle; +} + +.imgcloudoutline_preview table tbody tr td:hover { + background-color:#7899AF; +} diff --git a/widgets/newest_images/skins/cloud_preview/list.html b/widgets/newest_images/skins/cloud_preview/list.html index 780755381..1435d8f5e 100644 --- a/widgets/newest_images/skins/cloud_preview/list.html +++ b/widgets/newest_images/skins/cloud_preview/list.html @@ -1,9 +1,22 @@ - + + {@ shuffle($widget_info->document_list)} + + + {@ $width = 40} + + {@ $width = $widget_info->thumbnail_width } + + + {@ $height = 40} + + {@ $height = $widget_info->thumbnail_height } + +

{$widget_info->title}

@@ -13,86 +26,36 @@ more - - {@ shuffle($widget_info->document_list)} + + + + + + + + + - - {@ - $width = $widget_info->thumbnail_width ? $widget_info->thumbnail_width : "40"; - $height = $widget_info->thumbnail_height ? $widget_info->thumbnail_height : "40"; - $ratio = $width / $height; + + + + + - $image[$i] = ($widget_info->document_list[$i]->document_srl) ? $widget_info->document_list[$i]->getThumbnail(200*$ratio,200,$widget_info->thumbnail_type) : $tpl_path."/images/blank.gif"; - } - + + + + + + - + + + + + - - {@ $colsrows = $widget_info->cols_list_count * $j} -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ +
diff --git a/widgets/newest_images/skins/cloud_preview/skin.xml b/widgets/newest_images/skins/cloud_preview/skin.xml index b0a9ba76c..6d8721b5a 100644 --- a/widgets/newest_images/skins/cloud_preview/skin.xml +++ b/widgets/newest_images/skins/cloud_preview/skin.xml @@ -28,4 +28,4 @@ 預設顏色 - \ No newline at end of file +