cloud tiles: use folder-o for folders and set the icon colour to something a bit less harsh than the link colour for system icons. Dark solid blue folders are a bit overwhelming, as is the default text_colour (black)
This commit is contained in:
parent
6a49e3124e
commit
250d947667
@ -492,10 +492,11 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||||||
$t3 = dba_timer();
|
$t3 = dba_timer();
|
||||||
|
|
||||||
if($vnotify & (VNOTIFY_NETWORK|VNOTIFY_CHANNEL)) {
|
if($vnotify & (VNOTIFY_NETWORK|VNOTIFY_CHANNEL)) {
|
||||||
|
|
||||||
$r = q("SELECT id, item_wall FROM item
|
$r = q("SELECT id, item_wall FROM item
|
||||||
WHERE item_unseen = 1 and uid = %d
|
WHERE item_unseen = 1 and uid = %d
|
||||||
$item_normal
|
$item_normal
|
||||||
AND author_xchan != '%s'",
|
AND author_xchan != '%s' $sql_extra ",
|
||||||
intval(local_channel()),
|
intval(local_channel()),
|
||||||
dbesc($ob_hash)
|
dbesc($ob_hash)
|
||||||
);
|
);
|
||||||
|
@ -2704,8 +2704,8 @@ function linkify_tags($a, &$body, $uid, $diaspora = false) {
|
|||||||
function getIconFromType($type) {
|
function getIconFromType($type) {
|
||||||
$iconMap = array(
|
$iconMap = array(
|
||||||
//Folder
|
//Folder
|
||||||
t('Collection') => 'fa-folder',
|
t('Collection') => 'fa-folder-o',
|
||||||
'multipart/mixed' => 'fa-folder', //dirs in attach use this mime type
|
'multipart/mixed' => 'fa-folder-o', //dirs in attach use this mime type
|
||||||
//Common file
|
//Common file
|
||||||
'application/octet-stream' => 'fa-file-o',
|
'application/octet-stream' => 'fa-file-o',
|
||||||
//Text
|
//Text
|
||||||
|
@ -105,6 +105,10 @@ a,
|
|||||||
color: $link_colour;
|
color: $link_colour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cloud-icon.tiles i {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:focus,
|
a:focus,
|
||||||
.fakelink:hover,
|
.fakelink:hover,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{{if $parentpath}}
|
{{if $parentpath}}
|
||||||
<div class="cloud-container" >
|
<div class="cloud-container" >
|
||||||
<div class="cloud-icon"><a href="{{$parentpath.path}}">
|
<div class="cloud-icon tiles"><a href="{{$parentpath.path}}">
|
||||||
<i class="fa fa-fw fa-level-up" ></i>
|
<i class="fa fa-fw fa-level-up" ></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
{{foreach $entries as $item}}
|
{{foreach $entries as $item}}
|
||||||
<div class="cloud-container">
|
<div class="cloud-container">
|
||||||
<div class="cloud-icon"><a href="{{$item.fullPath}}">
|
<div class="cloud-icon tiles"><a href="{{$item.fullPath}}">
|
||||||
{{if $item.photo_icon}}
|
{{if $item.photo_icon}}
|
||||||
<img src="{{$item.photo_icon}}" title="{{$item.type}}" >
|
<img src="{{$item.photo_icon}}" title="{{$item.type}}" >
|
||||||
{{else}}
|
{{else}}
|
||||||
|
Reference in New Issue
Block a user