mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
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
4 changed files with 10 additions and 5 deletions
|
@ -492,10 +492,11 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||
$t3 = dba_timer();
|
||||
|
||||
if($vnotify & (VNOTIFY_NETWORK|VNOTIFY_CHANNEL)) {
|
||||
|
||||
$r = q("SELECT id, item_wall FROM item
|
||||
WHERE item_unseen = 1 and uid = %d
|
||||
$item_normal
|
||||
AND author_xchan != '%s'",
|
||||
AND author_xchan != '%s' $sql_extra ",
|
||||
intval(local_channel()),
|
||||
dbesc($ob_hash)
|
||||
);
|
||||
|
|
|
@ -2704,8 +2704,8 @@ function linkify_tags($a, &$body, $uid, $diaspora = false) {
|
|||
function getIconFromType($type) {
|
||||
$iconMap = array(
|
||||
//Folder
|
||||
t('Collection') => 'fa-folder',
|
||||
'multipart/mixed' => 'fa-folder', //dirs in attach use this mime type
|
||||
t('Collection') => 'fa-folder-o',
|
||||
'multipart/mixed' => 'fa-folder-o', //dirs in attach use this mime type
|
||||
//Common file
|
||||
'application/octet-stream' => 'fa-file-o',
|
||||
//Text
|
||||
|
|
|
@ -105,6 +105,10 @@ a,
|
|||
color: $link_colour;
|
||||
}
|
||||
|
||||
.cloud-icon.tiles i {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
.fakelink:hover,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{{if $parentpath}}
|
||||
<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>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
{{foreach $entries as $item}}
|
||||
<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}}
|
||||
<img src="{{$item.photo_icon}}" title="{{$item.type}}" >
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in a new issue