Highlight features that are yet to come

- Tone down "new as of version" boxes
 - Replace all "New as of 0.5" with "yet to be released" text
 - Use strong red only for "yet to be released" boxes

Fixes #1989
This commit is contained in:
Benjamin Kampmann
2016-03-13 11:12:26 +01:00
parent 7704175f0d
commit 9af8389616
8 changed files with 12 additions and 6 deletions

View File

@@ -252,6 +252,8 @@
Array.prototype.forEach.call(blockquotes, function (el, i) {
if (el.innerHTML.indexOf('New as of') !== -1) {
addClass(el, 'new-as-of');
} else if (el.innerHTML.indexOf('not yet released') !== -1) {
addClass(el, 'not-yet-released');
}
});
Array.prototype.forEach.call(classNames, function (className, i) {