Created
July 18, 2014 13:22
-
-
Save theblang/e702c57c82382a7c3b81 to your computer and use it in GitHub Desktop.
designer
This file contains 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="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-ripple/paper-ripple.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#paper_button { | |
left: 120px; | |
top: 120px; | |
position: absolute; | |
} | |
#paper_checkbox { | |
left: 170px; | |
top: 210px; | |
position: absolute; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 510px; | |
top: 180px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 160px; | |
top: 530px; | |
position: absolute; | |
background-color: rgb(0, 255, 0); | |
} | |
#paper_slider { | |
left: 190px; | |
top: 360px; | |
position: absolute; | |
} | |
</style> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs"> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
</section> | |
</section> | |
<paper-ripple id="paper_ripple"></paper-ripple> | |
<paper-slider immediatevalue="0" id="paper_slider"></paper-slider> | |
</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