From fc6775ae5b69f566dcc32aa765e47ab6229c9abb Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 8 May 2008 21:27:46 -0700 Subject: [PATCH] cleanup: moved more CSS into the stylesheet started separating the CSS from the templates. Signed-off-by: Arun Persaud --- themes/default/stylesheet.css | 37 ++++++++++++++++++++++++++ themes/default/templates/search.tpl | 4 +-- themes/default/templates/slideshow.tpl | 6 ++--- themes/default/templates/tags.tpl | 4 +-- themes/default/templates/welcome.tpl | 28 +++++++++---------- 5 files changed, 58 insertions(+), 21 deletions(-) diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 7771736..8fbee2f 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -55,6 +55,10 @@ div.searchfor { border-bottom: solid 1px #000000; } +div.searchfor td.nowrap { + white-space: nowrap; +} + .menu { position: absolute; left: 0px; @@ -81,6 +85,7 @@ div.header { padding: 10px; vertical-align: middle; white-space: nowrap; + text-align: left; } div.subheader { @@ -90,6 +95,19 @@ div.subheader { white-space: nowrap; } +div.welcome { + padding: 10px; + margin-left: 10px; + margin-right: 10px; +} + +div.welcome div { + float: left; + padding-right: 10px; + width: 150px; + text-align: center; +} + img { border: none; } @@ -192,6 +210,11 @@ div.thumb a.thumblink:hover { line-height: 21px; } +span.tags { + vertical-align: middle; + text-decoration: underline; +} + table.calendar tr td { border: solid 1px #ffffff; padding: 1px; @@ -225,6 +248,16 @@ table.calendar tr td { vertical-align: middle; } +#slide_close { + margin: 0 auto; + padding: 10px; +} + +#slide_close img { + padding: 15px; + background-color: #000000; +} + input.submit,input.checkbox { background-color: transparent; border: 0px; @@ -236,3 +269,7 @@ input, select, textarea { border: 1px solid #888888; border-collapse: collapse; } + +#slider-1{ + margin: 0 auto; +} \ No newline at end of file diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index f983c40..18d1f40 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -1,4 +1,4 @@ - + loupeSearch:
@@ -39,7 +39,7 @@ Date: - + { if ! $date_search_enabled } { else } diff --git a/themes/default/templates/slideshow.tpl b/themes/default/templates/slideshow.tpl index c5e8ba5..22c86a8 100644 --- a/themes/default/templates/slideshow.tpl +++ b/themes/default/templates/slideshow.tpl @@ -10,13 +10,13 @@ -
+ -
+
diff --git a/themes/default/templates/tags.tpl b/themes/default/templates/tags.tpl index 326c095..e4b04a8 100644 --- a/themes/default/templates/tags.tpl +++ b/themes/default/templates/tags.tpl @@ -1,8 +1,8 @@ - + available tagsAvailable Tags:
- + selected tagsSelected Tags:   diff --git a/themes/default/templates/welcome.tpl b/themes/default/templates/welcome.tpl index 4629fda..7edda55 100644 --- a/themes/default/templates/welcome.tpl +++ b/themes/default/templates/welcome.tpl @@ -1,35 +1,35 @@ -
+
phpfspot welcomes you to a dynamic photo gallery for F-Spot
-
+
-
- -
+

+ +
This application targets to provide an easy way, to presentate your F-Spot
pictures in the web, in a way where you do not need any of the current
web2.0 providers or setup complex apps like gallery -
+


-
- -
+

+ +
You can adapt this welcome page in the file "welcome.tpl" in the template
directory of your current theme. -
+


-
- -
+

+ [ Click here to take a look at your photo index or select a tag from the list on the left ] +

-- 2.25.1