diff options
author | friendica <info@friendica.com> | 2012-03-13 23:53:33 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-13 23:53:33 -0700 |
commit | 9df67e5cfe18255957e0d20ef9440ba9afdaf0b6 (patch) | |
tree | e1e729fb7e18cd670c7304641990098ecc7041c1 /view/theme/dispy/theme.php | |
parent | 7e270b043c07878d52c2c0a156b2ee1b1b787ced (diff) | |
parent | fb77bfa648c3dd06d1b3f343f5ad98f32a7ce313 (diff) | |
download | volse-hubzilla-9df67e5cfe18255957e0d20ef9440ba9afdaf0b6.tar.gz volse-hubzilla-9df67e5cfe18255957e0d20ef9440ba9afdaf0b6.tar.bz2 volse-hubzilla-9df67e5cfe18255957e0d20ef9440ba9afdaf0b6.zip |
Merge branch 'pull'
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r-- | view/theme/dispy/theme.php | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index a7aec1c1a..75297290c 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -1,5 +1,17 @@ <?php -$a->theme_info = array(); + +/* + * Name: Dispy + * Description: Dispy, Friendica theme + * Version: 0.9 + * Author: unknown + * Maintainer: Simon <http://simon.kisikew.org/> + */ + + +$a->theme_info = array( + 'extends' => 'dispy' +); $a->page['htmlhead'] .= <<< EOT <script> @@ -52,6 +64,26 @@ $(document).ready(function() { $('#drop-' + id).addClass('iconspacer'); } ); + // notifications + $('html').click(function() { + $('#nav-notifications-linkmenu').removeClass('selected'); + document.getElementById("nav-notifications-menu").style.display = "none"; + }); + + $('#nav-notifications-linkmenu').click(function(event) { + event.stopPropagation(); + }); + + // usermenu + $('html').click(function() { + $('#nav-user-linkmenu').removeClass('selected'); + document.getElementById("nav-user-menu").style.display = "none"; + }); + + $('#nav-user-linkmenu').click(function(event) { + event.stopPropagation(); + }); + function toggleToolbar() { if ( $('#nav-floater').is(':visible') ) { $('#nav-floater').slideUp('fast'); @@ -71,6 +103,13 @@ $(document).ready(function() { }); }); </script> +<script> +$(document).ready(function() { + $('#profile-jot-text').focusin(function() { + $(this).css('color: #eec;'); + }); +}); +</script> EOT; $a->page['footer'] .= <<<EOFooter |