diff --git a/index.html b/index.html index f3a53e0..c17b3ce 100644 --- a/index.html +++ b/index.html @@ -27,10 +27,9 @@

Ply

-
-

Alert

+

Alert

@@ -49,7 +48,7 @@
-

Confirm

+

Confirm

@@ -72,7 +71,7 @@
-

Prompt

+

Prompt

@@ -99,7 +98,7 @@
-

Dialogs / Multistep

+

Dialogs / Multistep

@@ -120,8 +119,10 @@ ok: "Yes", cancel: "No" }, - next: "congratulations", - nextEffect: "3d-flip[180,-180]" + next: "congratulations", // OK button + nextEffect: "3d-flip[180,-180]", + back: "exit", // Cancel button + backEffect: "scale" }, "congratulations": { data: { @@ -131,6 +132,9 @@ }], ok: "Okay" } + }, + "exit": { + data: "Very vain!" } }); @@ -151,26 +155,30 @@
+ + // Boot + (function () { + var files = []; - - + ![].forEach && files.push('//cdnjs.cloudflare.com/ajax/libs/es5-shim/3.4.0/es5-shim.min'); + files.push('//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0/highlight.min'); - diff --git a/st/app.css b/st/app.css index 37a96ef..8b41197 100644 --- a/st/app.css +++ b/st/app.css @@ -38,10 +38,31 @@ h1 { text-decoration: none; } + h2 { + position: relative; font-size: 30px; margin-bottom: 10px; } + /* anchors */ + h2 a { + color: #fff; + outline: 0; + text-decoration: none; + } + h2 a:before { + right: 100%; + padding-right: 10px; + display: block; + content: '→'; + position: absolute; + visibility: hidden; + } + + h2 a:hover:before, + h2 a.selected:before { + visibility: visible; + } .row {