From aaddee0d948832be7967c769fe4fafe7bdce2c0f Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 26 Mar 2012 13:52:44 +0200 Subject: [PATCH] minor css fixes in diabook --- view/theme/diabook-blue/communityhome.tpl | 17 +++++++++-------- view/theme/diabook-blue/photo_view.tpl | 2 +- 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-blue/theme.php | 3 --- view/theme/diabook-blue/wall_item.tpl | 1 - view/theme/diabook-blue/wallwall_item.tpl | 1 - view/theme/diabook/communityhome.tpl | 18 +++++++++--------- view/theme/diabook/style-network.css | 4 ++-- view/theme/diabook/style-profile.css | 4 ++-- view/theme/diabook/theme.php | 3 --- 12 files changed, 29 insertions(+), 36 deletions(-) diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index f1714a436..2d9033b18 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -1,3 +1,7 @@ +{{ if $page }} +
$page
+{{ endif }} + {{ if $lastusers_title }}

Help or @NewHere ?

Friendica Support
@@ -6,6 +10,11 @@ NewHere {{ endif }} +{{ if $lastusers_title }} +

PostIt to Friendica

+
Post to Friendica from anywhere by bookmarking the Link.
+{{ endif }} + {{ if $lastusers_title }}

Connectable Services

@@ -47,14 +56,6 @@
{{ endif }} -{{ if $page }} -
$page
-{{ endif }} - -{{ if $lastusers_title }} -

PostIt to Friendica

-
Post to Friendica from anywhere by bookmarking the Link.
-{{ endif }} {{ if $like_title }}

$like_title

diff --git a/view/theme/diabook-blue/photo_view.tpl b/view/theme/diabook-blue/photo_view.tpl index 902c2a0ed..511fc73ac 100755 --- a/view/theme/diabook-blue/photo_view.tpl +++ b/view/theme/diabook-blue/photo_view.tpl @@ -12,7 +12,7 @@
{{ if $prevlink }}{{ endif }} - + {{ if $nextlink }}{{ endif }}
diff --git a/view/theme/diabook-blue/style-network.css b/view/theme/diabook-blue/style-network.css index 85cf23da1..f23518555 100644 --- a/view/theme/diabook-blue/style-network.css +++ b/view/theme/diabook-blue/style-network.css @@ -1189,7 +1189,7 @@ right_aside #likes { margin: 0px; padding: 0px; list-style: none; } right_aside .items-wrapper{ overflow: auto; width: 100%; } right_aside #lastusers-wrapper { padding-left: 6px; padding-top: 3px; overflow: auto; width: 100%; } right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; } -#page-sidebar-right_aside{margin-top: 30px;} +#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;} #page-sidebar-right_aside ul {margin-top: 0px;} /* wall item */ .tread-wrapper { @@ -1271,7 +1271,7 @@ right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: } .wall-item-container .wall-item-content img { - max-width: 500px; + max-width: 400px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { display: table-cell; diff --git a/view/theme/diabook-blue/style-profile.css b/view/theme/diabook-blue/style-profile.css index 3671d963e..1296f1647 100644 --- a/view/theme/diabook-blue/style-profile.css +++ b/view/theme/diabook-blue/style-profile.css @@ -1189,7 +1189,7 @@ right_aside #likes { margin: 0px; padding: 0px; list-style: none; } right_aside .items-wrapper{ overflow: auto; width: 100%; } right_aside #lastusers-wrapper { padding-left: 6px; padding-top: 3px; overflow: auto; width: 100%; } right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: auto; width: 100%; } -#page-sidebar-right_aside{margin-top: 30px;} +#page-sidebar-right_aside{margin-top: 0px; margin-bottom: 30px;} #page-sidebar-right_aside ul {margin-top: 0px;} /* wall item */ .tread-wrapper { @@ -1271,7 +1271,7 @@ right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: } .wall-item-container .wall-item-content img { - max-width: 500px; + max-width: 400px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { display: table-cell; diff --git a/view/theme/diabook-blue/style.css b/view/theme/diabook-blue/style.css index a05a49e67..7488c2fed 100644 --- a/view/theme/diabook-blue/style.css +++ b/view/theme/diabook-blue/style.css @@ -178,8 +178,8 @@ .icon.on { background-image: url("../../../view/theme/diabook-blue/icons/toogle_on.png"); background-repeat: no-repeat;} .icon.off { background-image: url("../../../view/theme/diabook-blue/icons/toogle_off.png"); background-repeat: no-repeat;} -.prev { background-position: -90px -60px;} -.next { background-position: -110px -60px;} +.icon.prev { background-image: url("../../../view/theme/diabook-blue/icons/prev.png"); background-repeat: no-repeat;} +.icon.next { background-image: url("../../../view/theme/diabook-blue/icons/next.png"); background-repeat: no-repeat;} /*.tagged { background-position: -130px -60px;}*/ .attachtype { diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index a5f4490ba..322e16329 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -7,9 +7,6 @@ * Author: */ -$a->theme_info = array( - 'extends' => 'diabook', -); //change css on network and profilepages $cssFile = null; diff --git a/view/theme/diabook-blue/wall_item.tpl b/view/theme/diabook-blue/wall_item.tpl index 20d24702b..123834064 100644 --- a/view/theme/diabook-blue/wall_item.tpl +++ b/view/theme/diabook-blue/wall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- {{ if $item.lock }}$item.lock{{ endif }}
{{ endif }} diff --git a/view/theme/diabook-blue/wallwall_item.tpl b/view/theme/diabook-blue/wallwall_item.tpl index e02e5a8be..c5b6b36b5 100644 --- a/view/theme/diabook-blue/wallwall_item.tpl +++ b/view/theme/diabook-blue/wallwall_item.tpl @@ -1,6 +1,5 @@ {{ if $item.indent }}{{ else }}
- {{ if $item.lock }}$item.lock{{ endif }}
{{ endif }} diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index 23c26c910..aa150b9d0 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -1,3 +1,7 @@ +{{ if $page }} +
$page
+{{ endif }} + {{ if $lastusers_title }}

Help or @NewHere ?

Friendica Support
@@ -20,6 +24,11 @@ {{ endif }} +{{ if $lastusers_title }} +

PostIt to Friendica

+
Post to Friendica from anywhere by bookmarking this Link.
+{{ endif }} + {{ if $lastusers_title }}

$lastusers_title

@@ -47,15 +56,6 @@
{{ endif }} -{{ if $page }} -
$page
-{{ endif }} - -{{ if $lastusers_title }} -

PostIt to Friendica

-
Post to Friendica from anywhere by bookmarking this Link.
-{{ endif }} - {{ if $like_title }}

$like_title