Skip to content

Instantly share code, notes, and snippets.

@DBezemer
Last active September 1, 2015 07:37
Show Gist options
  • Save DBezemer/4a95323ca2e547eb537c to your computer and use it in GitHub Desktop.
Save DBezemer/4a95323ca2e547eb537c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.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-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-header-panel/core-header-panel.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel {
position: absolute;
top: 350px;
right: 0px;
bottom: 0px;
left: 90px;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_animated_pages1 {
width: 420px;
height: 582px;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_card {
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: 0px;
top: 0px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel1 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section6 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section7 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_drawer_panel2 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section8 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section9 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_drawer_panel3 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section10 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section11 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section12 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_toolbar2 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_card1 {
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: 0px;
top: 0px;
background-color: rgb(255, 255, 255);
}
#core_ajax {
left: 0px;
top: 0px;
position: absolute;
}
#smoothie_chart {
left: 0px;
top: 0px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 0px;
top: 0px;
position: absolute;
}
#cool_clock1 {
width: 400px;
height: 300px;
left: 0px;
top: 0px;
position: absolute;
}
#cool_clock2 {
width: 400px;
height: 300px;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="leftBar" drawer class="Panel">
<core-drawer-panel transition id="core_drawer_panel2" touch-action>
<section id="section8" drawer>
<core-toolbar id="core_toolbar2">
<div id="div2" flex>Toolbar</div>
</core-toolbar>
</section>
<section id="section9" main></section>
</core-drawer-panel>
</section>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<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>
<core-animated-pages selectedindex="0" notap id="core_animated_pages1">
<section id="section3" layout horizontal center center-justified active>
</section>
<section id="section4">
</section>
<section id="section5">
</section>
</core-animated-pages>
<core-card id="core_card" layout vertical></core-card>
<core-drawer-panel transition id="core_drawer_panel1" touch-action>
<section id="section6" drawer></section>
<section id="section7" main></section>
</core-drawer-panel>
<core-drawer-panel transition id="core_drawer_panel3" touch-action>
<section id="section10" drawer></section>
<section id="section11" main></section>
</core-drawer-panel>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar1">
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button>
<div id="div1">Header</div>
</core-toolbar>
<section id="section12"></section>
</core-header-panel>
<core-card id="core_card1" layout vertical></core-card>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<cool-clock id="cool_clock"></cool-clock>
<cool-clock id="cool_clock1"></cool-clock>
<cool-clock id="cool_clock2"></cool-clock>
</core-drawer-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment