From 7915e597ec6c4a8e3735556d59e730aa84f770a1 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 3 Nov 2012 06:32:27 -0700 Subject: [PATCH] more theme stuff --- include/contact_widgets.php | 7 ++++--- include/nav.php | 2 +- index.php | 2 -- view/theme/duepuntozero/css/style.css | 9 +++++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 11b087ac5..1230e2b24 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -86,10 +86,11 @@ function fileas_widget($baseurl,$selected = '') { intval(local_user()), intval(TERM_FILE) ); - if(count($r)) { - foreach($r as $rr) + if(! $r) + return; + + foreach($r as $rr) $terms[] = array('name' => $rr['term'], 'selected' => (($selected == $rr['term']) ? 'selected' : '')); - } return replace_macros(get_markup_template('fileas_widget.tpl'),array( '$title' => t('Saved Folders'), diff --git a/include/nav.php b/include/nav.php index bcad7e00d..5b86a0691 100644 --- a/include/nav.php +++ b/include/nav.php @@ -174,7 +174,7 @@ EOT; if($banner === false) // $banner .= 'logo'; - $banner = ''; + $banner = 'red'; $tpl = get_markup_template('nav.tpl'); diff --git a/index.php b/index.php index 0c80c0ba5..6baf26f12 100644 --- a/index.php +++ b/index.php @@ -390,8 +390,6 @@ if($a->is_mobile || $a->is_tablet) { )); } -$a->page['footer'] .= '
' . t("Friendica Red") . '
'; - $page = $a->page; $profile = $a->profile; diff --git a/view/theme/duepuntozero/css/style.css b/view/theme/duepuntozero/css/style.css index 759ba922b..4c9d10edd 100644 --- a/view/theme/duepuntozero/css/style.css +++ b/view/theme/duepuntozero/css/style.css @@ -152,6 +152,7 @@ nav #banner #logo-text a { nav #banner #logo-text a:hover { text-decoration: none; } + .nav-commlink, .nav-login-link { display: block; height: 15px; @@ -3484,7 +3485,7 @@ nav { left: 0px; top: 0px; padding: 0px; - background-color: #888888; + background-color: #5a5a5a; color: #ffffff; z-index: 100; -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); @@ -3539,7 +3540,7 @@ nav .nav-menu { padding: 5px; margin: 3px 15px 0px; font-size: 14px; - border-bottom: 3px solid #888888; + border-bottom: 3px solid #5a5a5a; } nav .nav-menu.selected { border-bottom: 4px solid #CCCCCC; @@ -3658,6 +3659,10 @@ header #banner { overflow: hidden; text-align: center; width: 100%; + + color: red; + font-weight: bold; + font-size: 2em; } header #banner a, header #banner a:active,