diff options
author | Devlon Duthie <duthied@gmail.com> | 2011-10-02 20:37:47 -0500 |
---|---|---|
committer | Devlon Duthie <duthied@gmail.com> | 2011-10-02 20:37:47 -0500 |
commit | da53ebf4b3431559d2383dd9e0651de44e9714e8 (patch) | |
tree | 1fbfdc7a08b82caacd2ac7f0edb468156925466e /view | |
parent | 8e38fe6f47db54e7af12707130641e8de9f3eeb9 (diff) | |
download | volse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.tar.gz volse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.tar.bz2 volse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.zip |
added activetab var to message.php for templates
(testbubble only) added logic to photo header to make tab 'sticky' (active class for styling)
(testbubble only) css fix for avatars in wallitems
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/testbubble/mail_head.tpl | 6 | ||||
-rw-r--r-- | view/theme/testbubble/style.css | 17 |
2 files changed, 13 insertions, 10 deletions
diff --git a/view/theme/testbubble/mail_head.tpl b/view/theme/testbubble/mail_head.tpl index 2a4fc42ea..2a4596cd6 100644 --- a/view/theme/testbubble/mail_head.tpl +++ b/view/theme/testbubble/mail_head.tpl @@ -1,7 +1,7 @@ <h3>$messages</h3> <ul class="tabs-wrapper"> -<li><a href="message" class="tabs button">$inbox</a></li> -<li><a href="message/sent" class="tabs button">$outbox</a></li> -<li><a href="message/new" class="tabs button">$new</a></li> +<li><a href="message" class="tabs button {{if $activetab==inbox}}active{{endif}}">$inbox</a></li> +<li><a href="message/sent" class="tabs button {{if $activetab==sent}}active{{endif}}">$outbox</a></li> +<li><a href="message/new" class="tabs button {{if $activetab==new}}active{{endif}}">$new</a></li> </ul> diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css index 36fe1bbc1..8ef2b6619 100644 --- a/view/theme/testbubble/style.css +++ b/view/theme/testbubble/style.css @@ -361,7 +361,7 @@ ul#user-menu-popup li a.nav-sep { border-top: 1px solid #989898; border-style:in #notifications { height: 32px; position: absolute; - top:10px; left: 650px; + top:10px; left: 40%; } .nav-ajax-update { width: 44px; @@ -373,10 +373,10 @@ ul#user-menu-popup li a.nav-sep { border-top: 1px solid #989898; border-style:in padding-top: 0.5em; float: left; padding-left: 11px; - display: none; + /*display: none;*/ } #net-update { background-position: 0px 0px; } -#mail-update { background-position: 0px -42px; } +#mail-update { background-position: 0px -40px; } #notify-update { background-position: 0px -84px; } #home-update { background-position: 0px -126px; } @@ -1146,11 +1146,14 @@ profile-jot-banner-wrapper { } .wall-item-body code { - border-color: #CCCCCC; - border-style: solid; + font-family: Courier, monospace; + white-space: pre; + display: block; + overflow: auto; + border: 1px solid #cccccc; border-width: 1px 1px 1px 10px; - display: block; - padding-left: 10px; + padding-left: 10px; + margin-top: 20px; } /* =========== */ |