Skip to content

Instantly share code, notes, and snippets.

@bigblind
Created July 13, 2014 18:08
Show Gist options
  • Save bigblind/4dde06b682361dd1f8eb to your computer and use it in GitHub Desktop.
Save bigblind/4dde06b682361dd1f8eb to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.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="http://polymer.github.io/core-icons/components/core-icons/iconsets/av-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section2 {
left: 830px;
top: 250px;
position: absolute;
}
#core_scaffold {
right: 0px;
bottom: 0px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#core_scaffold1 {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_header_panel1 {
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu1 {
font-size: 16px;
}
#core_submenu {
padding: 1em;
}
#paper_ripple {
width: 300px;
height: 300px;
}
#paper_ripple1 {
width: 300px;
height: 300px;
}
#paper_ripple2 {
width: 300px;
height: 300px;
}
#paper_button {
left: 1140px;
top: 580px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
#ace_element {
width: 400px;
height: 300px;
left: 1120px;
top: 530px;
}
#core_animated_pages1 {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
#core_animated_pages2 {
width: 420px;
height: 582px;
overflow: hidden;
left: 1090px;
top: 520px;
background-color: rgb(238, 238, 238);
}
#core_card {
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;
background-color: rgb(255, 255, 255);
}
</style>
<section id="section2">
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item label="Item1" icon="settings" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Item2" icon="settings" size="24" id="core_item1" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
</core-scaffold>
</section>
<core-scaffold id="core_scaffold1">
<core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
<core-toolbar id="core_toolbar1"></core-toolbar>
<core-menu selected="Item2" valueattr="label" id="core_menu1" theme="core-light-theme">
</core-menu>
<core-submenu active selected="0" label="Main" valueattr="name" id="core_submenu">
<core-item label="Topic 1" icon="av:fast-forward" size="24" id="core_item4" horizontal center layout active></core-item>
</core-submenu>
</core-header-panel>
<div id="div1" tool>Title</div>
<paper-ripple id="paper_ripple"></paper-ripple>
<paper-ripple id="paper_ripple1"></paper-ripple>
<paper-ripple id="paper_ripple2"></paper-ripple>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<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="section3">
</section>
</core-animated-pages>
<core-animated-pages selectedindex="0" notap id="core_animated_pages1">
<section id="section4" layout horizontal center center-justified active>
</section>
<section id="section5">
</section>
<section id="section6">
</section>
</core-animated-pages>
<core-card id="core_card" layout vertical></core-card>
</core-scaffold>
</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