Last active
August 29, 2015 14:08
-
-
Save flqw/973d58729cb25bc23f74 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="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 250px; | |
top: 60px; | |
position: absolute; | |
} | |
#paper_tabs { | |
background-color: rgb(0, 188, 212); | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
} | |
#paper_input { | |
left: 35px; | |
top: 27px; | |
position: absolute; | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs"> | |
<paper-tab id="paper_tab">Test</paper-tab> | |
<paper-tab id="paper_tab1" active>123</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
<paper-input label="Type something..." willvalidate id="paper_input" layout vertical></paper-input> | |
</section> | |
</section> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment