diff options
author | zottel <github@zottel.net> | 2012-03-15 10:18:06 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-15 10:18:06 +0100 |
commit | 69f4448adaf7afddf00deeb2f832938d5505abcf (patch) | |
tree | c849dae276511aa93ba1ef8b2b90098116d65f3e /view/theme/slack-NS/theme.php | |
parent | 282465edaba57795b8c02d1fb6eaa8a2fbbad9bf (diff) | |
parent | a7fd3a8b245a09f376081f23f5d23d907d21ecfa (diff) | |
download | volse-hubzilla-69f4448adaf7afddf00deeb2f832938d5505abcf.tar.gz volse-hubzilla-69f4448adaf7afddf00deeb2f832938d5505abcf.tar.bz2 volse-hubzilla-69f4448adaf7afddf00deeb2f832938d5505abcf.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/slack-NS/theme.php')
-rwxr-xr-x | view/theme/slack-NS/theme.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/view/theme/slack-NS/theme.php b/view/theme/slack-NS/theme.php new file mode 100755 index 000000000..ceec4dd97 --- /dev/null +++ b/view/theme/slack-NS/theme.php @@ -0,0 +1,51 @@ +<?php +$a->theme_info = array( + 'extends' => 'duepuntozero', +); + +$a->page['htmlhead'] .= <<< EOT +<script> +$(document).ready(function() { + +$('html').click(function() { $("#nav-notifications-menu" ).hide(); }); + +$('.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');} + ); + +}); + + +</script> +EOT; |