Created
August 13, 2014 13:20
-
-
Save heyeshuang/1a8df721217c3bc53273 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 href="../topeka-elements/topeka-datasource.html" rel="import"> | |
<link href="../paper-ripple/paper-ripple.html" rel="import"> | |
<link href="../paper-slider/paper-slider.html" rel="import"> | |
<link href="../paper-tabs/paper-tabs.html" rel="import"> | |
<link href="../paper-tabs/paper-tab.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#topeka_datasource { | |
left: 250px; | |
top: 170px; | |
position: absolute; | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 270px; | |
top: 140px; | |
position: absolute; | |
} | |
#paper_slider { | |
left: 120px; | |
top: 170px; | |
position: absolute; | |
} | |
#paper_ripple1 { | |
width: 300px; | |
height: 300px; | |
left: 330px; | |
top: 60px; | |
position: absolute; | |
} | |
#paper_tabs { | |
width: 480px; | |
background-color: rgb(0, 188, 212); | |
color: rgb(255, 255, 255); | |
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
left: 140px; | |
top: 150px; | |
position: absolute; | |
} | |
#paper_tab5 { | |
width: 120px; | |
height: 40px; | |
left: 280px; | |
top: 250px; | |
position: absolute; | |
} | |
</style> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource> | |
<paper-ripple id="paper_ripple"></paper-ripple> | |
<paper-slider id="paper_slider"></paper-slider> | |
<paper-ripple id="paper_ripple1"></paper-ripple> | |
<paper-tabs id="paper_tabs" selected="0"> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1">ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab2" active>ITEM THREE</paper-tab> | |
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab> | |
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab> | |
</paper-tabs> | |
<paper-tab id="paper_tab5">TAB</paper-tab> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment