Skip to content

Instantly share code, notes, and snippets.

@paralin
Created August 16, 2014 23:18
Show Gist options
  • Save paralin/a93f34664dd811af529c to your computer and use it in GitHub Desktop.
Save paralin/a93f34664dd811af529c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_slider {
left: 1010px;
top: 400px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 890px;
top: 290px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 310px;
top: 200px;
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);
}
#paper_radio_group {
left: 1020px;
top: 190px;
position: absolute;
}
</style>
<paper-slider id="paper_slider"></paper-slider>
<paper-ripple id="paper_ripple"></paper-ripple>
<section id="section" layout vertical>
<paper-tabs id="paper_tabs" selected="0" noink nobar>
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</section>
</section>
<paper-radio-group id="paper_radio_group" selected="Small" valueattr="label">
<paper-radio-button checked label="Small" id="paper_radio_button"></paper-radio-button>
<paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="Large" id="paper_radio_button2"></paper-radio-button>
</paper-radio-group>
</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