Stlying starred stories in intro wizard.

This commit is contained in:
Samuel Clay 2013-07-03 19:31:45 -07:00
parent 9eb7aa4d4d
commit 2616114132
2 changed files with 10 additions and 3 deletions

View file

@ -6813,6 +6813,13 @@ form.opml_import_form input {
text-align: center;
display: none;
}
.NB-modal-intro .NB-intro-import-starred-message {
display: none;
text-align: center;
margin: -24px 0 12px;
font-size: 14px;
font-weight: bold;
}
.NB-modal-intro .NB-intro-module-containers {
overflow: hidden;
}

View file

@ -60,7 +60,7 @@ _.extend(NEWSBLUR.ReaderIntro.prototype, {
$.make('div', { className: 'NB-intro-imports NB-intro-imports-start'}, [
$.make('div', { className: 'NB-page-2-started' }, [
$.make('h4', "Let's get some sites to read."),
$.make('h6')
$.make('div', { className: 'NB-intro-import-starred-message' })
]),
$.make('div', { className: 'NB-intro-module-containers' }, [
$.make('div', { className: 'NB-intro-module-container NB-left' }, [
@ -497,12 +497,12 @@ _.extend(NEWSBLUR.ReaderIntro.prototype, {
}
if (starred_count) {
var $info = $(".NB-page-2-started h6", this.$modal);
var $info = $(".NB-page-2-started .NB-intro-import-starred-message", this.$modal);
$info.text([
"And you have ",
Inflector.pluralize(' saved story', starred_count, true),
". "
].join(""));
].join("")).show();
}
},