Last active
August 29, 2015 14:12
-
-
Save rabmarjan/d06e2b6a4f22fc77c7c6 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="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_pages { | |
width: 100%; | |
height: 100%; | |
border: 1px solid silver; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 149px; | |
top: 89px; | |
background-color: rgb(255, 255, 255); | |
} | |
#input { | |
padding: 15px; | |
} | |
#core_card1 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 509px; | |
top: 89px; | |
background-color: rgb(192, 192, 192); | |
} | |
#input1 { | |
padding: 15px; | |
} | |
</style> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section" active> | |
<core-card id="core_card" layout vertical> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" flex></core-input> | |
</core-field> | |
<input id="input" placeholder="type something..." is="core-input"> | |
</core-card> | |
<core-card id="core_card1" layout vertical> | |
<input id="input1" placeholder="type something..." is="core-input"> | |
</core-card> | |
</section> | |
<section id="section1">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