Merge branch 'pull'

This commit is contained in:
Friendika 2011-10-05 13:12:43 -07:00
commit 09fcfe2fe7
2 changed files with 123 additions and 33 deletions

View file

@ -3,13 +3,16 @@
<span id="banner">$banner</span> <span id="banner">$banner</span>
<div id="notifications"> <div id="notifications">
{{ if $nav.network }}<a id="net-update" class="nav-ajax-update" href="$nav.network.0" title="$nav.network.1"></a>{{ endif }} {{ if $nav.network }}<a rel="#nav-notifications-menu" id="net-update" class="nav-ajax-update" href="$nav.network.0" title="$nav.network.1"></a>{{ endif }}
{{ if $nav.home }}<a id="home-update" class="nav-ajax-update" href="$nav.home.0" title="$nav.home.1"></a>{{ endif }} {{ if $nav.home }}<a rel="#nav-notifications-menu" id="home-update" class="nav-ajax-update" href="$nav.home.0" title="$nav.home.1"></a>{{ endif }}
{{ if $nav.notifications }}<a id="intro-update" class="nav-ajax-update" href="$nav.notifications.0" title="$nav.notifications.1"></a>{{ endif }} {{ if $nav.notifications }}<a rel="#nav-notifications-menu" id="intro-update" class="nav-ajax-update" href="$nav.notifications.0" title="$nav.notifications.1"></a>{{ endif }}
{{ if $nav.messages }}<a id="mail-update" class="nav-ajax-update" href="$nav.messages.0" title="$nav.messages.1"></a>{{ endif }} {{ if $nav.messages }}<a rel="#nav-notifications-menu" id="mail-update" class="nav-ajax-update" href="$nav.messages.0" title="$nav.messages.1"></a>{{ endif }}
<ul id="nav-notifications-menu" class="menu-popup">
<li class="empty">$emptynotifications</li>
</ul>
</div> </div>
<div id="user-menu" > <div id="user-menu" >
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a> <a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
@ -48,8 +51,8 @@
{{ if $nav.logout }}<li><a id="nav-logout-link" class="nav-commlink nav-sep $nav.logout.2" href="$nav.logout.0">$nav.logout.1</a></li> {{ endif }} {{ if $nav.logout }}<li><a id="nav-logout-link" class="nav-commlink nav-sep $nav.logout.2" href="$nav.logout.0">$nav.logout.1</a></li> {{ endif }}
</ul> </ul>
</div> </div>
</nav> </nav>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<a href="{0}"><li>{2} <span class="notif-when">{3}</span></li></a>
</ul>

View file

