Skip to content

Instantly share code, notes, and snippets.

@outmost
Last active August 29, 2015 14:07
Show Gist options
  • Save outmost/01241e33c6d93055aee1 to your computer and use it in GitHub Desktop.
Save outmost/01241e33c6d93055aee1 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
width: 680px;
height: 430px;
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;
border: 3px solid rgb(238, 238, 238);
top: 30px;
left: 30px;
position: absolute;
background-color: rgb(64, 128, 128);
}
#core_icon {
width: 300px;
height: 110px;
}
#chart_js {
width: 680px;
height: 320px;
}
</style>
<section id="section" layout horizontal center center-justified>
</section>
<core-card id="core_card" layout vertical>
<core-icon icon="link" id="core_icon"></core-icon>
<chart-js kind="Bar" color="#fefefe" id="chart_js"></chart-js>
</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