Skip to content

Instantly share code, notes, and snippets.

@Zathki
Created June 26, 2014 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zathki/d707e7ecc870a920a687 to your computer and use it in GitHub Desktop.
Save Zathki/d707e7ecc870a920a687 to your computer and use it in GitHub Desktop.
designer
<link href="../paper-toggle-button/paper-toggle-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#core_card {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
left: 270px;
top: 170px;
}
#core_icon {
height: 24px;
width: 24px;
}
#core_selector {
width: 100%;
height: 50px;
}
#section1 {
width: 200px;
}
#section2 {
width: 200px;
}
</style>
<core-card id="core_card" vertical layout>
<section id="section1" horizontal layout center>
<div id="div1" flex>Blinds</div>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
</section>
<section id="section2" horizontal layout center>
<div id="div2" flex>Blinds</div>
<paper-toggle-button id="paper_toggle_button2" touch-action="pan-y"></paper-toggle-button>
</section>
</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