From 05fd2c758c318f8beb441fb8b75e7328f1643e2a Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 24 Oct 2012 20:43:04 -0700 Subject: more ui cleanup --- mod/acl.php | 3 +-- mod/profile.php | 2 +- view/theme/duepuntozero/css/style.css | 32 +++++++++++++++++++------------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/mod/acl.php b/mod/acl.php index 51aa7651b..9d13811a7 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -20,7 +20,6 @@ function acl_init(&$a){ $search = $_REQUEST['query']; } -logger("acl: $search"); if(! (local_user() || $type == 'x')) return ""; @@ -170,7 +169,7 @@ logger("acl: $search"); foreach($r as $g) { $x['photos'][] = $g['micro']; $x['links'][] = $g['url']; - $x['suggestions'][] = $g['name']; + $x['suggestions'][] = (($type === 'x') ? '@' : '') . $g['name']; $x['data'][] = intval($g['id']); } } diff --git a/mod/profile.php b/mod/profile.php index 12b494cfe..6680636a7 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -127,7 +127,7 @@ function profile_content(&$a, $update = 0) { if(x($_GET,'tab')) $tab = notags(trim($_GET['tab'])); -// $o.=profile_tabs($a, $is_owner, $a->profile['nickname']); + $o.=profile_tabs($a, $is_owner, $a->profile['nickname']); if($tab === 'profile') { diff --git a/view/theme/duepuntozero/css/style.css b/view/theme/duepuntozero/css/style.css index ee13bbeb6..0c051487e 100644 --- a/view/theme/duepuntozero/css/style.css +++ b/view/theme/duepuntozero/css/style.css @@ -9,7 +9,7 @@ body { font-family: helvetica,arial,freesans,clean,sans-serif; font-size: 12px; background-color: #ffffff; -// background-image: url(../img/head.jpg); +/* background-image: url(../img/head.jpg); */ background-repeat: repeat-x; color: #000000; margin: 0px; @@ -36,7 +36,8 @@ abbr { .icon.notify { background-image: url("../../../../images/icons/22/notify_off.png"); min-width: 22px; - height: 22px; + height: 22px; + margin-top: -4px; background-position: left center; padding: 1px; } @@ -48,8 +49,8 @@ abbr { padding: 1px; } -a, a:visited, a:link { color: #3465a4; text-decoration: none; } -a:hover {text-decoration: underline; } +a, a:visited, a:link { color: #335577; text-decoration: none; } +a:hover { color: #5588aa; text-decoration: underline; } input { border: 1px solid #666666; @@ -217,13 +218,13 @@ nav #nav-link-wrapper .nav-link { } .tabs { - height: 27px; - background-image: url(../img/head.jpg); + height: 22px; +/* background-image: url(../img/head.jpg); background-repeat: repeat-x; - background-position: 0px -20px; - border-bottom: 1px solid #babdb6; + background-position: 0px -20px; */ + border-bottom: 1px solid #aaaaaa; padding:0px; - margin-right: 15px; + margin-right: 10px; } .tabs li { margin: 0px; list-style: none; } .tab { @@ -237,7 +238,12 @@ nav #nav-link-wrapper .nav-link { font-weight: bold; } - +ul.tabs { + margin-top: 0px; + margin-bottom: 0px; + list-style-type: none; + padding: 0px; +} /* footer */ footer { @@ -322,7 +328,7 @@ div.wall-item-content-wrapper.shiny { .fakelink, .fakelink:visited, .fakelink:link { - color: #3465a4; + color: #335577; text-decoration: none; cursor: pointer; } @@ -358,7 +364,7 @@ div.wall-item-content-wrapper.shiny { } .fakelink:hover { - color: #3465a4; + color: #5588aa; text-decoration: underline; cursor: pointer; } @@ -1189,7 +1195,7 @@ input#dfrn-url { .wall-item-tools { clear: both; - background-image: url("../img/head.jpg"); +/* background-image: url("../img/head.jpg"); */ background-position: 0 -20px; background-repeat: repeat-x; padding: 5px 10px 0px; -- cgit v1.2.3