Skip to content

Instantly share code, notes, and snippets.

@probablycorey
Created September 26, 2014 03:41
Show Gist options
  • Save probablycorey/4298a5b5529dd073e055 to your computer and use it in GitHub Desktop.
Save probablycorey/4298a5b5529dd073e055 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_input {
padding: 15px;
width: 270px;
height: 20px;
position: absolute;
top: -1px;
left: -1px;
}
#paper_slider {
left: -1px;
top: 149px;
position: absolute;
width: 250px;
height: 30px;
}
#core_pages {
width: 250px;
height: 370px;
border: 1px solid silver;
left: 610px;
top: 130px;
position: absolute;
}
#core_card {
position: absolute;
width: 110px;
height: 80px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 59px;
top: 49px;
background-color: rgb(255, 255, 255);
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<core-input willvalidate placeholder="What are you doing..." autofocus id="core_input"></core-input>
<core-card id="core_card" layout vertical center></core-card>
<paper-slider secondaryprogress="5" value="16" min="5" max="30" id="paper_slider"></paper-slider>
</section>
<section id="section1">Page Two</section>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment