aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-14 01:05:08 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-14 01:05:08 -0400
commit975781d3e23e6beb2ac86b191c7c12b7347c1705 (patch)
tree62ee6d6f1e983c4003e170eed41d4fd495f50b17 /view/theme/dispy
parenta2073bcfc05abadc3e967f40c66d1fa674bba0d3 (diff)
downloadvolse-hubzilla-975781d3e23e6beb2ac86b191c7c12b7347c1705.tar.gz
volse-hubzilla-975781d3e23e6beb2ac86b191c7c12b7347c1705.tar.bz2
volse-hubzilla-975781d3e23e6beb2ac86b191c7c12b7347c1705.zip
massive work done to both dispys, mostly -dark
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme/dispy')
-rw-r--r--view/theme/dispy/style.css3
-rw-r--r--view/theme/dispy/theme.php41
2 files changed, 42 insertions, 2 deletions
diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css
index 24fa39f77..93830de96 100644
--- a/view/theme/dispy/style.css
+++ b/view/theme/dispy/style.css
@@ -2593,7 +2593,8 @@ footer {
/* autocomplete popup */
.acpopup {
- max-height: 150px;
+ max-height: 175px;
+ max-width: 42%;
background-color: #555753;
color: #fff;
overflow: auto;
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