Skip to content

Instantly share code, notes, and snippets.

@schrepfler
Last active August 29, 2015 14:11
Show Gist options
  • Save schrepfler/ce439a0a3fc5d1df3ad4 to your computer and use it in GitHub Desktop.
Save schrepfler/ce439a0a3fc5d1df3ad4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="betslip">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 0px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#core_scaffold {
position: absolute;
top: 830px;
right: 0px;
bottom: 0px;
left: 1790px;
}
#core_field {
left: 1650px;
top: 800px;
}
#core_drawer_panel {
position: absolute;
top: 750px;
right: 0px;
bottom: 0px;
left: 1700px;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 1710px;
top: 750px;
background-color: rgb(255, 255, 255);
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1630px;
top: 690px;
}
#section2 {
left: 1150px;
top: 520px;
position: absolute;
}
#section3 {
left: 1150px;
top: 490px;
position: absolute;
}
#section4 {
left: 1430px;
top: 730px;
position: absolute;
}
#section5 {
left: 1390px;
top: 730px;
position: absolute;
}
</style>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="betslip_tab" inline flex center-center horizontal layout active>Bet Slip {selection-count}</paper-tab>
<paper-tab id="openbets_tab" inline flex center-center horizontal layout>Open Bets</paper-tab>
<paper-tab id="tipadvisor_tab" inline flex center-center horizontal layout>Tip Advisor</paper-tab>
</paper-tabs>
<section id="betslip_section" flex relative></section>
<section id="openbets_section" flex relative>
</section>
<section id="tipadvisor_section" flex relative>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment