Created
July 26, 2014 03:23
-
-
Save cwdoh/3c4deffde23907a8d3fc 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-button/paper-button.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; | |
} | |
#paper_button { | |
left: 760px; | |
top: 470px; | |
position: absolute; | |
} | |
#paper_button1 { | |
left: 840px; | |
top: 520px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 340px; | |
top: 110px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_icon1 { | |
height: 24px; | |
width: 24px; | |
} | |
</style> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<paper-button label="Paper Button" id="paper_button1"></paper-button> | |
<core-card id="core_card" horizontal layout> | |
<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 placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
<core-field id="core_field1" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon1"></core-icon> | |
<core-input placeholder="text input" id="core_input1" flex></core-input> | |
</core-field> | |
</core-card> | |
</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