Skip to content

Instantly share code, notes, and snippets.

@mikechambers
Created February 8, 2015 21:41
Show Gist options
  • Save mikechambers/547a1410061c1dac3079 to your computer and use it in GitHub Desktop.
Save mikechambers/547a1410061c1dac3079 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_item {
left: 350px;
top: 130px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 350px;
top: 170px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</style>
<core-item id="core_item" icon="settings" label="Item" horizontal center layout>SWD Roller</core-item>
<paper-tabs selected="1" selectedindex="1" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>D100</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout active>Force</paper-tab>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>Dice</paper-tab>
</paper-tabs>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment