From ff5ab7e9c6b0795673938a991f4cc2d222be6bae Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 15 Nov 2012 08:18:25 +0100 Subject: [PATCH] Vier: Further improvements. --- object/Item.php | 1 + view/theme/vier/style.css | 15 +++++++++++---- view/theme/vier/wall_thread.tpl | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/object/Item.php b/object/Item.php index c807f7053d..d13399cfe8 100644 --- a/object/Item.php +++ b/object/Item.php @@ -227,6 +227,7 @@ class Item extends BaseObject { 'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])), 'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $this->get_owner_name(), ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])), 'to' => t('to'), + 'via' => t('via'), 'wall' => t('Wall-to-Wall'), 'vwall' => t('via Wall-To-Wall:'), 'profile_url' => $profile_link, diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 48f151706e..16b2ecb58f 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -585,7 +585,7 @@ nav .nav-menu.selected { } nav .nav-menu:hover { color: #fff !important; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); + /* text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); */ background: #4c619c; text-decoration: none; } @@ -601,9 +601,11 @@ nav .nav-notify { font-size: 10px; padding: 1px 3px; top: 0px; - right: -10px; + /* right: -10px; */ + right: -5px; min-width: 15px; - text-align: right; + /* text-align: right; */ + text-align: center; } nav .nav-notify.show { display: block; @@ -1046,7 +1048,12 @@ section { } .wall-item-container .wall-item-content img { - max-width: 700px; + max-width: 650px; + /* max-width: 580px; */ +} +.children .wall-item-container .wall-item-item .wall-item-content img { + /* max-width: 650px; */ + max-width: 580px; } .wall-item-container .wall-item-links, .wall-item-container .wall-item-actions { display: table-cell; diff --git a/view/theme/vier/wall_thread.tpl b/view/theme/vier/wall_thread.tpl index cd0cf36e96..48e84d945d 100644 --- a/view/theme/vier/wall_thread.tpl +++ b/view/theme/vier/wall_thread.tpl @@ -52,7 +52,7 @@
$item.name - {{ if $item.owner_url }}$item.to $item.owner_name {{ endif }} + {{ if $item.owner_url }}$item.via $item.owner_name {{ endif }} - {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} {{ if $item.lock }} - $item.lock {{ endif }}