Skip to content

Instantly share code, notes, and snippets.

@kiloreux
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiloreux/9d49eea19f460a693e47 to your computer and use it in GitHub Desktop.
Save kiloreux/9d49eea19f460a693e47 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 300px;
height: 400px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 410px;
top: 60px;
padding: 30px;
background-color: rgb(255, 255, 255);
}
#core_selector {
left: 730px;
top: 330px;
position: absolute;
}
#core_icon2 {
height: 74px;
width: 74px;
border-radius: 50%;
overflow: hidden;
}
#paper_input {
width: 80%;
height: 10%;
top: 20%;
position: relative;
}
#paper_checkbox {
position: relative;
top: 40%;
}
#input {
padding: 15px;
height: 10%;
width: 80%;
position: relative;
top: 15%;
}
#paper_input1 {
position: relative;
top: 20%;
height: 10%;
width: 80%;
}
#paper_button {
position: relative;
top: 50%;
}
</style>
<core-card id="core_card" vertical layout center start-justified wrap>
<core-icon icon="avatars:avatar-3" id="core_icon2" designmeta="topeka-avatar" active></core-icon>
<paper-input label="Your email" id="paper_input"></paper-input>
<paper-checkbox checked label="Remember me" id="paper_checkbox"></paper-checkbox>
<paper-input label="Password" id="paper_input1"></paper-input>
<paper-button id="paper_button">button</paper-button>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment