Created
April 13, 2015 09:47
Revisions
-
rastyagaev created this gist
Apr 13, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,89 @@ <link rel="import" href="../topeka-elements/avatars.html"> <link rel="import" href="../core-icon/core-icon.html"> <link rel="import" href="../topeka-elements/category-images.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"> <polymer-element name="my-element"> <template> <style> :host { position: absolute; width: 100%; height: 100%; box-sizing: border-box; } #core_selector { left: 0px; top: 0px; position: absolute; } #core_icon { height: 64px; width: 64px; border-radius: 50%; overflow: hidden; } #section { box-sizing: border-box; width: 420px; height: 582px; left: 90px; top: 0px; position: absolute; } #section1 { background-color: rgb(255, 255, 141); } #core_icon1 { 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); } </style> <core-selector selected="0" selectedindex="0" id="core_selector" flex layout horizontal> <core-icon icon="avatars:avatar-11" id="core_icon" designmeta="topeka-avatar" active></core-icon> </core-selector> <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_icon1" 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> </template> <script> Polymer({ }); </script> </polymer-element>