diff options
author | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-14 12:57:35 +0100 |
---|---|---|
committer | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-14 12:57:35 +0100 |
commit | 70709a882594250684c954a21d186877ea6f983c (patch) | |
tree | ee2f364e513f8fd9fa1e12da8f5cd39c36d9b403 /view/theme/dispy-dark/theme.php | |
parent | 509ed2604fe6860b83e02984f8b4a280496a22a8 (diff) | |
parent | 42462cc1f00cd0d2e637ff3ddb62b30ae4a645c6 (diff) | |
download | volse-hubzilla-70709a882594250684c954a21d186877ea6f983c.tar.gz volse-hubzilla-70709a882594250684c954a21d186877ea6f983c.tar.bz2 volse-hubzilla-70709a882594250684c954a21d186877ea6f983c.zip |
Merge branch 'master' of git://github.com/friendica/friendica
Conflicts:
view/de/strings.php
Diffstat (limited to 'view/theme/dispy-dark/theme.php')
-rw-r--r-- | view/theme/dispy-dark/theme.php | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php new file mode 100644 index 000000000..a7aec1c1a --- /dev/null +++ b/view/theme/dispy-dark/theme.php @@ -0,0 +1,77 @@ +<?php +$a->theme_info = array(); + +$a->page['htmlhead'] .= <<< EOT +<script> +$(document).ready(function() { + $('.group-edit-icon').hover( + function() { + $(this).addClass('icon'); + $(this).removeClass('iconspacer'); }, + + function() { + $(this).removeClass('icon'); + $(this).addClass('iconspacer'); } + ); + + $('.sidebar-group-element').hover( + function() { + id = $(this).attr('id'); + $('#edit-' + id).addClass('icon'); + $('#edit-' + id).removeClass('iconspacer'); }, + + function() { + id = $(this).attr('id'); + $('#edit-' + id).removeClass('icon'); + $('#edit-' + id).addClass('iconspacer'); } + ); + + $('.savedsearchdrop').hover( + function() { + $(this).addClass('drop'); + $(this).addClass('icon'); + $(this).removeClass('iconspacer'); }, + + function() { + $(this).removeClass('drop'); + $(this).removeClass('icon'); + $(this).addClass('iconspacer'); } + ); + + $('.savedsearchterm').hover( + function() { + id = $(this).attr('id'); + $('#drop-' + id).addClass('icon'); + $('#drop-' + id).addClass('drophide'); + $('#drop-' + id).removeClass('iconspacer'); }, + + function() { + id = $(this).attr('id'); + $('#drop-' + id).removeClass('icon'); + $('#drop-' + id).removeClass('drophide'); + $('#drop-' + id).addClass('iconspacer'); } + ); + + function toggleToolbar() { + if ( $('#nav-floater').is(':visible') ) { + $('#nav-floater').slideUp('fast'); + $('.floaterflip').css({ + backgroundPosition: '-210px -60px' + }); + } else { + $('#nav-floater').slideDown('fast'); + $('.floaterflip').css({ + backgroundPosition: '-190px -60px' + }); + } + }; + $('.floaterflip').click(function() { + toggleToolbar(); + return false; + }); +}); +</script> +EOT; + +$a->page['footer'] .= <<<EOFooter +EOFooter; |