From 1791799dc4e8d26be38c085bb08bf4f1cbfe6763 Mon Sep 17 00:00:00 2001 From: thriqon Date: Wed, 29 Apr 2015 17:25:44 +0200 Subject: [PATCH] Provide styling examples --- tests/dummy/app/styles/app.css | 21 +++++++++++++++++++++ tests/dummy/app/templates/application.hbs | 11 ++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/tests/dummy/app/styles/app.css b/tests/dummy/app/styles/app.css index e69de29..5ec2ee0 100644 --- a/tests/dummy/app/styles/app.css +++ b/tests/dummy/app/styles/app.css @@ -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; +} diff --git a/tests/dummy/app/templates/application.hbs b/tests/dummy/app/templates/application.hbs index 3b07067..fda4f68 100644 --- a/tests/dummy/app/templates/application.hbs +++ b/tests/dummy/app/templates/application.hbs @@ -1,6 +1,15 @@ -

Central Command

+

Unstyled

{{#confirm-extension questionText='really?' confirmText='yes' declineText='no' confirmAction='boom'}} {{/confirm-extension}} + +

Simple Styles

+ +
+ ATTENTION! {{#confirm-extension questionText='Do you really want to destroy our home planet?' confirmText='sure!' declineText='no' confirmAction='boom'}} + + {{/confirm-extension}} THIS IS DANGEROUS! +

I'm positive. This power should not be abused

+