better style for single photo details
authorAndreas Unterkircher <unki@netshadow.at>
Fri, 15 Jun 2007 19:27:50 +0000 (19:27 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Fri, 15 Jun 2007 19:27:50 +0000 (19:27 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@98 fa6a889d-dae6-447d-9e79-4ba9a3039384

stylesheet.css
templates/single_photo.tpl

index d1f3ae01bdb9f7bb1c18c18af6fa5b2e45097162..76840140647661fed16ded588bb9df7eb0dc9960 100644 (file)
@@ -115,7 +115,21 @@ a.tag:visited, a.tag:active {
    color:                  #00ff00;\r
 } \r
 a.tag:hover {\r
+   color:                  #00aa44;\r
+}\r
+\r
 \r
+a.smalltag {\r
+   font-size:              12px;\r
+   color:                  #000000;\r
+   text-decoration:        underline;\r
+   font-style:             italic;\r
+}\r
+\r
+a.smalltag:visited, a.smalltag:active {\r
+   color:                  #00ff00;\r
+} \r
+a.smalltag:hover {\r
    color:                  #00aa44;\r
 }\r
 \r
@@ -140,3 +154,12 @@ td.thumb {
    border:                 dashed 1px #888888;\r
 \r
 }\r
+\r
+#photo_details {\r
+   width:                  150px;\r
+   font-size:              12px;\r
+   padding:                10px;\r
+   -moz-border-radius:     1em;\r
+   border-radius:          1em;\r
+   border:                 dashed 1px #888888;\r
+}\r
index adeb9f85e3173e410bbc0ae22e7b82e52a46f5a4..4e043a1d381e0a6a3def16c7f5b435fc9fc5be5c 100644 (file)
    </table>
    </div>
   </td>
-  <td style="white-space: nowrap;">
+  <td style="width: 150px; padding-top: 40px;">
+   <div id="photo_details">
    { if $ExifMadeWith }
-   With: {$ExifMadeWith}<br />
+   <u>Image taken with:</u><br />
+   {$ExifMadeWith}<br />
    { /if }
    { if $ExifMadeOn }
+   <u>Image made on:</u><br />
    On: {$ExifMadeOn}<br />
    { /if }
    { if $ExifOrigResolution }
-   Res: {$ExifOrigResolution}<br />
+   <u>Original resolution:</u><br />
+   {$ExifOrigResolution}<br />
    { /if }
-   Size: {$ExifFileSize}kbyte<br />
-   Tagged:<br />
-   { foreach from=$tags key=id item=name }
-   <a href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br />
-   { /foreach }
+   <u>Size:</u>&nbsp;{$ExifFileSize}kbyte<br />
+   { if $tags }
+    <br />
+    <u>Tagged with:</u><br />
+    { foreach from=$tags key=id item=name }
+    <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br />
+    { /foreach }
+   { /if }
+   </div>
   </td>
  </tr>
 </table>