Skip to content

Commit cbcc4b7

Browse files
authored
Merge pull request #95 from ember-learn/add-banner
Add warning banner
2 parents 7a8eb5a + 038a6ce commit cbcc4b7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.WarningBanner {
2+
background-color: #EF5753;
3+
color: white;
4+
font-weight: bold;
5+
padding: 7px 0;
6+
font-size: 15px;
7+
box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.3);
8+
}

tests/dummy/app/pods/application/template.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<div class='WarningBanner'>
2+
<div class="docs-container bg-red">
3+
WARNING: AddonDocs is currently unstable. Check back soon for updates.
4+
</div>
5+
</div>
6+
17
{{! BEGIN-SNIPPET docs-demo-application-template.hbs }}
28
{{outlet}}
39

0 commit comments

Comments
 (0)