Skip to content

Commit

Permalink
Provide styling examples
Browse files Browse the repository at this point in the history
  • Loading branch information
thriqon committed Apr 29, 2015
1 parent ed8c9ab commit 1791799
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
21 changes: 21 additions & 0 deletions tests/dummy/app/styles/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

.simple-styles .ece-container {
display: inline-block;
}

.simple-styles .ece-bubble {
border: 1px solid grey;
padding: 10px;
position: absolute;
background-color: white;
}

.simple-styles .ece-confirm {
background-color: red;
padding: 8px;
font-size: 1.5em;
color: white;
border-radius: 100%;
width: 3em;
height: 3em;
}
11 changes: 10 additions & 1 deletion tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@

<h1>Central Command</h1>
<h1>Unstyled</h1>

{{#confirm-extension questionText='really?' confirmText='yes' declineText='no' confirmAction='boom'}}
<button>Destroy planet earth</button>
{{/confirm-extension}}

<h1>Simple Styles</h1>

<div class="simple-styles">
ATTENTION! {{#confirm-extension questionText='Do you really want to destroy our home planet?' confirmText='sure!' declineText='no' confirmAction='boom'}}
<button>Destroy planet earth</button>
{{/confirm-extension}} THIS IS <strong>DANGEROUS</strong>!
<p>I'm positive. This power should not be abused</p>
</div>

0 comments on commit 1791799

Please sign in to comment.