From c3388ad81336d45a40a66b69096f504ffa7e34cb Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Tue, 27 Mar 2012 04:40:31 -0400 Subject: [PATCH] more fixes for dispys Signed-off-by: Simon L'nu --- view/theme/dispy-dark/communityhome.tpl | 7 ++++++- .../dispy-dark/{snapshot.jpg => screenshot.jpg} | Bin view/theme/dispy-dark/style.css | 5 ++--- view/theme/dispy/communityhome.tpl | 7 ++++++- view/theme/dispy/style.css | 7 +++---- view/theme/dispy/theme.php | 7 ++++++- 6 files changed, 23 insertions(+), 10 deletions(-) rename view/theme/dispy-dark/{snapshot.jpg => screenshot.jpg} (100%) diff --git a/view/theme/dispy-dark/communityhome.tpl b/view/theme/dispy-dark/communityhome.tpl index 0838fc7578..dfc0467f79 100644 --- a/view/theme/dispy-dark/communityhome.tpl +++ b/view/theme/dispy-dark/communityhome.tpl @@ -1,4 +1,9 @@ {{ if $page }} +
$page
+{{ endif }} +

PostIt to Friendica

-
Post to Friendica from anywhere by bookmarking this Link.
+
+Post to Friendica from anywhere by bookmarking this Link. +
{{ endif }} diff --git a/view/theme/dispy-dark/snapshot.jpg b/view/theme/dispy-dark/screenshot.jpg similarity index 100% rename from view/theme/dispy-dark/snapshot.jpg rename to view/theme/dispy-dark/screenshot.jpg diff --git a/view/theme/dispy-dark/style.css b/view/theme/dispy-dark/style.css index dd0ce356dd..8be441c8b1 100644 --- a/view/theme/dispy-dark/style.css +++ b/view/theme/dispy-dark/style.css @@ -469,7 +469,7 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link width: 170px; position: absolute; top: -19px; - left: 4px; + left: 15px; } #nav-floater { position: fixed; @@ -2328,7 +2328,7 @@ div[id$="wrapper"] br { .field { /*margin-bottom: 10px;*/ /*padding-bottom: 10px;*/ - /*overflow: auto;*/ + overflow: auto; width: 100%; } .field label, label { @@ -2336,7 +2336,6 @@ div[id$="wrapper"] br { width: 275px; display: block; font-size: 1.077em; - /*font-weight: bold;*/ margin: 0 10px 0.5em 0; border: 1px #2e2f2e solid; padding: 5px; diff --git a/view/theme/dispy/communityhome.tpl b/view/theme/dispy/communityhome.tpl index 0838fc7578..dfc0467f79 100644 --- a/view/theme/dispy/communityhome.tpl +++ b/view/theme/dispy/communityhome.tpl @@ -1,4 +1,9 @@ {{ if $page }} +
$page
+{{ endif }} +

PostIt to Friendica

-
Post to Friendica from anywhere by bookmarking this Link.
+
+Post to Friendica from anywhere by bookmarking this Link. +
{{ endif }} diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 77b22d65ff..74a7809a1f 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -469,7 +469,7 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link width: 170px; position: absolute; top: -19px; - left: 4px; + left: 15px; } #nav-floater { position: fixed; @@ -1037,7 +1037,7 @@ section { border: 1px solid #729fcf; padding: 4px; } -.tab:hover { +.tab:hover, .tab.active:hover { background: #729fcf; color: #eeeeec; } @@ -1050,7 +1050,7 @@ section { color: #eeeeec; } .tab.active a { - + color: #729fcf; } .tab a { border: 0; @@ -2336,7 +2336,6 @@ div[id$="wrapper"] br { width: 275px; display: block; font-size: 1.077em; - /*font-weight: bold;*/ margin: 0 10px 0.5em 0; border: 1px #999 solid; padding: 5px; diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 9db77d7f3e..db8cf5ccdf 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -6,7 +6,7 @@ * Version: 1.0 * Author: unknown * Maintainer: Simon - * Screenshot: Screenshot + * Screenshot: Screenshot */ @@ -154,3 +154,8 @@ function dispy_community_info() { $a->page['aside'] = replace_macros($tpl, $aside); } +//right_aside at profile pages +if ($a->argv[0] === "profile") { + // COMMUNITY + dispy_community_info(); +} -- 2.39.5