Vier: Some more changes to the theme.

Added a switch to suppress displaying of the tags.
This commit is contained in:
Michael Vogel 2013-03-05 00:46:11 +01:00
parent 8bb6b51967
commit 86e19dda22
5 changed files with 55 additions and 38 deletions

View File

@ -158,6 +158,7 @@ class Item extends BaseObject {
$hashtags = array();
$mentions = array();
if (!get_config('system','suppress_tags')) {
$taglist = q("SELECT `type`, `term`, `url` FROM `term` WHERE `otype` = %d AND `oid` = %d AND `type` IN (%d, %d) ORDER BY `tid`",
intval(TERM_OBJ_POST), intval($item['id']), intval(TERM_HASHTAG), intval(TERM_MENTION));
@ -175,6 +176,7 @@ class Item extends BaseObject {
}
$tags[] = $prefix."<a href=\"".$tag["url"]."\" target=\"external-link\">".$tag["term"]."</a>";
}
}
/*foreach(explode(',',$item['tag']) as $tag){
$tag = trim($tag);

View File

@ -35,7 +35,7 @@
</li>
{{ endif }}
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear" style="color: lightgray;"></span></a>
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear"></span></a>
<ul id="nav-site-menu" class="menu-popup">
{{ if $nav.manage }}<li><a class="$nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a></li>{{ endif }}
{{ if $nav.help }} <li><a class="$nav.help.2" target="friendica-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>{{ endif }}

View File

@ -40,7 +40,7 @@
</li>
{{/if}}
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear" style="color: lightgray;"></span></a>
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear"></span></a>
<ul id="nav-site-menu" class="menu-popup">
{{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
{{if $nav.help}} <li><a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}

View File

@ -169,9 +169,9 @@ img {
min-width: 22px;
height: 22px;
}
.icon.s22.notify {
/*.icon.s22.notify {
color: gray;
}
}*/
.icon.s22.text {
padding: 10px 0px 0px 25px;
width: 230px;
@ -543,6 +543,10 @@ nav {
border-bottom: 5px solid #F80; */
}
nav .icon {
color: #ccc;
}
nav a:active,
nav a:visited,
nav a:link,
@ -554,6 +558,10 @@ nav a {
padding-top: 8px;
}
nav a:hover .icon {
color: #fff;
}
nav a:hover {
text-decoration: none;
outline: none;
@ -628,7 +636,12 @@ nav .nav-menu {
font-size: 13px;
/* border-bottom: 3px solid #364A84; */
color: #ccc;
font-weight: bold;
}
/*nav .nav-menu.selected a {
color: white;
}*/
nav .nav-menu.selected {
border-bottom: 3px solid #9eabb0;
/* background-color: #364E59; */
@ -841,7 +854,7 @@ right_aside {
/* aside */
aside {
display: table-cell;
/* display: table-cell; */
vertical-align: top;
width: 185px;
padding: 10px 10px 10px 20px;
@ -1186,6 +1199,7 @@ border-bottom: 1px solid #D2D2D2;
font-weight: bold;
}
.toplevel_item:hover .wall-item-name,
.wall-item-container:hover .wall-item-name {
color: #36c;
font-weight: bold;
@ -1196,11 +1210,12 @@ border-bottom: 1px solid #D2D2D2;
transition: all 0.2s ease-in-out;
}
.toplevel_item .wall-item-content a,
.wall-item-container .wall-item-content a,
/* .wall-item-container .wall-item-content a, */
.toplevel_item .fakelink,
.wall-item-container .fakelink {
color: black;
/* color: darkblue; */
/* color: #3E3E8C; */
}
.toplevel_item:hover .fakelink,