From fe76382a1ef52c3d2f049a9230e8522a2b406c35 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Tue, 1 Jan 2008 15:27:57 +0100 Subject: issue59, outer page skeleton is now table free --- themes/default/stylesheet.css | 466 +++++++++++++++++++----------------- themes/default/templates/footer.tpl | 1 + themes/default/templates/index.tpl | 80 ++++--- themes/default/templates/search.tpl | 4 +- 4 files changed, 285 insertions(+), 266 deletions(-) (limited to 'themes') diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index e12e57d..b07fff1 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -1,225 +1,241 @@ -body { - color: rgb(26,151,15); - font-family: sans-serif; - font-style: normal; - margin-left: 0px; - margin-right: 0px; -} - -body.slideshow { - color: rgb(26,151,15); - font-family: sans-serif; - font-style: normal; - border: none; - padding: 10px; - text-align: center; -} - - -table, tr, td { - border-collapse: collapse; - padding: 0px; - empty-cells: show; - vertical-align: top; -} - -td.options { - width: 250px; - max-width: 250px; - min-width: 250px; - padding: 5px; - padding-top: 8px; - 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; - line-height: 21px; -} - -td.searchfor { - border-bottom: solid 1px #000000; - padding-top: 10px; - padding-bottom: 10px; - padding-right: 10px; - line-height: 21px; - font-size: 12px; - vertical-align: middle; -} - -.menu { - font-weight: bolder; - padding: 5px; - height: 30px; - border-bottom: solid 1px #000000; -} - -td.content { - border-top: solid 1px #000000; -} - -.logo { - float: none; - background-color: #eeeeee; -} - -td.index_header { - background-color: #eeeeee; - padding: 10px; - vertical-align: middle; - white-space: nowrap; -} - -td.content_title { - background-color: #eeeeee; - padding: 10px; - vertical-align: middle; -} - - -img { - border: none; -} - -img.thumb { -} - -a { - font-size: 14px; - color: #008200; - text-decoration: none; -} - -a:hover { - color: #00aa44; -} - -a.tag { - color: #000000; - text-decoration: underline; -} - -a.tag:hover { - color: #00aa44; -} - -a.smalltag { - font-size: 12px; - color: #000000; - text-decoration: underline; - font-style: italic; -} - -a.smalltag:hover { - color: #00aa44; -} - -a.thumblink { - font-size: 12px; -} - -a.calendar { - font-size: 10px; -} - -a.thumblink:hover { - color: #4761ab; -} - -#single { - padding: 10px; - display: table; - table-layout: fixed; - border: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - -table.matrix { - padding: 10px; - display: table; - table-layout: fixed; - border-style: hidden; - border-spacing: 10px; - border-collapse: separate; - margin-left: auto; - margin-right: auto; -} - -td.thumb { - text-align: center; - display: table-cell; - vertical-align: top; - -moz-border-radius: 3px; - border-radius: 3px; - border: dashed 1px #888888; - margin: 5px; - background-color: #eeeeee; - padding: 10px; -} - -#photo_details { - width: 150px; - font-size: 12px; - padding: 10px; - -moz-border-radius: 1em; - border-radius: 1em; - border: dashed 1px #888888; -} - -#available_tags { - clip: auto; - overflow: auto; -} - -table.calendar tr td { - border: solid 1px #ffffff; - padding: 1px; - text-align: center; - font-size: 10px; -} - -.prevMonth { - font-size: 10px; - text-align: left; -} -.nextMonth { - font-size: 10px; - text-align: right; -} -#calendar { - position: absolute; - width: 140px; - height: 200px; - background-color: #000000; - visibility: hidden; - z-index: 1000; -} - -#slide_navigation { - text-align: center; - padding: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: dashed 1px #888888; - vertical-align: middle; -} - -input.submit { - background-color: #ffffff; - border: 0px; -} - -input, select, textarea { - background-color: #eeeeee; - color: #333333; - border: 1px solid #888888; - border-collapse: collapse; -} - +body { + color: rgb(26,151,15); + font-family: sans-serif; + font-style: normal; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; +} + +body.slideshow { + color: rgb(26,151,15); + font-family: sans-serif; + font-style: normal; + border: none; + padding: 10px; + text-align: center; +} + +table, tr, td { + border-collapse: collapse; + padding: 0px; + empty-cells: show; + vertical-align: top; +} + +/* left column containg search and tag-selection */ +.options { + position: absolute; + left: 0px; + top: 40px; + width: 265px; + max-width: 265px; + min-width: 265px; + padding-top: 8px; + padding-bottom: 10px; + padding-left: 5px; + padding-right: 10px; + border-right: solid 1px #000000; +} + +/* main cell containing photo content */ +.content { + margin-top: 40px; + margin-left: 280px; + margin-right: 0px; + padding: 0px; +} + +td.available_tags,td.selected_tags { + border-bottom: solid 1px #000000; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 10px; + line-height: 21px; +} + +td.searchfor { + border-bottom: solid 1px #000000; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 10px; + line-height: 21px; + font-size: 12px; + vertical-align: middle; +} + +.menu { + position: absolute; + left: 0px; + top: 0px; + height: 30px; + width: 100%; + margin: 0px; + padding: 5px 0px; + border-bottom: solid 1px #000000; +} + +.icons { + float: left; +} + +/* logo 'text' */ +.logo { + background-color: #eeeeee; + font-weight: bolder; +} + +td.index_header { + background-color: #eeeeee; + padding: 10px; + vertical-align: middle; + white-space: nowrap; +} + +td.content_title { + background-color: #eeeeee; + padding: 10px; + vertical-align: middle; +} + +img { + border: none; +} + +img.thumb { +} + +a { + font-size: 14px; + color: #008200; + text-decoration: none; +} + +a:hover { + color: #00aa44; +} + +a.tag { + color: #000000; + text-decoration: underline; +} + +a.tag:hover { + color: #00aa44; +} + +a.smalltag { + font-size: 12px; + color: #000000; + text-decoration: underline; + font-style: italic; +} + +a.smalltag:hover { + color: #00aa44; +} + +a.thumblink { + font-size: 12px; +} + +a.calendar { + font-size: 10px; +} + +a.thumblink:hover { + color: #4761ab; +} + +#single { + padding: 10px; + display: table; + table-layout: fixed; + border: hidden; + border-spacing: 10px; + border-collapse: separate; + margin-left: auto; + margin-right: auto; +} + +table.matrix { + padding: 10px; + display: table; + table-layout: fixed; + border-style: hidden; + border-spacing: 10px; + border-collapse: separate; + margin-left: auto; + margin-right: auto; +} + +td.thumb { + text-align: center; + display: table-cell; + vertical-align: top; + -moz-border-radius: 3px; + border-radius: 3px; + border: dashed 1px #888888; + margin: 5px; + background-color: #eeeeee; + padding: 10px; +} + +#photo_details { + width: 150px; + font-size: 12px; + padding: 10px; + -moz-border-radius: 1em; + border-radius: 1em; + border: dashed 1px #888888; +} + +#available_tags { + clip: auto; + overflow: auto; +} + +table.calendar tr td { + border: solid 1px #ffffff; + padding: 1px; + text-align: center; + font-size: 10px; +} + +.prevMonth { + font-size: 10px; + text-align: left; +} +.nextMonth { + font-size: 10px; + text-align: right; +} +#calendar { + position: absolute; + width: 140px; + height: 200px; + background-color: #000000; + visibility: hidden; + z-index: 1000; +} + +#slide_navigation { + text-align: center; + padding: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + border: dashed 1px #888888; + vertical-align: middle; +} + +input.submit,input.checkbox { + background-color: transparent; + border: 0px; +} + +input, select, textarea { + background-color: #eeeeee; + color: #333333; + border: 1px solid #888888; + border-collapse: collapse; +} + diff --git a/themes/default/templates/footer.tpl b/themes/default/templates/footer.tpl index 5f85cab..70723d9 100644 --- a/themes/default/templates/footer.tpl +++ b/themes/default/templates/footer.tpl @@ -1 +1,2 @@ + diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index d07554e..791dd32 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -1,46 +1,48 @@ {include file="header.tpl"} + + +