Skip to content

Instantly share code, notes, and snippets.

@aymen-mouelhi
Created December 11, 2014 15:00
Show Gist options
  • Save aymen-mouelhi/f725fa54e2657e4098c5 to your computer and use it in GitHub Desktop.
Save aymen-mouelhi/f725fa54e2657e4098c5 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-ripple/paper-ripple.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: 240px;
top: 220px;
background-color: rgb(255, 255, 255);
}
#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: 570px;
top: 220px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
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: 240px;
top: 540px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
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: 570px;
top: 540px;
background-color: rgb(255, 255, 255);
}
#core_card4 {
position: absolute;
width: 290px;
height: 620px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 890px;
top: 220px;
background-color: rgb(255, 255, 255);
}
#paper_ripple {
width: 300px;
height: 300px;
left: 820px;
top: 870px;
position: absolute;
}
#paper_ripple1 {
width: 300px;
height: 300px;
left: 900px;
top: 900px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
}
</style>
<core-card id="core_card" layout vertical>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
</core-card>
<core-card id="core_card1" layout vertical></core-card>
<core-card id="core_card2" layout vertical></core-card>
<core-card id="core_card3" layout vertical></core-card>
<core-card id="core_card4" layout vertical></core-card>
<paper-ripple id="paper_ripple"></paper-ripple>
<paper-ripple id="paper_ripple1"></paper-ripple>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment