Skip to content

Instantly share code, notes, and snippets.

@nburn42
Last active August 29, 2015 14:09
Show Gist options
  • Save nburn42/d7b7b46266e64ef207d6 to your computer and use it in GitHub Desktop.
Save nburn42/d7b7b46266e64ef207d6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.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: 180px;
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: 430px;
top: 240px;
background-color: rgb(255, 255, 255);
}
.header {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 1px 2px, rgba(0, 0, 0, 0.0980392) 0px 0px 0px;
}
.due_img {
margin: 10px;
}
.title {
font-size: 20px;
margin: 10px;
}
.due_text {
font-size: 10px;
margin: 20px 10px 10px;
}
.body {
margin: 10px;
}
.reward {
margin: 10px;
}
.tech_stickers {
margin: 10px;
}
</style>
<core-card id="core_card" vertical layout>
<div class="header" horizontal layout>
<div class="due_img">
<img src alt="7">
</div>
<div class="title" flex>Costs Analytics</div>
<div class="due_text">Due One Week</div>
</div>
<div class="body" flex>Need a full stack web developer to help us build an analytics tool
</div>
<div class="footer" horizontal layout around-justified>
<div class="reward">$55</div>
<div class="tech_stickers">
<img src alt="PY">
<img src alt="JS">
<img src alt="RB">
<img src alt="JV">
</div>
</div>
</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