From 6092567c977d9e28df9558db51bd5b3d269740e8 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Feb 2012 23:44:55 -0800 Subject: notifications to zeros, bug in notify link --- view/theme/duepuntozero/nav.tpl | 18 +++++++++++ view/theme/duepuntozero/style.css | 67 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) (limited to 'view/theme') diff --git a/view/theme/duepuntozero/nav.tpl b/view/theme/duepuntozero/nav.tpl index afa918065..cd524ebec 100755 --- a/view/theme/duepuntozero/nav.tpl +++ b/view/theme/duepuntozero/nav.tpl @@ -39,8 +39,22 @@ {{ endif }} + + {{ if $nav.manage }}$nav.manage.1{{ endif }} + + {{ if $nav.notifications }} + + {{ endif }} + {{ if $nav.settings }}$nav.settings.1{{ endif }} {{ if $nav.profiles }}$nav.profiles.1{{ endif }} @@ -49,3 +63,7 @@ + + diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index cf7505ad0..4604bedf0 100755 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2967,3 +2967,70 @@ div.jGrowl div.info { opacity: 1.0; filter:alpha(opacity=100); } + +/* notifications popup menu */ +.nav-notify { + display: none; + position: absolute; + font-size: 10px; + padding: 1px 3px; + top: 0px; + right: -10px; + min-width: 15px; + text-align: right; +} +.nav-notify.show { + display: block; +} +ul.menu-popup { + position: absolute; + display: none; + width: 10em; + margin: 0px; + padding: 0px; + list-style: none; + z-index: 100000; + top: 90px; +} +#nav-notifications-menu { + width: 320px; + max-height: 400px; + overflow-y: scroll;overflow-style:scrollbar; + background-color:#FFFFFF; + -moz-border-radius:0px 0px 5px 5px; + -webkit-border-radius:0px 0px 5px 5px; + border-radius:0px 0px 5px 5px; + border: 1px solid #888; + border-top: none; + +} +#nav-notifications-menu .contactname { font-weight: bold; font-size: 0.9em; } +#nav-notifications-menu img { float: left; margin-right: 5px; } +#nav-notifications-menu .notif-when { font-size: 0.8em; display: block; } +#nav-notifications-menu li { + padding: 7px 0px 7px 10px; + word-wrap:normal; + border-bottom: 1px solid #000; +} + +#nav-notifications-menu li:hover { + +} + +#nav-notifications-menu a:hover { + text-decoration: underline; +} + +.notif-item a { + color: #000000; +} + +.notif-item a:hover { + text-decoration: underline; +} + +.notif-image { + width: 32px; + height: 32px; + padding: 7px 7px 0px 0px; +} -- cgit v1.2.3