From 882f437149f882d21f3743b56e374308f03abbe6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 14 Sep 2012 15:35:40 +0200 Subject: [PATCH] quattro: mail link to profile page --- view/theme/quattro/dark/style.css | 19 +++++++++++++++++++ view/theme/quattro/green/style.css | 19 +++++++++++++++++++ view/theme/quattro/profile_vcard.tpl | 3 +++ view/theme/quattro/quattro.less | 12 ++++++++++++ 4 files changed, 53 insertions(+) diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 0bb2cd10eb..533d151762 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -735,6 +735,22 @@ aside #profile-extra-links li { margin: 0px; list-style: none; } +aside #wallmessage-link { + display: block; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; + color: #ffffff; + background: #005c94 url('../../../images/connect-bg.png') no-repeat left center; + font-weight: bold; + text-transform: uppercase; + padding: 4px 2px 2px 35px; + margin-top: 3px; +} +aside #wallmessage-link:hover { + text-decoration: none; + background-color: #19aeff; +} aside #dfrn-request-link { display: block; -moz-border-radius: 5px 5px 5px 5px; @@ -1140,6 +1156,9 @@ section { opacity: 0.5; } .wwto { + position: absolute !important; + width: 25px; + height: 25px; background: #FFFFFF; border: 2px solid #364e59; height: 25px; diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 4897471eac..429da809d4 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -735,6 +735,22 @@ aside #profile-extra-links li { margin: 0px; list-style: none; } +aside #wallmessage-link { + display: block; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; + color: #ffffff; + background: #009100 url('../../../images/connect-bg.png') no-repeat left center; + font-weight: bold; + text-transform: uppercase; + padding: 4px 2px 2px 35px; + margin-top: 3px; +} +aside #wallmessage-link:hover { + text-decoration: none; + background-color: #ccff42; +} aside #dfrn-request-link { display: block; -moz-border-radius: 5px 5px 5px 5px; @@ -1140,6 +1156,9 @@ section { opacity: 0.5; } .wwto { + position: absolute !important; + width: 25px; + height: 25px; background: #FFFFFF; border: 2px solid #364e59; height: 25px; diff --git a/view/theme/quattro/profile_vcard.tpl b/view/theme/quattro/profile_vcard.tpl index cbb7dcc745..e7264cfecf 100644 --- a/view/theme/quattro/profile_vcard.tpl +++ b/view/theme/quattro/profile_vcard.tpl @@ -56,6 +56,9 @@ {{ if $connect }}
  • $connect
  • {{ endif }} + {{ if $wallmessage }} +
  • $wallmessage
  • + {{ endif }} diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 84aa13ac03..51fdfcf7c4 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -314,6 +314,18 @@ aside { li { padding: 0px; margin: 0px; list-style: none; } } + #wallmessage-link { + display: block; + .rounded(); + color: @AsideConnect; + background: @AsideConnectBg url('../../../images/connect-bg.png') no-repeat left center; + font-weight: bold; + text-transform:uppercase; + padding: 4px 2px 2px 35px; + margin-top: 3px; + + &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; } + } #dfrn-request-link { display: block; .rounded();