diff --git a/AceEditor/images/menu.png b/AceEditor/images/menu.png deleted file mode 100644 index 628ec0e..0000000 Binary files a/AceEditor/images/menu.png and /dev/null differ diff --git a/AceEditor/index.html b/AceEditor/index.html deleted file mode 100644 index ca460ed..0000000 --- a/AceEditor/index.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - function foo(items) { - var x = "All this is syntax highlighted"; - return x; - } - - - - - - - - - diff --git a/Gallery/images/x-coolclock.png b/Gallery/images/cool-clock.png similarity index 100% rename from Gallery/images/x-coolclock.png rename to Gallery/images/cool-clock.png diff --git a/Gallery/images/x-stock.png b/Gallery/images/polymer-stock.png similarity index 100% rename from Gallery/images/x-stock.png rename to Gallery/images/polymer-stock.png diff --git a/Gallery/metadata.html b/Gallery/metadata.html index 031b6ee..6a2494b 100644 --- a/Gallery/metadata.html +++ b/Gallery/metadata.html @@ -1,57 +1,57 @@ - + imageUrl="images/cool-clock.png" + sourceUrl="https://github.com/Polymer/more-elements/tree/master/cool-clock" + demoUrl="../../more-elements/cool-clock/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/Youtube/yt-search-video" + demoUrl="../../more-elements/Youtube/yt-search-video/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/wu-weather" + demoUrl="../../more-elements/wu-weather/"> - + imageUrl="images/polymer-stock.png" + sourceUrl="https://github.com/Polymer/more-elements/tree/master/polymer-stock" + demoUrl="../../more-elements/polymer-stock/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/pdf.-js" + demoUrl="../../more-elements/pdf-js/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/chart-js" + demoUrl="../../more-elements/chart-js/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/smoothie-chart" + demoUrl="../../more-elements/smoothie-chart/"> + sourceUrl="https://github.com/Polymer/more-elements/tree/master/marked-js" + demoUrl="../../more-elements/marked-js/"> + @@ -18,6 +19,9 @@ + + + diff --git a/Playground/index-embed.html b/Playground/index-embed.html new file mode 100644 index 0000000..7d2481b --- /dev/null +++ b/Playground/index-embed.html @@ -0,0 +1,42 @@ + + + + + Polymer Playground Embed + + + + + + + + + + + + + + + + + + + diff --git a/Playground/index.html b/Playground/index.html index a51b2b5..9e74279 100644 --- a/Playground/index.html +++ b/Playground/index.html @@ -14,8 +14,12 @@ - + + + + + diff --git a/Playground/metadata.html b/Playground/metadata.html index 3c9128f..3370715 100644 --- a/Playground/metadata.html +++ b/Playground/metadata.html @@ -100,6 +100,38 @@ + + + + + diff --git a/Playground/more-elements-metadata.html b/Playground/more-elements-metadata.html new file mode 100644 index 0000000..6b3516b --- /dev/null +++ b/Playground/more-elements-metadata.html @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Playground/polymer-elements-metadata.html b/Playground/polymer-elements-metadata.html new file mode 100644 index 0000000..c6ac4e9 --- /dev/null +++ b/Playground/polymer-elements-metadata.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Playground/polymer-ui-elements-metadata.html b/Playground/polymer-ui-elements-metadata.html new file mode 100644 index 0000000..9fe60f5 --- /dev/null +++ b/Playground/polymer-ui-elements-metadata.html @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Playground/src/css/pg-app.css b/Playground/src/css/pg-app.css index a350c0f..8a2546e 100644 --- a/Playground/src/css/pg-app.css +++ b/Playground/src/css/pg-app.css @@ -3,6 +3,7 @@ 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; @@ -10,49 +11,15 @@ license that can be found in the LICENSE file. } } -polymer-ui-sidebar-menu#menu { +pg-sidebar { width: 260px; } -#stage { - overflow: hidden; -} - -ajaxorg-ace#ace { - position: relative !important; - width: 540px; -} - -pg-output { - background: white; -} - -pg-output.pointer-none { - pointer-events: none; -} - -.toolbar-button { - 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: white; - text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4); - cursor: pointer; +[hidden] { + visibility: hidden; + width: 0; } -.toolbar-button:hover { - background-image: -webkit-linear-gradient(top, #357ae8, #4683ea); - background-image: -moz-linear-gradient(top, #357ae8, #4683ea); -} - -.toolbar-button:active { - box-shadow: inset 0 6px 6px -6px rgba(0, 0, 0, 0.3); -} +.action-title { + padding-left: 20px; +} \ No newline at end of file diff --git a/Playground/src/css/pg-output.css b/Playground/src/css/pg-output.css index e41c79a..ab35e7c 100644 --- a/Playground/src/css/pg-output.css +++ b/Playground/src/css/pg-output.css @@ -1,3 +1,9 @@ +/* +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 { * { display: block; diff --git a/Playground/src/css/pg-sidebar.css b/Playground/src/css/pg-sidebar.css new file mode 100644 index 0000000..5ca5bf6 --- /dev/null +++ b/Playground/src/css/pg-sidebar.css @@ -0,0 +1,26 @@ +/* +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. +*/ + +#sampleMenuContainer { + position: relative; + overflow: auto; +} + +#elementMenuContainer { + overflow: hidden; +} + +#elementMenu { + overflow: auto; +} + +.element-menu-header { + padding: 12px 20px; + font-weight: bold; + opacity: 0.8; + border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02); +} \ No newline at end of file diff --git a/Playground/src/css/pg-toolbar-button.css b/Playground/src/css/pg-toolbar-button.css new file mode 100644 index 0000000..094e37e --- /dev/null +++ b/Playground/src/css/pg-toolbar-button.css @@ -0,0 +1,30 @@ +.toolbar-button { + width: 116px; + height: 38px; + text-decoration: none !important; + -webkit-user-select: none; + user-select: none; + margin: 0 8px; + padding: 2px 6px 3px; + box-sizing: border-box; + -moz-box-sizing: border-box; + background-image: -webkit-linear-gradient(top, #4387fd, #4683ea); + background-image: -moz-linear-gradient(top, #4387fd, #4683ea); + border: 1px solid #3079ed; + border-radius: 3px; + text-align: center; + line-height: 31px; + font-size: 14px; + color: white; + text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4); + cursor: pointer; +} + +.toolbar-button:hover { + background-image: -webkit-linear-gradient(top, #357ae8, #4683ea); + background-image: -moz-linear-gradient(top, #357ae8, #4683ea); +} + +.toolbar-button:active { + box-shadow: inset 0 6px 6px -6px rgba(0, 0, 0, 0.3); +} \ No newline at end of file diff --git a/Playground/src/css/pg-view.css b/Playground/src/css/pg-view.css new file mode 100644 index 0000000..1dee068 --- /dev/null +++ b/Playground/src/css/pg-view.css @@ -0,0 +1,40 @@ +/* +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 { + * { + display: block; + position: relative; + -webkit-user-select: none; + -moz-user-select: none; + } +} + +.action-bar-label { + padding: 0 10px; +} + +ace-element#ace:not([gridlayout]) { + position: relative !important; +} + +ace-element#ace:not([vertical]) { + width: 540px; + height: auto !important; +} + +ace-element#ace[vertical] { + width: auto !important; + height: 200px; +} + +pg-output { + background: white; +} + +pg-output.pointer-none { + pointer-events: none; +} diff --git a/Playground/src/images/arrow_down.png b/Playground/src/images/arrow_down.png new file mode 100644 index 0000000..309e27c Binary files /dev/null and b/Playground/src/images/arrow_down.png differ diff --git a/Playground/src/images/arrow_up.png b/Playground/src/images/arrow_up.png new file mode 100644 index 0000000..4bce621 Binary files /dev/null and b/Playground/src/images/arrow_up.png differ diff --git a/Playground/src/pg-app.html b/Playground/src/pg-app.html index fe96468..41ea2ba 100644 --- a/Playground/src/pg-app.html +++ b/Playground/src/pg-app.html @@ -6,97 +6,57 @@ */ --> - - + + + + + - + diff --git a/Playground/src/pg-element-meta.html b/Playground/src/pg-element-meta.html new file mode 100644 index 0000000..e1a6c48 --- /dev/null +++ b/Playground/src/pg-element-meta.html @@ -0,0 +1,31 @@ + + + + + + + \ No newline at end of file diff --git a/Playground/src/pg-output.html b/Playground/src/pg-output.html index 245cf51..5be1537 100644 --- a/Playground/src/pg-output.html +++ b/Playground/src/pg-output.html @@ -5,13 +5,16 @@ * license that can be found in the LICENSE file. */ --> - + + + \ No newline at end of file diff --git a/Playground/src/pg-view-gridlayout.html b/Playground/src/pg-view-gridlayout.html new file mode 100644 index 0000000..3398ed2 --- /dev/null +++ b/Playground/src/pg-view-gridlayout.html @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Playground/src/pg-view.html b/Playground/src/pg-view.html new file mode 100644 index 0000000..1b8f25d --- /dev/null +++ b/Playground/src/pg-view.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PolymerElement/element-element/index.html b/PolymerElement/element-element/index.html deleted file mode 100644 index 0993f29..0000000 --- a/PolymerElement/element-element/index.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - -
- - - - - - - - - - - - - - - diff --git a/PolymerElement/polymer-element/elements.js b/PolymerElement/polymer-element/elements.js deleted file mode 100644 index ef8a42b..0000000 --- a/PolymerElement/polymer-element/elements.js +++ /dev/null @@ -1,17 +0,0 @@ -Polymer('x-foo', { - ready: function() { - this.style.color = 'blue'; - } -}); - -Polymer('x-bar', { - ready: function() { - this.style.padding = '4px'; - this.style.backgroundColor = 'orange'; - this.__proto__.__proto__.ready.call(this); - }, - parseElement: function() { - this.webkitCreateShadowRoot().appendChild(document.createElement('content')); - this.textContent = 'Override!'; - } -}); diff --git a/PolymerElement/polymer-element/index.html b/PolymerElement/polymer-element/index.html deleted file mode 100644 index 0476a5f..0000000 --- a/PolymerElement/polymer-element/index.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/PolymerElement/polymer-element/polymer-element.js b/PolymerElement/polymer-element/polymer-element.js deleted file mode 100644 index 8c8151b..0000000 --- a/PolymerElement/polymer-element/polymer-element.js +++ /dev/null @@ -1,73 +0,0 @@ -(function() { - document.baseHTMLPrototype = function(tag) { - var base = tag ? - Object.getPrototypeOf(document.createElement(tag)) : - HTMLElement.prototype; - return Object.create(base); - } - - var registry = {}; - - Polymer = function(name, prototype) { - registry[name] = prototype; - } - - document.register('polymer-element', { - prototype: Object.create(HTMLElement.prototype, { - readyCallback: { - value: function() { - var name = this.getAttribute('name'); - var extnds = this.getAttribute('extends'); - var prototype = document.baseHTMLPrototype(extnds); - // insert boilerplate api in inheritance chain (if needed) - if (!prototype.parseElements) { - Platform.mixin(prototype, boiler); - prototype = Object.create(prototype); - } - // combine custom api into prototype, and element property - var api = registry[name]; - if (api) { - Platform.mixin(prototype, api); - } - // questionable backref - prototype.element = this; - // register the custom type - var ctor = document.register(name, { - prototype: prototype - }); - // constructor shenanigans - prototype.constructor = ctor; - // cache useful stuff - this.ctor = ctor; - this.prototype = prototype; - } - } - }) - }); - - var boiler = { - ready: function() { - }, - readyCallback: function() { - this.parseElements(this.__proto__); - this.ready(); - }, - parseElements: function(p) { - if (p && p.element) { - this.parseElements(p.__proto__); - p.parseElement.call(this, p.element); - } - }, - parseElement: function(elementElement) { - var t = elementElement.querySelector('template'); - if (t) { - this.createShadowRootFromTemplate(t); - } - }, - createShadowRootFromTemplate: function(template) { - this.webkitCreateShadowRoot().appendChild(template.createInstance()); - } - }; - - //CustomElements.upgradeDocument(document); -})(); diff --git a/PolymerElement/polymer-element/x-quux.js b/PolymerElement/polymer-element/x-quux.js deleted file mode 100644 index 6a624e2..0000000 --- a/PolymerElement/polymer-element/x-quux.js +++ /dev/null @@ -1,6 +0,0 @@ -Polymer('x-quux', { - ready: function() { - this.style.fontSize = '24px'; - this.__proto__.__proto__.ready.call(this); - } -}); diff --git a/PolymerElement/vaniller/index.html b/PolymerElement/vaniller/index.html deleted file mode 100644 index 6327efe..0000000 --- a/PolymerElement/vaniller/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - diff --git a/Samples/1. Start Here/index.css b/Samples/1. Start Here/index.css deleted file mode 100644 index 3fa567e..0000000 --- a/Samples/1. Start Here/index.css +++ /dev/null @@ -1,16 +0,0 @@ -body { - background-color: #fff; - color: #111; - font: 24px Arial, Helvetica Neue, sans-serif; -} - -section { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - border: 12px solid orange; - padding: 32px; - overflow-y: auto; -} \ No newline at end of file diff --git a/Samples/1. Start Here/index.html b/Samples/1. Start Here/index.html deleted file mode 100644 index 13c4a55..0000000 --- a/Samples/1. Start Here/index.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Start Here - - - - - - - - - - - - -
-

Start Here

- HTML5 is a great environment for building user interfaces. -

- You can famously build your page using the most basic text editor, - and odds are, whatever platform you happen to be using has a handy - renderer (or three) available: a browser. -

- It's easy to use HTML5 to configure and compose objects, - but you can only choose from the short list of built-in elements. -

- There are many wonderful tools in the world to extend what HTML5 - can do, but they are all a little different. What if we could - all just extend HTML5 the same way: by making more elements. -

- This is exactly what Custom Elements are about. -

- Next -

- View Source -
- - diff --git a/Samples/2. Not Just Widgets/index.css b/Samples/2. Not Just Widgets/index.css deleted file mode 100644 index 569066e..0000000 --- a/Samples/2. Not Just Widgets/index.css +++ /dev/null @@ -1,34 +0,0 @@ -body { - background-color: #fff; - color: #111; - font: 20px Arial, Helvetica Neue, sans-serif; - padding: 32px; -} - -header { - font-size: 24px; - font-weight: bold; -} - -header, footer, section section { - border: 2px solid orange; - padding: 12px; - transition: all 0.3s; - -webkit-transition: all 0.3s; -} - -footer { - text-align: left; -} - -button { - font: inherit; -} - -.sidebar { - white-space: nowrap; -} - -.main { - overflow-y: auto !important; -} \ No newline at end of file diff --git a/Samples/2. Not Just Widgets/index.html b/Samples/2. Not Just Widgets/index.html deleted file mode 100644 index 21efa07..0000000 --- a/Samples/2. Not Just Widgets/index.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Not Just Widgets - - - - - - - - - - - - - - - - - - -
- Not Just Widgets -
- -
- - - - - -
- Custom elements need not be limited to buttons or menus. Custom elements - can be complicated (a spreadsheet sytem, a report generator), - and can even be invisible. -

- This page uses an invisible layout element to fit the orange sections - to whatever screen you are looking at. -

- This page uses an invisible panel slider element to slide the sidebar - in and out when you hit a button. -
- -
- -
- -
- - - - - diff --git a/Samples/3. But Widgets/index.css b/Samples/3. But Widgets/index.css deleted file mode 100644 index fa7ac33..0000000 --- a/Samples/3. But Widgets/index.css +++ /dev/null @@ -1,36 +0,0 @@ -.sidebar { - white-space: nowrap; - overflow: hidden; -} - -.main { - padding: 8px; - font-size: 16px; - overflow-y: auto !important; -} - -section, polymer-ui-menu { - transition: all 0.3s; - -webkit-transition: all 0.3s; -} - -a, a:active, a:visited { - color: inherit; - text-decoration: none; -} - -footer { - padding: 8px; -} - -.logo { - height: 60px; - padding: 14px; - color: #eaeaea; - font-size: 21px; -} - -img { - width: 32px; - vertical-align: middle; -} \ No newline at end of file diff --git a/Samples/3. But Widgets/index.html b/Samples/3. But Widgets/index.html deleted file mode 100644 index f8c2e8c..0000000 --- a/Samples/3. But Widgets/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - But, Widgets! - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - - - -  But, Widgets! - - -
- We started showing non-styled non-widgets because it's important - to realize that custom elements are a primitive. The idea - is not to lock users into a framework, but the opposite, to unleash - creativity. -

- - But it's not fun to start at the bottom, so the Polymer - team is working on a nicely styled widget set to blaze the trail. -

- - Click the drawer button in the upper-left corner. -

- - Notes for the advanced: -

- - The particular custom elements used here are not yet canonical, - they are just examples. A key takeaway is that the underlying - implementations are easily modified without necessarily impacting - the app itself. -

- - For example, these layout tools use absolute positioning. Soon, we will - have superior objects that use, for example, flex-box or CSS grids. Those - improved elements can just drop in. -
-
-
- - - diff --git a/Samples/3. But Widgets/polymer.svg b/Samples/3. But Widgets/polymer.svg deleted file mode 100644 index 6d16c6c..0000000 --- a/Samples/3. But Widgets/polymer.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/Samples/4. Encapsulate/index.css b/Samples/4. Encapsulate/index.css deleted file mode 100644 index 9e0e409..0000000 --- a/Samples/4. Encapsulate/index.css +++ /dev/null @@ -1,24 +0,0 @@ -#menu { - height: 100%; -} - -#main { - padding: 8px; - font-size: 16px; - overflow-y: auto !important; -} - -#main, #menu { - transition: all 0.3s; - -webkit-transition: all 0.3s; -} - -a, a:active, a:visited { - color: inherit; - text-decoration: none; -} - -img { - width: 32px; - vertical-align: middle; -} \ No newline at end of file diff --git a/Samples/4. Encapsulate/index.html b/Samples/4. Encapsulate/index.html deleted file mode 100644 index bbdf076..0000000 --- a/Samples/4. Encapsulate/index.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Encapsulate - - - - - - - - - - - - - - - - - - - - - - - - -  Encapsulate - - - - Previous - - View Source - - -
- Now we've factored all of the layout and dynamics into an encapsulation - called <sample-encapsulated>. -

- This page is built from one instance of <sample-encapsulated> - whose children are a logo, a menu, a toolbar, and this text. -

- The actual page design is contained entirely in the encapsulation and - index.html contains only application content. -

- This page no longer depends directly on the page, layout, or slider elements. - Those tools are now hidden, we need not think about them at all. -
-
- - - diff --git a/Samples/4. Encapsulate/polymer.svg b/Samples/4. Encapsulate/polymer.svg deleted file mode 100644 index 6d16c6c..0000000 --- a/Samples/4. Encapsulate/polymer.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/Samples/4. Encapsulate/sample-encapsulated.css b/Samples/4. Encapsulate/sample-encapsulated.css deleted file mode 100644 index 10cb76a..0000000 --- a/Samples/4. Encapsulate/sample-encapsulated.css +++ /dev/null @@ -1,30 +0,0 @@ -@host { - * { - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - } -} - -.logo { - padding: 14px; - color: #eaeaea; - font-size: 21px; - height: 60px; -} - -footer { - padding: 8px; -} - -img { - width: 32px; - vertical-align: middle; -} - -section { - transition: all 0.3s; - -webkit-transition: all 0.3s; -} \ No newline at end of file diff --git a/Samples/4. Encapsulate/sample-encapsulated.html b/Samples/4. Encapsulate/sample-encapsulated.html deleted file mode 100644 index 0ff574e..0000000 --- a/Samples/4. Encapsulate/sample-encapsulated.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Samples/ASimpleLayout/assets/ic_drawer_darkreg.png b/Samples/ASimpleLayout/assets/ic_drawer_darkreg.png deleted file mode 100644 index dc9fb7c..0000000 Binary files a/Samples/ASimpleLayout/assets/ic_drawer_darkreg.png and /dev/null differ diff --git a/Samples/ASimpleLayout/assets/ic_mail_darkreg.png b/Samples/ASimpleLayout/assets/ic_mail_darkreg.png deleted file mode 100644 index 2513197..0000000 Binary files a/Samples/ASimpleLayout/assets/ic_mail_darkreg.png and /dev/null differ diff --git a/Samples/ASimpleLayout/assets/ic_refresh_darkreg.png b/Samples/ASimpleLayout/assets/ic_refresh_darkreg.png deleted file mode 100644 index 56e04e9..0000000 Binary files a/Samples/ASimpleLayout/assets/ic_refresh_darkreg.png and /dev/null differ diff --git a/Samples/ASimpleLayout/assets/ic_settings_lg_darkreg.png b/Samples/ASimpleLayout/assets/ic_settings_lg_darkreg.png deleted file mode 100644 index de77b04..0000000 Binary files a/Samples/ASimpleLayout/assets/ic_settings_lg_darkreg.png and /dev/null differ diff --git a/Samples/ASimpleLayout/index.css b/Samples/ASimpleLayout/index.css deleted file mode 100644 index 7736383..0000000 --- a/Samples/ASimpleLayout/index.css +++ /dev/null @@ -1,31 +0,0 @@ -#left, #right { - width: 240px; -} - -.no-transitions > * { - transition: none !important; - -webkit-transition: none !important; -} - -#left, #right, #main { - transition: all 0.3s; - -webkit-transition: all 0.3s; -} - -#logo { - border: 1px solid rgba(0,0,0,0.15); - padding: 17px 14px; - color: #eaeaea; - font-size: 21px; -} - -#primary { - color: #7f7f7f; - font-size: 16px; - font-weight: bold; - padding: 14px; -} - -#content { - padding: 14px; -} diff --git a/Samples/ASimpleLayout/index.html b/Samples/ASimpleLayout/index.html deleted file mode 100644 index 6f077c5..0000000 --- a/Samples/ASimpleLayout/index.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Simple Layout - - - - - - - - - - - - - -
- - -
- Primary Tray -
- - -
- - - -
- - - - - - - - - - -
Body Text
- -
- - - - - - - - diff --git a/Samples/SimpleApp/index.html b/Samples/SimpleApp/index.html deleted file mode 100644 index ea783cd..0000000 --- a/Samples/SimpleApp/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - Simple App - - - - - - - - - - - - - diff --git a/Samples/SimpleApp/simple-app.html b/Samples/SimpleApp/simple-app.html deleted file mode 100644 index 2721f72..0000000 --- a/Samples/SimpleApp/simple-app.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/SimpleLayout/assets/ic_drawer_darkreg.png b/Samples/SimpleLayout/assets/ic_drawer_darkreg.png deleted file mode 100644 index dc9fb7c..0000000 Binary files a/Samples/SimpleLayout/assets/ic_drawer_darkreg.png and /dev/null differ diff --git a/Samples/SimpleLayout/assets/ic_mail_darkreg.png b/Samples/SimpleLayout/assets/ic_mail_darkreg.png deleted file mode 100644 index 2513197..0000000 Binary files a/Samples/SimpleLayout/assets/ic_mail_darkreg.png and /dev/null differ diff --git a/Samples/SimpleLayout/assets/ic_refresh_darkreg.png b/Samples/SimpleLayout/assets/ic_refresh_darkreg.png deleted file mode 100644 index 56e04e9..0000000 Binary files a/Samples/SimpleLayout/assets/ic_refresh_darkreg.png and /dev/null differ diff --git a/Samples/SimpleLayout/assets/ic_settings_lg_darkreg.png b/Samples/SimpleLayout/assets/ic_settings_lg_darkreg.png deleted file mode 100644 index de77b04..0000000 Binary files a/Samples/SimpleLayout/assets/ic_settings_lg_darkreg.png and /dev/null differ diff --git a/Samples/SimpleLayout/index.html b/Samples/SimpleLayout/index.html deleted file mode 100644 index 68aef02..0000000 --- a/Samples/SimpleLayout/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Simple Layout - - - - - - - - - - diff --git a/Samples/SimpleLayout/simple-app.html b/Samples/SimpleLayout/simple-app.html deleted file mode 100644 index f1a3058..0000000 --- a/Samples/SimpleLayout/simple-app.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/Samples/SimpleLayout/simple-main.html b/Samples/SimpleLayout/simple-main.html deleted file mode 100644 index fbe2622..0000000 --- a/Samples/SimpleLayout/simple-main.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/Samples/SimpleLayout/simple-primary-tray.html b/Samples/SimpleLayout/simple-primary-tray.html deleted file mode 100644 index bb04108..0000000 --- a/Samples/SimpleLayout/simple-primary-tray.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - diff --git a/Samples/Theming/index.html b/Samples/Theming/index.html deleted file mode 100644 index 4f34264..0000000 --- a/Samples/Theming/index.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - Theming - - - - - - - - - - - - - - - - - - diff --git a/Samples/Theming/simple-app.html b/Samples/Theming/simple-app.html deleted file mode 100644 index aec7db3..0000000 --- a/Samples/Theming/simple-app.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/Sandbox/index.html b/Sandbox/index.html index 30cd37a..d8de5c3 100644 --- a/Sandbox/index.html +++ b/Sandbox/index.html @@ -8,7 +8,30 @@ Polymer Sandbox - + - + + + + + +
+ +
+
diff --git a/Sandbox/lib/components.html b/Sandbox/lib/components.html index 4b39d4a..b76b397 100644 --- a/Sandbox/lib/components.html +++ b/Sandbox/lib/components.html @@ -27,19 +27,19 @@ - - - - - + + + + + - - - - - - - + + + + + + + @@ -59,3 +59,15 @@ + + + + + + + + + + + + diff --git a/Sandbox/lib/css/tk-app.css b/Sandbox/lib/css/tk-app.css index 0c974f5..2aa6a2e 100644 --- a/Sandbox/lib/css/tk-app.css +++ b/Sandbox/lib/css/tk-app.css @@ -27,6 +27,7 @@ input[type=checkbox] { #main { position: absolute; + /* top: 101px; */ top: 61px; right: 0; bottom: 0; @@ -82,6 +83,16 @@ input[type=checkbox] { margin: 0 10px; } +#not-ide { + background: lightyellow; + box-sizing: border-box; + height: 40px; + line-height: 40px; + vertical-align: middle; + text-align: center; + border-bottom: 1px solid lightgray; +} + #modeSelector > * { margin: 0 10px; } diff --git a/Sandbox/lib/tk-app.html b/Sandbox/lib/tk-app.html index 4fc9d52..0bf72cd 100755 --- a/Sandbox/lib/tk-app.html +++ b/Sandbox/lib/tk-app.html @@ -6,6 +6,7 @@