Created
November 22, 2014 11:51
-
-
Save slh012/0bb8a297f3d4e16b171c to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../topeka-elements/category-images.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../core-icons/av-icons.html"> | |
| <link rel="import" href="../paper-fab/paper-fab.html"> | |
| <link rel="import" href="../core-ajax/core-ajax.html"> | |
| <link rel="import" href="../core-pages/core-pages.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #section { | |
| box-sizing: border-box; | |
| width: 420px; | |
| height: 582px; | |
| left: 480px; | |
| top: 70px; | |
| position: absolute; | |
| } | |
| #section1 { | |
| background-color: rgb(255, 255, 141); | |
| } | |
| #core_icon { | |
| height: 256px; | |
| width: 256px; | |
| z-index: 100; | |
| } | |
| #div { | |
| box-sizing: border-box; | |
| position: relative; | |
| height: 80px; | |
| padding: 24px; | |
| color: rgb(255, 255, 255); | |
| font-size: 32px; | |
| background-color: rgb(255, 235, 59); | |
| } | |
| #div2 { | |
| position: absolute; | |
| color: rgb(255, 255, 255); | |
| bottom: 50px; | |
| right: 24px; | |
| } | |
| #paper_fab { | |
| background-color: rgb(255, 64, 129); | |
| } | |
| #core_ajax { | |
| left: 1130px; | |
| top: 340px; | |
| position: absolute; | |
| } | |
| #core_icon1 { | |
| left: 1020px; | |
| top: 440px; | |
| position: absolute; | |
| } | |
| #core_pages { | |
| width: 400px; | |
| height: 400px; | |
| border: 1px solid silver; | |
| left: 1100px; | |
| top: 160px; | |
| position: absolute; | |
| } | |
| #core_ajax1 { | |
| left: -1101px; | |
| top: -161px; | |
| position: absolute; | |
| } | |
| </style> | |
| <section id="section" layout vertical> | |
| <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top"> | |
| <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon> | |
| </section> | |
| <div id="div" class="bottom" hero hero-id="bottom"> | |
| <span id="span">General Knowledge</span> | |
| </div> | |
| <div id="div1" hero class="dummy"></div> | |
| <div id="div2" class="fab fab-0"> | |
| <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab> | |
| </div> | |
| </section> | |
| <core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax> | |
| <core-icon icon="search" id="core_icon1"></core-icon> | |
| <core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
| <section id="section2" active> | |
| <core-ajax url="www.bbc.co.uk" handleas="text" method="GET" id="core_ajax1" hidden></core-ajax> | |
| </section> | |
| <section id="section3">Page Two</section> | |
| </core-pages> | |
| </template> | |
| <script> | |
| Polymer({ | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment