Skip to content

Instantly share code, notes, and snippets.

@arjun921
Last active August 29, 2015 14:12
Show Gist options
  • Save arjun921/b051786c976deb7b39f2 to your computer and use it in GitHub Desktop.
Save arjun921/b051786c976deb7b39f2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 200px;
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: 670px;
top: 180px;
background-color: rgb(255, 255, 255);
}
#paper_button {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_card1 {
position: absolute;
width: 300px;
height: 100px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 350px;
top: 180px;
background-color: rgb(255, 255, 255);
}
#paper_button1 {
width: 100%;
height: 100%;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 670px;
top: 190px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_card2 {
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: 350px;
top: 290px;
background-color: rgb(255, 255, 255);
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
</style>
<core-card id="core_card" layout vertical class="Student">
<paper-button id="paper_button">
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</paper-button>
</core-card>
<core-card id="core_card1" layout vertical>
<paper-button id="paper_button1">
<align=center>Teacher</align=center>
</paper-button>
</core-card>
<core-card id="core_card2" layout vertical></core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment