Merge pull request #552 from google/remove-banner

Revert "Show WIP banner in production"
master
Surma 2015-06-30 14:34:12 +01:00
commit 732946c6b6
3 changed files with 0 additions and 32 deletions

View File

@ -1167,18 +1167,3 @@ code[class*=language-], pre[class*=language-] {
.docs-navigation .spacer {
flex-grow: 1;
}
.docs-wip-banner {
position: fixed;
z-index: 999;
left: 0;
right: 0;
bottom: 0;
background-color: #B71C1C;
color: white;
font-size: 12px;
padding: 16px 40px;
}
.docs-banner em {
font-style: italic;
}

View File

@ -30,17 +30,3 @@
leftScroll.addEventListener('click', scrollMenuBar.bind(null, -delta));
leftScroll.addEventListener('tap', scrollMenuBar.bind(null, -delta));
})();
// WIP banner
(function() {
'use strict';
var banner = document.querySelector('.docs-wip-banner');
if ((location.hostname !== 'localhost') &&
(location.hostname !== 'storage.googleapis.com')) {
banner.style.display = 'block';
}
if (location.search.indexOf('showbanner') !== -1) {
banner.style.display = 'block';
}
})();

View File

@ -103,9 +103,6 @@
</footer>
</main>
</div>
<div class="docs-wip-banner" style="display: none;">
This is a <em>preview</em> of Material Design Lite. It is still very much work-in-progress. We are launching soon!
</div>
<!-- IE Compatibility shims -->
<!--[if lt IE 9]>