Skip to content

Instantly share code, notes, and snippets.

@itsashis4u
Created January 13, 2015 17:35
Show Gist options
  • Save itsashis4u/6ca650f00b627c83bfa3 to your computer and use it in GitHub Desktop.
Save itsashis4u/6ca650f00b627c83bfa3 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="../core-input/core-input.html">
<link rel="import" href="../paper-input/paper-input.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: 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: 400px;
top: 140px;
background-color: rgb(255, 255, 255);
}
#core_icon {
width: 300px;
height: 100px;
}
#core_card1 {
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;
background-color: rgb(255, 255, 255);
}
#input {
padding: 15px;
}
#paper_button {
opacity: 1;
background-color: rgb(91, 204, 161);
}
</style>
<core-card id="core_card" layout vertical>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar" horizontal layout center center-justified></core-icon>
<core-card id="core_card1" layout vertical>
<input id="input" placeholder="type something..." is="core-input">
<paper-input label="Type something..." floatinglabel id="paper_input"></paper-input>
<paper-button raised id="paper_button" justified>button</paper-button>
</core-card>
</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