From ff12637ceb0bb0ff3b769fdb12d7158e7f7a917d Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sun, 1 Apr 2012 16:34:31 +0200 Subject: [PATCH] fix the display of community-plugin in diabook-themes --- view/theme/diabook-aerith/search_item.tpl | 100 ++++++++++++++++++ view/theme/diabook-aerith/style-network.css | 6 +- view/theme/diabook-aerith/style-profile.css | 6 +- view/theme/diabook-aerith/style.css | 94 +---------------- view/theme/diabook-blue/search_item.tpl | 100 ++++++++++++++++++ view/theme/diabook-blue/style-network.css | 4 +- view/theme/diabook-blue/style-profile.css | 4 +- view/theme/diabook-blue/style.css | 4 +- view/theme/diabook-red/search_item.tpl | 100 ++++++++++++++++++ view/theme/diabook-red/style-network.css | 6 +- view/theme/diabook-red/style-profile.css | 6 +- view/theme/diabook-red/style.css | 109 +------------------- view/theme/diabook/search_item.tpl | 100 ++++++++++++++++++ view/theme/diabook/style-network.css | 6 +- view/theme/diabook/style-profile.css | 6 +- view/theme/diabook/style.css | 6 +- 16 files changed, 435 insertions(+), 222 deletions(-) create mode 100755 view/theme/diabook-aerith/search_item.tpl create mode 100755 view/theme/diabook-blue/search_item.tpl create mode 100755 view/theme/diabook-red/search_item.tpl create mode 100755 view/theme/diabook/search_item.tpl diff --git a/view/theme/diabook-aerith/search_item.tpl b/view/theme/diabook-aerith/search_item.tpl new file mode 100755 index 0000000000..1238340647 --- /dev/null +++ b/view/theme/diabook-aerith/search_item.tpl @@ -0,0 +1,100 @@ +{{ if $item.indent }}{{ else }} +
+ +
+{{ endif }} +
+
+
+
+ + $item.name + + menu + + +
+
+
+ $item.name + - + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} + {{ if $item.lock }} - $item.lock {{ endif }} + +
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ +
+
+ +
+ + + {{ if $item.vote }} + + + {{ endif }} + + {{ if $item.vote.share }} + + {{ endif }} + + + {{ if $item.star }} + + $item.star.do + + {{ endif }} + + {{ if $item.filer }} + + {{ endif }} + + {{ if $item.plink }}$item.plink.title{{ endif }} + + + +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+
$item.location 
+
+
+
+ + +
$item.dislike
+
+
+ +
+ $item.comment +
diff --git a/view/theme/diabook-aerith/style-network.css b/view/theme/diabook-aerith/style-network.css index bcba4c3be5..3735ed66be 100644 --- a/view/theme/diabook-aerith/style-network.css +++ b/view/theme/diabook-aerith/style-network.css @@ -2122,7 +2122,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2501,8 +2501,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-aerith/style-profile.css b/view/theme/diabook-aerith/style-profile.css index 9c9f8b4e69..c4f89359a9 100644 --- a/view/theme/diabook-aerith/style-profile.css +++ b/view/theme/diabook-aerith/style-profile.css @@ -2110,7 +2110,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2489,8 +2489,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-aerith/style.css b/view/theme/diabook-aerith/style.css index 1802c914d5..be33fd5f2d 100644 --- a/view/theme/diabook-aerith/style.css +++ b/view/theme/diabook-aerith/style.css @@ -1,4 +1,4 @@ -/** +/opt/lampp/htdocs/friendica/view/theme/diabook/search_item.tpl/** * Fabio Comuni * Additional Changes: Michael Vogel **/ @@ -1233,92 +1233,6 @@ body .pageheader{ .tread-wrapper a{ color: #3465A4; } -.wall-item-photo-menu-button { -display: block; -position: absolute; -background-image: url("../../../view/theme/diabook-aerith/icons/photo-menu.jpg"); -background-position: top left; -background-repeat: no-repeat; -margin: 0px; -padding: 0px; -width: 16px; -height: 16px; -top: 90px; -left: 17px; -overflow: hidden; -text-indent: 40px; -display: none; -} -.wall-item-content-wrapper { -margin-top: 10px; -border: 1px solid #CCC; --moz-border-radius: 3px; -border-radius: 3px; -display: table; -width: 775px; -} -.wall-item-info { -/*display: block; -float: left; -width: 110px; -margin-right: 10px;*/ - display: table-cell; - vertical-align: top; - text-align: left; - width: 80px; -} -.wall-item-content { - font-size: 12.5px; - max-width: 720px; - word-wrap: break-word; - line-height: 1.2; -} -.wrapper-end { - clear: both; -} -.wall-item-photo-wrapper { -margin-top: 10px; -margin-left: 10px; -margin-bottom: 10px; -width: 100px; -} -.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.wall-item-photo-menu li a { display: block; padding: 2px; } -.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } -.wall-item-wrapper { -margin-left: 10px; -} -.wall-item-title-end { - clear: both; -} - -.wall-item-body { - float: left; - /*width: 450px;*/ - margin-top: 10px; -} - -.wall-item-tools { - clear: both; - background-image: url("head.jpg"); - background-position: 0 -20px; - background-repeat: repeat-x; - padding: 5px 10px 0px; -} -.wall-item-author { - margin-top: 10px; -} -.wall-item-photo-menu { -width: auto; -border: 2px solid #444; -background: white; -position: absolute; -left: 10px; -top: 90px; -display: none; -z-index: 10000; -} - .wall-item-decor { position: absolute; left: 790px; @@ -2136,7 +2050,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2506,8 +2420,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-blue/search_item.tpl b/view/theme/diabook-blue/search_item.tpl new file mode 100755 index 0000000000..1238340647 --- /dev/null +++ b/view/theme/diabook-blue/search_item.tpl @@ -0,0 +1,100 @@ +{{ if $item.indent }}{{ else }} +
+ +
+{{ endif }} +
+
+
+
+ + $item.name + + menu + + +
+
+
+ $item.name + - + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} + {{ if $item.lock }} - $item.lock {{ endif }} + +
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ +
+
+ +
+ + + {{ if $item.vote }} + + + {{ endif }} + + {{ if $item.vote.share }} + + {{ endif }} + + + {{ if $item.star }} + + $item.star.do + + {{ endif }} + + {{ if $item.filer }} + + {{ endif }} + + {{ if $item.plink }}$item.plink.title{{ endif }} + + + +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+
$item.location 
+
+
+
+ + +
$item.dislike
+
+
+ +
+ $item.comment +
diff --git a/view/theme/diabook-blue/style-network.css b/view/theme/diabook-blue/style-network.css index 9737670ec8..0e779a08bb 100644 --- a/view/theme/diabook-blue/style-network.css +++ b/view/theme/diabook-blue/style-network.css @@ -2454,8 +2454,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-blue/style-profile.css b/view/theme/diabook-blue/style-profile.css index b75ccffb08..528327ac3b 100644 --- a/view/theme/diabook-blue/style-profile.css +++ b/view/theme/diabook-blue/style-profile.css @@ -2448,8 +2448,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-blue/style.css b/view/theme/diabook-blue/style.css index 21ba66ec71..a5129e9576 100644 --- a/view/theme/diabook-blue/style.css +++ b/view/theme/diabook-blue/style.css @@ -2368,8 +2368,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-red/search_item.tpl b/view/theme/diabook-red/search_item.tpl new file mode 100755 index 0000000000..1238340647 --- /dev/null +++ b/view/theme/diabook-red/search_item.tpl @@ -0,0 +1,100 @@ +{{ if $item.indent }}{{ else }} +
+ +
+{{ endif }} +
+
+
+
+ + $item.name + + menu + + +
+
+
+ $item.name + - + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} + {{ if $item.lock }} - $item.lock {{ endif }} + +
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ +
+
+ +
+ + + {{ if $item.vote }} + + + {{ endif }} + + {{ if $item.vote.share }} + + {{ endif }} + + + {{ if $item.star }} + + $item.star.do + + {{ endif }} + + {{ if $item.filer }} + + {{ endif }} + + {{ if $item.plink }}$item.plink.title{{ endif }} + + + +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+
$item.location 
+
+
+
+ + +
$item.dislike
+
+
+ +
+ $item.comment +
diff --git a/view/theme/diabook-red/style-network.css b/view/theme/diabook-red/style-network.css index 1e10f1216c..d90f9189d9 100644 --- a/view/theme/diabook-red/style-network.css +++ b/view/theme/diabook-red/style-network.css @@ -2119,7 +2119,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2498,8 +2498,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-red/style-profile.css b/view/theme/diabook-red/style-profile.css index c6ba1e4be5..5124ed8c0d 100644 --- a/view/theme/diabook-red/style-profile.css +++ b/view/theme/diabook-red/style-profile.css @@ -2091,7 +2091,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2470,8 +2470,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook-red/style.css b/view/theme/diabook-red/style.css index 8d4031329f..30714649bd 100644 --- a/view/theme/diabook-red/style.css +++ b/view/theme/diabook-red/style.css @@ -1216,108 +1216,7 @@ body .pageheader{ width: 775px; } .tread-wrapper a{ - color: #1872A2; -} -/*community-plugin*/ -aside #likes a, a:visited, a:link { - color: red; - text-decoration: none; - cursor: pointer; - -} -aside #likes a:hover{ - text-decoration: underline; - } -.wall-item-photo-menu-button { -display: block; -position: absolute; -background-image: url("../../../view/theme/diabook-red/icons/photo-menu.jpg"); -background-position: top left; -background-repeat: no-repeat; -margin: 0px; -padding: 0px; -width: 16px; -height: 16px; -top: 90px; -left: 17px; -overflow: hidden; -text-indent: 40px; -display: none; -} -.wall-item-name { - color: red; - } -.wall-item-conv a{ - color: black; - } -.wall-item-content-wrapper { -margin-top: 10px; -border: 1px solid #CCC; --moz-border-radius: 3px; -border-radius: 3px; -display: table; -width: 775px; -} -.wall-item-info { -/*display: block; -float: left; -width: 110px; -margin-right: 10px;*/ - display: table-cell; - vertical-align: top; - text-align: left; - width: 80px; -} -.wall-item-content { - font-size: 12.5px; - max-width: 720px; - word-wrap: break-word; - line-height: 1.2; -} -.wrapper-end { - clear: both; -} -.wall-item-photo-wrapper { -margin-top: 10px; -margin-left: 10px; -margin-bottom: 10px; -width: 100px; -} -.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.wall-item-photo-menu li a { display: block; padding: 2px; } -.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } -.wall-item-wrapper { -margin-left: 10px; -} -.wall-item-title-end { - clear: both; -} - -.wall-item-body { - float: left; - /*width: 450px;*/ - margin-top: 10px; -} - -.wall-item-tools { - clear: both; - background-image: url("head.jpg"); - background-position: 0 -20px; - background-repeat: repeat-x; - padding: 5px 10px 0px; -} -.wall-item-author { - margin-top: 10px; -} -.wall-item-photo-menu { -width: auto; -border: 2px solid #444; -background: white; -position: absolute; -left: 10px; -top: 90px; -display: none; -z-index: 10000; + color: red; } .wall-item-decor { @@ -2136,7 +2035,7 @@ max-width: 85%; padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2506,8 +2405,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook/search_item.tpl b/view/theme/diabook/search_item.tpl new file mode 100755 index 0000000000..1238340647 --- /dev/null +++ b/view/theme/diabook/search_item.tpl @@ -0,0 +1,100 @@ +{{ if $item.indent }}{{ else }} +
+ +
+{{ endif }} +
+
+
+
+ + $item.name + + menu + + +
+
+
+ $item.name + - + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} + {{ if $item.lock }} - $item.lock {{ endif }} + +
+
+ {{ if $item.title }}

