From: Andreas Unterkircher Date: Thu, 7 Jun 2007 07:09:52 +0000 (+0000) Subject: some style improvements X-Git-Tag: phpfspot-1.2~303 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c498e18d97daa7ae42e355adf24b8c77cacad33;p=phpfspot.git some style improvements git-svn-id: file:///var/lib/svn/phpfspot/trunk@32 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/phpfspot_cfg.php b/phpfspot_cfg.php index 955a6ff..1be6325 100644 --- a/phpfspot_cfg.php +++ b/phpfspot_cfg.php @@ -8,7 +8,7 @@ class PHPFSPOT_CFG { var $web_path = "/phpfspot"; - var $thumb_width = "200"; + var $thumb_width = "150"; var $photo_width = "800"; diff --git a/stylesheet.css b/stylesheet.css index 33d20da..02f69a4 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -1,31 +1,100 @@ body { - background-color: rgb(255,255,255); - color: rgb(26,151,15); - font-family: Arial, Helvetica, sans-serif; - font-style: normal; - border-style: none; - border-color: rgb(15,15,15); + background-color: #000000; + color: rgb(26,151,15); + font-family: Arial, Helvetica, sans-serif; + font-style: normal; + border: solid 1px #ffffff; + border-color: rgb(15,15,15); + padding: 10px; } -#content { - padding-top: 20px; - margin-left: 25%; width: auto; +#frame { + padding: 10px; + background-color: #ffffff; } -#tags { - font-size: 14px; - padding-top: 20px; - width: 150px; - position: relative; - top: 0; - left: 0; - float: left; +table, tr, td { + border-collapse: collapse; + padding: 0px; + empty-cells: show; + vertical-align: top; } -#logo { - font-weight: bolder; +td.tags { + font-size: 14px; + width: 150px; + padding: 2px; + padding-top: 10px; + border-top: solid 1px #000000; + border-right: solid 1px #000000; +} + +td.available_tags,td.selected_tags { + border-bottom: solid 1px #000000; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 10px; +} + +td.logo { + font-weight: bolder; + height: 40px; + border-bottom: solid 1px #000000; +} + +td.content { + border-top: solid 1px #000000; +} + +td.menu { + padding-top: 5px; + padding-bottom: 5px; +} + +td.index_header { + background-color: #eeeeee; + padding: 10px; + vertical-align: middle; } img { - border-style: none; + border: none; +} + +img.thumb { +} + +a { + font-size: 14px; + color: #008200; + text-decoration: none; +} + +a:visited, a:active { + color: #00ff00; +} +a:hover { + color: #00aa44; +} + +#matrix { + padding: 10px; +} + +td.thumb { + padding: 1px; + text-align: center; +} + +#outter { + padding: 10px; + background-color: #eeeeee; +} + +#inner { + padding: 7px; + -moz-border-radius: 1em; + border-radius: 1em; + border: dashed 1px #888888; + } diff --git a/templates/index.tpl b/templates/index.tpl index 38af584..bec381b 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,11 +1,31 @@ {include file="header.tpl"} - -
- {include file="tags.tpl"} -
-
- {include file="welcome.tpl"} +
+ + + + + + + + + + + +
+
+ {include file="tags.tpl"} +
+
+
+ {include file="welcome.tpl"} +
+
{include file="footer.tpl"} diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 97c9fb8..3172547 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -1,22 +1,41 @@ - -{section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} - {/section} -{/section}
- {$count} images have been found for the selected tags + + Photo Index
+ {if $count == 1} + {$count} image has been found for the selected tags + {else} + {$count} images have been found for the selected tags + {/if}
- {if $images[row][col] } - - - - {/if} +
+ + {section name="row" loop=$rows step=1} + + {section name="col" loop=$columns step=1} + + {/section} + + {/section} +
+ {if $images[row][col] } +
+
+ + + +
+
+ {else} +   + {/if} +
+
diff --git a/templates/tags.tpl b/templates/tags.tpl index 2a6a7a8..084c1ea 100644 --- a/templates/tags.tpl +++ b/templates/tags.tpl @@ -1,31 +1,25 @@ - - - - -
- The following tags are available: + Available Tags:
-
+
+
- The following tags have been selected: + Selected Tags:
-
+
+
 
- Photo Index - Reset Tags -