Skip to content

Instantly share code, notes, and snippets.

@nburn42
Created November 9, 2014 11:14
Show Gist options
  • Save nburn42/0be3ef67fd30e8c53c09 to your computer and use it in GitHub Desktop.
Save nburn42/0be3ef67fd30e8c53c09 to your computer and use it in GitHub Desktop.
designer
<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: 600px;
height: 400px;
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;
}
.body {
margin: 5px 10px 10px;
}
.reward {
font-size: 10px;
margin: 10px;
}
.tech_stickers {
margin: 10px;
}
.footer {
margin: 10px;
}
#apply_button {
color: rgb(255, 255, 255);
background: rgb(0, 150, 136);
}
.company {
background: rgb(238, 238, 238);
}
.company_header {
height: 89px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 1px 2px, rgba(0, 0, 0, 0.0980392) 0px 0px 0px;
}
#message_button {
color: rgb(255, 255, 255);
background: rgb(170, 170, 170);
}
</style>
<core-card id="core_card" horizontal layout>
<div class="bounty" vertical layout flex three>
<div class="header" horizontal layout>
<div class="due_img">
<img src alt="7"></img>
</div>
<div class="title" flex>
<div class="reward">$100.00</div>
</div>
<div class="tech_stickers" vertical layout>
<img src alt="PY"></img>
<img src alt="JS"></img>
<img src alt="RB"></img>
</div>
</div>
<div class="body" flex>
<h5>Description of Job</h5>
<h5>Skills Needed</h5>
</div>
<div class="footer" horizontal layout center-justified>
<paper-button label="APPLY" id="apply_button"></paper-button>
</div>
</div>
<div class="company" vertical layout flex one>
<div class="company_header" horizontal center-justified layout>
<h2 self-end>Microsoft</h2>
</div>
<div class="body" flex>
<h5>About Us</h5>
<h5>Contact Info</h5>
</div>
<div class="footer" horizontal layout center-justified>
<paper-button label="MESSAGE" id="message_button"></paper-button>
</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