From 938b2bf438656ce9068f0f7cb92ff6dbd696c5c8 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 29 Nov 2011 09:29:56 +0100 Subject: [PATCH 1/2] quattro: default user image in item --- view/theme/quattro/quattro.less | 15 +++++++++++++-- view/theme/quattro/style.css | 8 ++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 235d38db5a..5a7780a4c6 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -348,7 +348,13 @@ section { width: 60px; .wall-item-photo-wrapper { position: relative; } - .wall-item-photo { width: 48px; height: 48px; } + .wall-item-photo { + width: 48px; height: 48px; + overflow: hidden; + text-indent: -9999px; + display: block; + background: url(../../../images/icons/48/user.png) no-repeat center center; + } .wall-item-photo-menu-button { display: none; @@ -400,7 +406,9 @@ section { .wall-item-container.comment { /*margin-top: 50px;*/ - .wall-item-photo { width: 32px; height: 32px; margin-left: 16px;} + .wall-item-photo { width: 32px; height: 32px; margin-left: 16px; + background: url(../../../images/icons/22/user.png) no-repeat center center; + } .wall-item-photo-menu-button { top: 13px !important; left: 10px !important; @@ -425,6 +433,9 @@ section { } } + + +.wall-item-tags { padding-top: 5px; } .tag { background: url("../../../images/tag_b.png") no-repeat center left; color: @TagColor; diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css index c13d213982..7a7a5fb630 100644 --- a/view/theme/quattro/style.css +++ b/view/theme/quattro/style.css @@ -643,6 +643,10 @@ section { .wall-item-container .wall-item-info .wall-item-photo { width: 48px; height: 48px; + overflow: hidden; + text-indent: -9999px; + display: block; + background: url(../../../images/icons/48/user.png) no-repeat center center; } .wall-item-container .wall-item-info .wall-item-photo-menu-button { display: none; @@ -722,6 +726,7 @@ section { width: 32px; height: 32px; margin-left: 16px; + background: url(../../../images/icons/22/user.png) no-repeat center center; } .wall-item-container.comment .wall-item-photo-menu-button { top: 13px !important; @@ -750,6 +755,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.wall-item-tags { + padding-top: 5px; +} .tag { background: url("../../../images/tag_b.png") no-repeat center left; color: #ffffff; From 68dee0fa71b167948b4473ab7895f2611e5005f1 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 29 Nov 2011 09:30:21 +0100 Subject: [PATCH 2/2] quattro: "manage" menu item in site menu --- view/nav.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/view/nav.tpl b/view/nav.tpl index d0c640db15..d9255d86c7 100644 --- a/view/nav.tpl +++ b/view/nav.tpl @@ -15,7 +15,7 @@ {{ if $nav.notifications }}
  • $nav.notifications.1
  • {{ endif }} {{ if $nav.messages }}
  • $nav.messages.1
  • {{ endif }} - {{ if $nav.contacts }}
  • $nav.contacts.1{{ endif }} + {{ if $nav.contacts }}
  • $nav.contacts.1
  • {{ endif }} {{ endif }} @@ -51,6 +51,8 @@