(bug 43432) Dock links bar at bottom of Echo flyout

Change-Id: I79d76929746b6ee7a788e1b4e363425781d5687e
This commit is contained in:
Kaldari 2012-12-28 14:40:39 -08:00 committed by Gerrit Code Review
parent f94654389d
commit 486813026d
2 changed files with 8 additions and 4 deletions

View file

@ -9,12 +9,12 @@
padding: 0;
color: #6D6D6D;
z-index: 60;
overflow: auto;
box-shadow: 0px 3px 8px rgba(50, 50, 50, 0.35);
}
.mw-echo-overlay ul {
margin: 0;
overflow: auto;
}
.mw-echo-overlay li {
@ -32,6 +32,7 @@
#mw-echo-overlay-footer {
padding: 0px 0px 0px 48px;
border-top: 1px solid #DDDDDD;
}
#mw-echo-overlay-link {
@ -70,6 +71,11 @@
filter: alpha(opacity=50);
opacity: 0.5;
}
.mw-echo-overlay .mw-echo-notification:last-child {
border-bottom: none;
}
.mw-echo-overlay .mw-echo-unread {
filter: alpha(opacity=100);
opacity: 1.0;

View file

@ -33,9 +33,6 @@
$link = $( '#pt-notifications a' ),
$prefLink = $( '#pt-preferences a' ),
count = 0;
/*global window */ $overlay.css( 'max-height', $( window ).height() * 0.75 );
var Api = new mw.Api();
Api.get( {
@ -53,6 +50,7 @@
$ul = $( '<ul class="mw-echo-notifications"></ul>' ),
titleText = '';
/*global window */ $ul.css( 'max-height', $( window ).height() * 0.75 );
$.each( notifications.index, function( index, id ) {
var data = notifications.list[id];
var $li = $( '<li></li>' )