From 4d26fed3e25831e1ff892546141c6cfb83f69059 Mon Sep 17 00:00:00 2001 From: "Scott J. Miles" Date: Tue, 27 Aug 2013 17:19:27 -0700 Subject: [PATCH] 'pages' element that can be paired with 'tabs' --- polymer-ui-pages/index.html | 34 ++++++++++++++++++++++++++ polymer-ui-pages/polymer-ui-pages.css | 28 +++++++++++++++++++++ polymer-ui-pages/polymer-ui-pages.html | 27 ++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 polymer-ui-pages/index.html create mode 100644 polymer-ui-pages/polymer-ui-pages.css create mode 100644 polymer-ui-pages/polymer-ui-pages.html diff --git a/polymer-ui-pages/index.html b/polymer-ui-pages/index.html new file mode 100644 index 0000000..8f056a0 --- /dev/null +++ b/polymer-ui-pages/index.html @@ -0,0 +1,34 @@ + + + + + polymer-ui-pages + + + + + + + + + + + + One + Two + Three + Four + Five + + + + diff --git a/polymer-ui-pages/polymer-ui-pages.css b/polymer-ui-pages/polymer-ui-pages.css new file mode 100644 index 0000000..694abbd --- /dev/null +++ b/polymer-ui-pages/polymer-ui-pages.css @@ -0,0 +1,28 @@ +/* +Copyright 2013 The Polymer 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 { + * { + position: relative; + } +} + +/*@polyfill @host > * */ +::-webkit-distributed(> *) { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + visibility: hidden; + z-index: -1000; +} + +/*@polyfill @host > *.polymer-selected */ +::-webkit-distributed(> *.polymer-selected) { + visibility: visible; + z-index: auto; +} \ No newline at end of file diff --git a/polymer-ui-pages/polymer-ui-pages.html b/polymer-ui-pages/polymer-ui-pages.html new file mode 100644 index 0000000..f5c6785 --- /dev/null +++ b/polymer-ui-pages/polymer-ui-pages.html @@ -0,0 +1,27 @@ + + + + + + + + +