diff --git a/AceEditor/index.html b/AceEditor/index.html index 6b2def1..ca460ed 100644 --- a/AceEditor/index.html +++ b/AceEditor/index.html @@ -25,7 +25,7 @@ - + + - + diff --git a/MemoryGame/index.html b/MemoryGame/index.html index 39fda8a..4543266 100644 --- a/MemoryGame/index.html +++ b/MemoryGame/index.html @@ -11,7 +11,7 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Playground/samples/cats.html b/Playground/samples/cats.html deleted file mode 100644 index 510f3ce..0000000 --- a/Playground/samples/cats.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Playground/samples/echo.html b/Playground/samples/echo.html deleted file mode 100644 index 444de44..0000000 --- a/Playground/samples/echo.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/Playground/samples/nametag.html b/Playground/samples/nametag.html deleted file mode 100644 index b1ed43f..0000000 --- a/Playground/samples/nametag.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - diff --git a/Playground/samples/panels.html b/Playground/samples/panels.html deleted file mode 100644 index bbbbefc..0000000 --- a/Playground/samples/panels.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - -
- - - - - -
- -
Panel 1
-
Panel 2
-
Panel 3 -
foo
-
bar
-
baz
-
-
Panel 4
-
Panel 5
-
- diff --git a/Playground/samples/pg-app-sample.html b/Playground/samples/pg-app-sample.html deleted file mode 100644 index fbf8a01..0000000 --- a/Playground/samples/pg-app-sample.html +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Playground/samples/pica.html b/Playground/samples/pica.html deleted file mode 100644 index 7cc5fa8..0000000 --- a/Playground/samples/pica.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/Playground/samples/youtubesearch.html b/Playground/samples/youtubesearch.html deleted file mode 100644 index 9239d4e..0000000 --- a/Playground/samples/youtubesearch.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Playground/samples/yt-app.html b/Playground/samples/yt-app.html deleted file mode 100644 index 168a651..0000000 --- a/Playground/samples/yt-app.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/Playground/src/css/pg-app.css b/Playground/src/css/pg-app.css index 3178c5a..a350c0f 100644 --- a/Playground/src/css/pg-app.css +++ b/Playground/src/css/pg-app.css @@ -1,93 +1,58 @@ -#menu { - width: 300px; +/* +Copyright 2013 The Toolkitchen Authors. All rights reserved. +Use of this source code is governed by a BSD-style +license that can be found in the LICENSE file. +*/ +@host { + * { + -webkit-user-select: none; + -moz-user-select: none; + } } -#main { - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-box-orient: vertical; - -webkit-flex-flow: column; - flex-direction: column; +polymer-ui-sidebar-menu#menu { + width: 260px; } -#content { - display: -webkit-box; - display: -webkit-flex; - display: flex; - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - flex: 1; +#stage { + overflow: hidden; } -#ace { +ajaxorg-ace#ace { position: relative !important; - width: 620px; - -webkit-transition: width 0.2s; - transition: width 0.2s; + width: 540px; } -#outputContainer { - display: -webkit-box; - display: -webkit-flex; - display: flex; - -webkit-box-orient: vertical; - -webkit-flex-flow: column; - flex-direction: column; - -webkit-box-flex: 1; - -webkit-flex: 1; - flex: 1; - border-left: 1px solid #ccc; -} - -.titlebar { - height: 44px; - background: #333; - color: white; -} - -.titlebar > * { - display: inline-block; - vertical-align: middle; +pg-output { + background: white; } -.outputFrameContainer { - -webkit-box-flex: 1; - -webkit-flex: 1; - flex: 1; - position: relative; -} - -#output { - background: white; - border: 0; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; +pg-output.pointer-none { + pointer-events: none; } .toolbar-button { - -webkit-appearance: none; - padding: 8px 14px 5px; - background-color: #e6e6e6; - background-repeat: no-repeat; - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - border: 1px solid #ccc; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + width: 116px; + height: 38px; + text-decoration: none !important; + -webkit-user-select: none; + user-select: none; + margin: 0 10px; + background-image: -webkit-linear-gradient(top, #4387fd, #4683ea); + background-image: -moz-linear-gradient(top, #4387fd, #4683ea); + border: 1px solid #3079ed; border-radius: 3px; font-size: 14px; - color: #333; + color: white; + text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4); + cursor: pointer; } .toolbar-button:hover { - background-position: 0 -15px; + background-image: -webkit-linear-gradient(top, #357ae8, #4683ea); + background-image: -moz-linear-gradient(top, #357ae8, #4683ea); } .toolbar-button:active { - box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - color: #555; + box-shadow: inset 0 6px 6px -6px rgba(0, 0, 0, 0.3); } diff --git a/Playground/src/css/pg-output.css b/Playground/src/css/pg-output.css new file mode 100644 index 0000000..e41c79a --- /dev/null +++ b/Playground/src/css/pg-output.css @@ -0,0 +1,16 @@ +@host { + * { + display: block; + position: relative; + } +} + +iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: white; + border: 0; +} \ No newline at end of file diff --git a/Playground/src/images/arrow_left.png b/Playground/src/images/arrow_left.png index 2717360..354742d 100644 Binary files a/Playground/src/images/arrow_left.png and b/Playground/src/images/arrow_left.png differ diff --git a/Playground/src/images/arrow_right.png b/Playground/src/images/arrow_right.png index 0744e5d..cffb549 100644 Binary files a/Playground/src/images/arrow_right.png and b/Playground/src/images/arrow_right.png differ diff --git a/PolymerElementsPlayground/src/images/arrow_right.png b/Playground/src/images/code.png similarity index 87% rename from PolymerElementsPlayground/src/images/arrow_right.png rename to Playground/src/images/code.png index cffb549..39693ae 100644 Binary files a/PolymerElementsPlayground/src/images/arrow_right.png and b/Playground/src/images/code.png differ diff --git a/Playground/src/images/menu.png b/Playground/src/images/menu.png deleted file mode 100644 index 628ec0e..0000000 Binary files a/Playground/src/images/menu.png and /dev/null differ diff --git a/Playground/src/images/sample.png b/Playground/src/images/sample.png deleted file mode 100644 index f37c6dd..0000000 Binary files a/Playground/src/images/sample.png and /dev/null differ diff --git a/Playground/src/images/toolkit.svg b/Playground/src/images/toolkit.svg new file mode 100644 index 0000000..e77ce4a --- /dev/null +++ b/Playground/src/images/toolkit.svg @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Playground/src/pg-app.html b/Playground/src/pg-app.html index 662a230..fe96468 100644 --- a/Playground/src/pg-app.html +++ b/Playground/src/pg-app.html @@ -5,104 +5,99 @@ * license that can be found in the LICENSE file. */ --> - - - - - - - + - - + + + - \ No newline at end of file +
\ No newline at end of file diff --git a/Playground/src/pg-output.html b/Playground/src/pg-output.html new file mode 100644 index 0000000..245cf51 --- /dev/null +++ b/Playground/src/pg-output.html @@ -0,0 +1,66 @@ + + + + + \ No newline at end of file diff --git a/PolymerElementsPlayground/index.html b/PolymerElementsPlayground/index.html deleted file mode 100644 index 2500f56..0000000 --- a/PolymerElementsPlayground/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Polymer Elements Playground - - - - - - - - - - - - - - - diff --git a/PolymerElementsPlayground/metadata.html b/PolymerElementsPlayground/metadata.html deleted file mode 100644 index df52575..0000000 --- a/PolymerElementsPlayground/metadata.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/PolymerElementsPlayground/src/css/pg-app.css b/PolymerElementsPlayground/src/css/pg-app.css deleted file mode 100644 index 57829b8..0000000 --- a/PolymerElementsPlayground/src/css/pg-app.css +++ /dev/null @@ -1,55 +0,0 @@ -#menu { - width: 200px; -} - -#ace { - position: relative !important; - width: 540px; - border-right: 1px solid #ccc; - -webkit-transition: width 0.2s; - transition: width 0.2s; -} - -#ace.minimized { - width: 0; - border: 1px solid transparent; -} - -.outputContainer { - position: relative; -} - -#output { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: white; - border: 0; -} - -.toolbar-button { - -webkit-appearance: none; - text-decoration: none !important; - padding: 5px 14px; - background-color: #e6e6e6; - background-repeat: no-repeat; - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - border: 1px solid #ccc; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - border-radius: 3px; - font-size: 14px; - color: #333; - cursor: pointer; -} - -.toolbar-button:hover { - background-position: 0 -15px; -} - -.toolbar-button:active { - box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - color: #555; -} diff --git a/PolymerElementsPlayground/src/images/arrow_left.png b/PolymerElementsPlayground/src/images/arrow_left.png deleted file mode 100644 index 354742d..0000000 Binary files a/PolymerElementsPlayground/src/images/arrow_left.png and /dev/null differ diff --git a/PolymerElementsPlayground/src/pg-app.html b/PolymerElementsPlayground/src/pg-app.html deleted file mode 100644 index 5a2f26f..0000000 --- a/PolymerElementsPlayground/src/pg-app.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Samples/3. But Widgets/index.html b/Samples/3. But Widgets/index.html index 8758731..f8c2e8c 100644 --- a/Samples/3. But Widgets/index.html +++ b/Samples/3. But Widgets/index.html @@ -1,4 +1,4 @@ - + - Previous - Next - View Source + Previous + Next + View Source diff --git a/Samples/4. Encapsulate/index.html b/Samples/4. Encapsulate/index.html index 80772c3..bbdf076 100644 --- a/Samples/4. Encapsulate/index.html +++ b/Samples/4. Encapsulate/index.html @@ -1,4 +1,4 @@ - + - View Source + View Source
diff --git a/Samples/4. Encapsulate/sample-encapsulated.html b/Samples/4. Encapsulate/sample-encapsulated.html index 9a4f628..0ff574e 100644 --- a/Samples/4. Encapsulate/sample-encapsulated.html +++ b/Samples/4. Encapsulate/sample-encapsulated.html @@ -1,11 +1,11 @@ - + - - - + - \ No newline at end of file + \ No newline at end of file diff --git a/Samples/SimpleApp/simple-app.html b/Samples/SimpleApp/simple-app.html index d9af83b..2721f72 100644 --- a/Samples/SimpleApp/simple-app.html +++ b/Samples/SimpleApp/simple-app.html @@ -3,13 +3,13 @@ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> - + - + - + - + - + diff --git a/Sandbox/lib/tk-tree.html b/Sandbox/lib/tk-tree.html index 1ee0d19..993166c 100644 --- a/Sandbox/lib/tk-tree.html +++ b/Sandbox/lib/tk-tree.html @@ -3,7 +3,7 @@ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> - +