$item.title

{{ endif }} + $item.body +
+
+
+ +
+ {{ for $item.tags as $tag }} + $tag + {{ endfor }} +
+
+
+
+ +
+
+ +
+ + + {{ if $item.vote }} + + + {{ endif }} + + {{ if $item.vote.share }} + + {{ endif }} + + + {{ if $item.star }} + + $item.star.do + + {{ endif }} + + {{ if $item.filer }} + + {{ endif }} + + {{ if $item.plink }}$item.plink.title{{ endif }} + + + +
+ +
+ + {{ if $item.drop.dropping }} + + $item.drop.delete + {{ endif }} + {{ if $item.edpost }} + + {{ endif }} +
+
$item.location 
+
+
+
+ + +
$item.dislike
+
+
+ +
+ $item.comment +
diff --git a/view/theme/diabook/style-network.css b/view/theme/diabook/style-network.css index 3042476d80..518e7b88d7 100644 --- a/view/theme/diabook/style-network.css +++ b/view/theme/diabook/style-network.css @@ -2041,7 +2041,7 @@ ul.tabs li .active { padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2415,8 +2415,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook/style-profile.css b/view/theme/diabook/style-profile.css index 5a91e52549..0077510a1d 100644 --- a/view/theme/diabook/style-profile.css +++ b/view/theme/diabook/style-profile.css @@ -2035,7 +2035,7 @@ ul.tabs li .active { padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2409,8 +2409,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left; diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index 956667faa3..9a51949a0c 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -1966,7 +1966,7 @@ ul.tabs li .active { padding: 0px; width: 16px; height: 16px; - top: -20px; left:0px; + top: -16px; left:0px; overflow: hidden; text-indent: 40px; display: none; @@ -2340,8 +2340,8 @@ float: left; display: none; /* position: absolute; */ /* position: absolute; */ - left: -2px; - top: -20px; + left: 0px; + top: -16px; } .contact-wrapper { float: left;