@ -375,10 +375,10 @@ ul#user-menu-popup li a.nav-sep { border-top: 1px solid #989898; border-style:in
padding-left: 11px; padding-left: 11px;
/*display: none;*/ /*display: none;*/
} }
#net-update { background-position: 0px 0px; } #net-update { background-position: 0px -126px; }
#mail-update { background-position: 0px -40px; } #mail-update { background-position: 0px -40px; }
#intro-update { background-position: 0px -84px; } #intro-update { background-position: 0px -84px; }
#home-update { background-position: 0px -126px; } #home-update { background-position: 0px 0px; }
#lang-select-icon { #lang-select-icon {
cursor: pointer; cursor: pointer;
@ -845,15 +845,12 @@ profile-jot-banner-wrapper {
border-bottom: 1px solid #dedede; border-bottom: 1px solid #dedede;
margin-top: 20px; margin-top: 20px;
padding-right: 10px; padding-right: 10px;
padding-left: 12px;
overflow: hidden;
} }
.wall-item-outside-wrapper-end { clear: both;} .wall-item-outside-wrapper-end { clear: both;}
.wall-item-content-wrapper { .wall-item-content-wrapper { position: relative; max-width: 100%; }
position: relative;
max-width: 100%;
word-wrap: break-word;
}
.wall-item-photo-menu { display: none;} .wall-item-photo-menu { display: none;}
.wall-item-photo-menu-button { .wall-item-photo-menu-button {
display:none; display:none;
@ -1197,8 +1194,7 @@ div[id$="wrapper"] br { clear: left; }
#profile-listing-new-link-wrapper { #profile-listing-new-link-wrapper {
float: left; float: left;
display: inline-block; display: inline;
clear: right;
width: 130px; width: 130px;
margin-left:5px; margin-left:5px;
margin-top: 20px; margin-top: 20px;
@ -1256,8 +1252,8 @@ div[id$="wrapper"] br { clear: left; }
} }
.profile-match-wrapper { .profile-match-wrapper {
width: 80%; width: 82%;
padding: 15px; padding: 5px;
margin-bottom:10px; margin-bottom:10px;
margin-left: 20px; margin-left: 20px;
background-color: #f6f6f6; background-color: #f6f6f6;
@ -1734,6 +1730,48 @@ margin-left: 0px;
border: 1px solid #dddddd; border: 1px solid #dddddd;
} }
/* ================= */
/* = Notifications = */
/* ================= */
/*#notification-show-hide-wrapper {
width: 160px;
-moz-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
-webkit-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
box-shadow:inset 0px 1px 0px 0px #cfcfcf;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bdbdbd), color-stop(1, #a2a2a2) );
background:-moz-linear-gradient( center top, #bdbdbd 5%, #a2a2a2 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bdbdbd', endColorstr='#a2a2a2');
background-color:#bdbdbd;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
padding: 5px 10px 5px 10px;
margin-right: 5px;
margin-top: 10px;
font-style: bold;
color: #efefef;
text-align: center;
}
#notification-show-hide-wrapper:hover {
color: #efefef;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b20202), color-stop(1, #d60808) );
background:-moz-linear-gradient( center top, #b20202 5%, #d60808 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b20202', endColorstr='#d60808');
background-color:#b20202;
}
#notification-show-hide-wrapper:active {
background-color: #b20202;
position:relative;
top:1px;
}
#notification-show-hide-wrapper a {
color: #efefef;
}*/
/* ============ */ /* ============ */
/* = Contacts = */ /* = Contacts = */
/* ============ */ /* ============ */
@ -2028,7 +2066,7 @@ margin-left: 0px;
border-radius:5px; border-radius:5px;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
color: #efefef; color: #efefef;
font-size: 1em; font-size: 1.2em;
text-align: center; text-align: center;
} }
@ -2187,12 +2225,7 @@ margin-left: 0px;
.settings-submit-wrapper, .settings-submit-wrapper,
.profile-edit-submit-wrapper { margin: 30px 0px;} .profile-edit-submit-wrapper { margin: 30px 0px;}
.profile-listing { .profile-listing { float: left; clear: both; margin: 20px 20px 0px 0px}
float: left;
clear: left;
display: inline;
margin: 20px 20px 0px 0px;
}
#profile-edit-links ul { margin: 20px 0px; padding: 0px; list-style: none; } #profile-edit-links ul { margin: 20px 0px; padding: 0px; list-style: none; }
@ -2256,10 +2289,6 @@ margin-left: 0px;
#group-edit-desc { margin: 10px 0xp; } #group-edit-desc { margin: 10px 0xp; }
#group-new-text {font-size: 1.1em;} #group-new-text {font-size: 1.1em;}
#prof-members-title,#prof-all-contcts-title {
margin-top: 10px;
margin-bottom: 5px;
}
#group-members, #group-members,
#prof-members { #prof-members {
width: 83%; width: 83%;
@ -2972,4 +3001,62 @@ a.active {
color:#efefef; color:#efefef;
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
margin-right: 5px; margin-right: 5px;
} }
/* 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: 40px;
}
#nav-notifications-menu {
width: 320px;
max-height: 400px;
overflow-y: scroll;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #797979), color-stop(1, #898988) );
background:-moz-linear-gradient( center top, #797979 5%, #898988 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#797979', endColorstr='#898988');
background-color:#a2a2a2;
-moz-border-radius:0px 0px 5px 5px;
-webkit-border-radius:0px 0px 5px 5px;
border-radius:0px 0px 5px 5px;
border: 1px solid #9A9A9A;
border-top: none;
-moz-box-shadow: 5px 5px 10px #242424;
-webkit-box-shadow: 5px 5px 10px #242424;
box-shadow: 5px 5px 10px #242424;
}
#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 10px 7px 10px;
word-wrap:normal;
border-bottom: 1px solid #626262;
}
#nav-notifications-menu li:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b20202), color-stop(1, #d60808) );
background:-moz-linear-gradient( center top, #b20202 5%, #d60808 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b20202', endColorstr='#d60808');
background-color:#b20202;
}