Skip to content

Instantly share code, notes, and snippets.

@blkbsstt
Created July 7, 2014 23:47
Show Gist options
  • Save blkbsstt/8580fdbb6dba516edc3f to your computer and use it in GitHub Desktop.
Save blkbsstt/8580fdbb6dba516edc3f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_card {
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;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: rgb(255, 255, 255);
}
#core_field {
left: 920px;
top: 720px;
}
#section {
padding: 16px;
}
#section1 {
padding: 16px;
}
#section2 {
font-size: 18px;
}
</style>
<core-card id="core_card">
<section id="section" horizontal layout start-justified start>
<section id="dice-number" one flex horizontal layout end-justified>2</section>
</section>
<paper-icon-button icon="add" id="paper_icon_button"></paper-icon-button>
<paper-icon-button icon="remove" id="paper_icon_button1"></paper-icon-button>
<section id="section1" horizontal layout start-justified start>You rolled a 5 with 4 nudges.</section>
<paper-fab icon="refresh" id="paper_fab" class="mini"></paper-fab>
</core-card>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment