Skip to content

Instantly share code, notes, and snippets.

@MaxBareiss
Created July 25, 2014 19:18
Show Gist options
  • Save MaxBareiss/3cbe72655d77ce27c0c3 to your computer and use it in GitHub Desktop.
Save MaxBareiss/3cbe72655d77ce27c0c3 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-ripple/paper-ripple.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">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 1360px;
top: 620px;
}
#core_field {
left: 1260px;
top: 730px;
}
#core_header_panel {
width: 300px;
height: 400px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 1170px;
top: 360px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#paper_ripple {
width: 300px;
height: 300px;
left: 960px;
top: 610px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1370px;
top: 660px;
}
#smoothie_chart {
left: 1280px;
top: 680px;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 1280px;
top: 680px;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
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: 0px;
top: 0px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
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: 0px;
top: 300px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
position: absolute;
width: 300px;
height: 300px;
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: 0px;
top: 600px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
position: absolute;
width: 300px;
height: 300px;
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: 300px;
top: 0px;
background-color: rgb(255, 255, 255);
}
#core_card4 {
position: absolute;
width: 300px;
height: 300px;
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: 300px;
top: 300px;
background-color: rgb(255, 255, 255);
}
#core_card5 {
position: absolute;
width: 300px;
height: 300px;
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: 300px;
top: 600px;
background-color: rgb(255, 255, 255);
}
#paper_ripple1 {
width: 300px;
height: 300px;
}
#paper_ripple2 {
width: 300px;
height: 300px;
}
#paper_ripple3 {
width: 300px;
height: 300px;
}
#paper_ripple4 {
width: 300px;
height: 300px;
}
#paper_ripple5 {
width: 300px;
height: 300px;
}
#paper_ripple6 {
width: 300px;
height: 300px;
}
#core_animated_pages1 {
width: 420px;
height: 582px;
overflow: hidden;
left: 600px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 150, 6);
}
#section6 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_card6 {
position: absolute;
width: 300px;
height: 300px;
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: 720px;
top: 600px;
background-color: rgb(255, 255, 255);
}
#cool_clock {
width: 400px;
height: 300px;
left: 1320px;
top: 640px;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 1320px;
top: 610px;
}
#section7 {
left: 1190px;
top: 620px;
}
#core_tooltip {
left: 1250px;
top: 770px;
}
#section8 {
left: 1280px;
top: 710px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 1310px;
top: 620px;
}
#paper_checkbox {
left: 1310px;
top: 710px;
}
#paper_fab {
left: 630px;
top: 610px;
position: absolute;
}
#paper_toast {
display: none;
}
</style>
<paper-ripple id="paper_ripple"></paper-ripple>
<core-card id="core_card" layout vertical>
<paper-ripple id="paper_ripple5"></paper-ripple>
</core-card>
<core-card id="core_card1" layout vertical>
<paper-ripple id="paper_ripple4"></paper-ripple>
</core-card>
<core-card id="core_card2" layout vertical>
<paper-ripple id="paper_ripple3"></paper-ripple>
</core-card>
<core-card id="core_card3" layout vertical>
<paper-ripple id="paper_ripple6"></paper-ripple>
</core-card>
<core-card id="core_card4" layout vertical>
<paper-ripple id="paper_ripple2"></paper-ripple>
</core-card>
<core-card id="core_card5" layout vertical>
<paper-ripple id="paper_ripple1"></paper-ripple>
</core-card>
<core-animated-pages selectedindex="0" notap id="core_animated_pages1">
<section id="section3" layout horizontal center center-justified active>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar" end-justified start>
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Gallery</div>
</core-toolbar>
<section id="section6"></section>
</core-header-panel>
</section>
<section id="section4">
</section>
<section id="section5">
</section>
</core-animated-pages>
<paper-fab icon="av:play-arrow" id="paper_fab" center center-justified></paper-fab>
<core-card id="core_card6" layout vertical>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
</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