aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/slack-NS/theme.php
diff options
context:
space:
mode:
authorTony Baldwin <tony@baldwinsoftware.com>2012-03-13 23:05:04 -0400
committerTony Baldwin <tony@baldwinsoftware.com>2012-03-13 23:05:04 -0400
commit1ae740535d8a5b455395d51c01adef74e9dbb1ae (patch)
treeea040aeb7e3c183f53f5e75b4fab723b3d85b0fe /view/theme/slack-NS/theme.php
parentde017d1ed76500c01fd11c8e1d36cf4ebd70172d (diff)
downloadvolse-hubzilla-1ae740535d8a5b455395d51c01adef74e9dbb1ae.tar.gz
volse-hubzilla-1ae740535d8a5b455395d51c01adef74e9dbb1ae.tar.bz2
volse-hubzilla-1ae740535d8a5b455395d51c01adef74e9dbb1ae.zip
added slack-NS, non-scrolly, slackr-based theme.
Diffstat (limited to 'view/theme/slack-NS/theme.php')
-rwxr-xr-xview/theme/slack-NS/theme.php51
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;