Final tweaks to big new manage menu.

This commit is contained in:
Samuel Clay 2010-07-22 00:08:32 -04:00
parent 1e991411d1
commit 314d35328f
3 changed files with 23 additions and 12 deletions

View file

@ -391,6 +391,11 @@ background: transparent;
line-height: 1.3em;
height: 1.2em;
overflow: hidden;
text-shadow: 0 1px 0 #FFF;
}
#feed_list .feed.selected .feed_title {
text-shadow: 0 1px 2px #eee;
}
#feed_list .feed_counts {
@ -2139,10 +2144,11 @@ background: transparent;
background-color: #F0FFF0;
border-top: 1px solid #8ABCBE;
border-left: 1px solid #8ABCBE;
border-right: 1px solid #8ABCBE;
-webkit-box-shadow: 2px 2px 5px #979DA6;
-moz-box-shadow: 2px 2px 5px #979DA6;
box-shadow: 2px 2px 5px #979DA6;
border-right: 1px solid #6A9C9E;
border-bottom: 1px solid #6A9C9E;
-webkit-box-shadow: 2px 2px 5px #5E6267;
-moz-box-shadow: 2px 2px 5px #5E6267;
box-shadow: 2px 2px 5px #5E6267;
}
.NB-menu-manage {
@ -2155,6 +2161,10 @@ background: transparent;
width: 285px;
}
.NB-menu-manage.NB-menu-manage-notop {
margin: 0;
}
.NB-menu-manage li {
margin: 0 0 0 0;
padding: 5px 8px 5px 36px;
@ -2195,7 +2205,7 @@ background: transparent;
.NB-menu-manage .NB-menu-manage-subtitle {
font-size: 12px;
color: #415C7B;
color: #617C4B;
}
.NB-menu-manage li:hover .NB-menu-manage-subtitle {
@ -2206,7 +2216,7 @@ background: transparent;
position: absolute;
width: 16px;
height: 16px;
top: 5px;
top: 7px;
left: 10px;
}
@ -2216,7 +2226,7 @@ background: transparent;
.NB-menu-manage .NB-menu-manage-feed-info {
font-weight: bold;
font-size: 12px;
font-size: 15px;
position: relative;
padding-top: 4px;
padding-bottom: 8px;
@ -2226,8 +2236,8 @@ background: transparent;
.NB-menu-manage .NB-menu-manage-feed-info .feed_favicon {
position: absolute;
left: 4px;
top: 3px;
left: 10px;
top: 6px;
}
.NB-menu-manage .NB-menu-manage-feed-info .feed_title {
@ -2244,6 +2254,7 @@ background: transparent;
.NB-menu-manage .NB-menu-manage-feed-delete .NB-menu-manage-image {
background: transparent url('../img/icons/silk/bin_closed.png') no-repeat 0 0;
left: 8px;
top: 8px;
}
.NB-menu-manage .NB-menu-manage-feed-delete.NB-menu-manage-feed-delete-cancel {
background-image: none;

View file

@ -462,7 +462,6 @@
var mh = s.o.maxHeight && s.o.maxHeight < w[0] ? s.o.maxHeight : w[0],
mw = s.o.maxWidth && s.o.maxWidth < w[1] ? s.o.maxWidth : w[1];
NEWSBLUR.log(['Height', w, s.o.maxHeight]);
// height
if (!ch) {
if (!dh) {ch = s.o.minHeight;}

View file

@ -1853,6 +1853,8 @@
for (var f in $feed_specific) {
$manage_menu.append($feed_specific[f]);
}
} else {
$manage_menu.addClass('NB-menu-manage-notop');
}
if ($manage_menu.children().length) {
@ -1870,8 +1872,7 @@
$.make('div', { className: 'NB-menu-manage-image' }),
$.make('div', { className: 'NB-menu-manage-title' }, 'Preferences'),
$.make('div', { className: 'NB-menu-manage-subtitle' }, 'Defaults and options.')
]),
$.make('li', { className: 'NB-menu-separator' })
])
];
for (var f in $site_specific) {
$manage_menu.append($site_specific[f]);