Skip to content

Instantly share code, notes, and snippets.

@wmoore
Last active January 7, 2016 05:33
Show Gist options
  • Save wmoore/2c8b78f6f104b14d42b8 to your computer and use it in GitHub Desktop.
Save wmoore/2c8b78f6f104b14d42b8 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="radio-toolbar">
<template>
<style>
:host {
box-sizing: border-box;
}
#section {
height: 200px;
}
#core_drawer_panel {
position: absolute;
top: 370px;
right: 0px;
bottom: 0px;
left: 280px;
}
#section1 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section2 {
height: 100%;
box-sizing: border-box;
left: 180px;
top: 250px;
position: absolute;
background-color: rgb(221, 221, 221);
}
</style>
<core-drawer-panel transition selected="main" narrow id="core_drawer_panel" touch-action="pan-y">
<section id="section1" drawer>
<paper-button id="paper_button" center-justified vertical layout four flex>VFO A</paper-button>
<paper-button id="paper_button1" center-justified vertical layout four flex>VFO B</paper-button>
<paper-button id="paper_button2" center-justified vertical layout four flex>Split</paper-button>
</section>
</core-drawer-panel>
<section id="section" horizontal layout main>
<section id="vfo-buttons" vertical layout two flex>
<paper-button id="paper_button" center-justified vertical layout four flex>VFO A</paper-button>
<paper-button id="paper_button1" center-justified vertical layout four flex>VFO B</paper-button>
<paper-button id="paper_button2" center-justified vertical layout four flex>Split</paper-button>
</section>
<section id="band-buttons" vertical layout twelve flex>
<section id="band-160-60" ten flex horizontal layout>
<paper-button id="paper_button" horizontal layout three flex center-justified>160</paper-button>
<paper-button id="paper_button1" horizontal layout three flex center-justified>80</paper-button>
<paper-button id="paper_button2" horizontal layout three flex center-justified>60</paper-button>
</section>
<section id="band-40-20" twelve flex horizontal layout>
<paper-button id="paper_button" horizontal layout three flex center-justified>40</paper-button>
<paper-button id="paper_button1" horizontal layout three flex center-justified>30</paper-button>
<paper-button id="paper_button2" horizontal layout three flex center-justified>20</paper-button>
</section>
<section id="band-17-12" twelve flex horizontal layout>
<paper-button id="paper_button" horizontal layout three flex center-justified>17</paper-button>
<paper-button id="paper_button1" horizontal layout three flex center-justified>15</paper-button>
<paper-button id="paper_button2" horizontal layout three flex center-justified>12</paper-button>
</section>
<section id="band-10-gen" twelve flex horizontal layout>
<paper-button id="paper_button" horizontal layout three flex center-justified>10</paper-button>
<paper-button id="paper_button1" horizontal layout three flex center-justified>6</paper-button>
<paper-button id="paper_button2" horizontal layout three flex center-justified>GEN</paper-button>
</section>
</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