more ui cleanup

This commit is contained in:
friendica 2012-10-24 20:43:04 -07:00
parent ceeb4db6e3
commit 05fd2c758c
3 changed files with 21 additions and 16 deletions

View File

@ -20,7 +20,6 @@ function acl_init(&$a){
$search = $_REQUEST['query']; $search = $_REQUEST['query'];
} }
logger("acl: $search");
if(! (local_user() || $type == 'x')) if(! (local_user() || $type == 'x'))
return ""; return "";
@ -170,7 +169,7 @@ logger("acl: $search");
foreach($r as $g) { foreach($r as $g) {
$x['photos'][] = $g['micro']; $x['photos'][] = $g['micro'];
$x['links'][] = $g['url']; $x['links'][] = $g['url'];
$x['suggestions'][] = $g['name']; $x['suggestions'][] = (($type === 'x') ? '@' : '') . $g['name'];
$x['data'][] = intval($g['id']); $x['data'][] = intval($g['id']);
} }
} }

View File

@ -127,7 +127,7 @@ function profile_content(&$a, $update = 0) {
if(x($_GET,'tab')) if(x($_GET,'tab'))
$tab = notags(trim($_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') { if($tab === 'profile') {

View File

@ -9,7 +9,7 @@ body {
font-family: helvetica,arial,freesans,clean,sans-serif; font-family: helvetica,arial,freesans,clean,sans-serif;
font-size: 12px; font-size: 12px;
background-color: #ffffff; background-color: #ffffff;
// background-image: url(../img/head.jpg); /* background-image: url(../img/head.jpg); */
background-repeat: repeat-x; background-repeat: repeat-x;
color: #000000; color: #000000;
margin: 0px; margin: 0px;
@ -37,6 +37,7 @@ abbr {
background-image: url("../../../../images/icons/22/notify_off.png"); background-image: url("../../../../images/icons/22/notify_off.png");
min-width: 22px; min-width: 22px;
height: 22px; height: 22px;
margin-top: -4px;
background-position: left center; background-position: left center;
padding: 1px; padding: 1px;
} }
@ -48,8 +49,8 @@ abbr {
padding: 1px; padding: 1px;
} }
a, a:visited, a:link { color: #3465a4; text-decoration: none; } a, a:visited, a:link { color: #335577; text-decoration: none; }
a:hover {text-decoration: underline; } a:hover { color: #5588aa; text-decoration: underline; }
input { input {
border: 1px solid #666666; border: 1px solid #666666;
@ -217,13 +218,13 @@ nav #nav-link-wrapper .nav-link {
} }
.tabs { .tabs {
height: 27px; height: 22px;
background-image: url(../img/head.jpg); /* background-image: url(../img/head.jpg);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: 0px -20px; background-position: 0px -20px; */
border-bottom: 1px solid #babdb6; border-bottom: 1px solid #aaaaaa;
padding:0px; padding:0px;
margin-right: 15px; margin-right: 10px;
} }
.tabs li { margin: 0px; list-style: none; } .tabs li { margin: 0px; list-style: none; }
.tab { .tab {
@ -237,7 +238,12 @@ nav #nav-link-wrapper .nav-link {
font-weight: bold; font-weight: bold;
} }
ul.tabs {
margin-top: 0px;
margin-bottom: 0px;
list-style-type: none;
padding: 0px;
}
/* footer */ /* footer */
footer { footer {
@ -322,7 +328,7 @@ div.wall-item-content-wrapper.shiny {
.fakelink, .fakelink:visited, .fakelink:link { .fakelink, .fakelink:visited, .fakelink:link {
color: #3465a4; color: #335577;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
@ -358,7 +364,7 @@ div.wall-item-content-wrapper.shiny {
} }
.fakelink:hover { .fakelink:hover {
color: #3465a4; color: #5588aa;
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
@ -1189,7 +1195,7 @@ input#dfrn-url {
.wall-item-tools { .wall-item-tools {
clear: both; clear: both;
background-image: url("../img/head.jpg"); /* background-image: url("../img/head.jpg"); */
background-position: 0 -20px; background-position: 0 -20px;
background-repeat: repeat-x; background-repeat: repeat-x;
padding: 5px 10px 0px; padding: 5px 10px 0px;