Skip to content

Instantly share code, notes, and snippets.

@BenDol
Last active August 29, 2015 14:16
Show Gist options
  • Save BenDol/dfeda42d2874ada1264f to your computer and use it in GitHub Desktop.
Save BenDol/dfeda42d2874ada1264f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-slider/paper-slider.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-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_ajax {
left: 480px;
top: 330px;
position: absolute;
}
#div1 {
left: 880px;
top: 540px;
position: absolute;
}
#topeka_datasource {
left: 1140px;
top: 380px;
position: absolute;
}
#paper_slider {
left: 1230px;
top: 740px;
position: absolute;
}
#paper_toast {
left: 1160px;
top: 390px;
position: absolute;
}
#paper_toast1 {
left: 980px;
top: 500px;
position: absolute;
}
#paper_toast2 {
left: 710px;
top: 390px;
position: absolute;
}
#paper_toast3 {
left: 810px;
top: 280px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 610px;
top: 290px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_tab5 {
width: 120px;
height: 40px;
left: 630px;
top: 350px;
position: absolute;
}
#paper_toast4 {
left: 260px;
top: 460px;
position: absolute;
}
#paper_toast5 {
left: 280px;
top: 550px;
position: absolute;
}
#paper_toast6 {
left: 640px;
top: 620px;
position: absolute;
}
#paper_toast7 {
left: 860px;
top: 670px;
position: absolute;
}
#paper_toggle_button {
left: 440px;
top: 470px;
position: absolute;
width: 50px;
height: 20px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 80px;
top: 50px;
position: absolute;
}
#paper_tabs1 {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_button {
left: 38px;
top: 47px;
position: absolute;
}
#notification_alert {
left: 950px;
top: 520px;
position: absolute;
}
#speech_mic {
left: 980px;
top: 620px;
position: absolute;
}
#smoothie_chart {
left: 990px;
top: 160px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 920px;
top: 420px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 530px;
top: 540px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 340px;
top: 510px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 1260px;
top: 330px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 630px;
top: 170px;
position: absolute;
}
#google_map_directions {
left: 560px;
top: 540px;
position: absolute;
}
#google_map_directions1 {
left: 830px;
top: 330px;
position: absolute;
}
#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: 1260px;
top: 410px;
background-color: rgb(255, 255, 255);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 660px;
top: -10px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_field {
left: 970px;
top: 740px;
position: absolute;
}
#core_menu {
font-size: 16px;
}
#div {
left: 1400px;
top: 170px;
position: absolute;
}
#paper_fab {
left: 1310px;
top: 150px;
position: absolute;
width: 150px;
height: 140px;
}
#paper_toggle_button1 {
left: 1290px;
top: 800px;
position: absolute;
}
#paper_ripple {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<div id="div1" layout horizontal>
</div>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast2" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast3" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
</paper-tabs>
<paper-tab id="paper_tab5" inline flex center-center horizontal layout>TAB</paper-tab>
<paper-toast text="Toast!" id="paper_toast4" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast5" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast6" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
<paper-toast text="Toast!" id="paper_toast7" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab6" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab7" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-button id="paper_button">
<paper-ripple id="paper_ripple"></paper-ripple>
</paper-button>
</section>
</section>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<speech-mic id="speech_mic"></speech-mic>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<yt-search-video id="yt_search_video"></yt-search-video>
<cool-clock id="cool_clock"></cool-clock>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
<chart-js id="chart_js"></chart-js>
<google-map-directions id="google_map_directions"></google-map-directions>
<google-map-directions id="google_map_directions1"></google-map-directions>
<core-card id="core_card" layout vertical>
<core-tooltip label="I'm a tooltip" id="core_tooltip">
<span id="span">Hover over me.</span>
</core-tooltip>
</core-card>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<div id="div" layout horizontal>
</div>
<paper-fab icon="check" id="paper_fab"></paper-fab>
<paper-toggle-button id="paper_toggle_button1" touch-action="pan-y"></paper-toggle-button>
<paper-slider id="paper_slider"></paper-slider>
</template>
<script>
Polymer({
});
</script>
</polymer-element><core-animated-pages selectedindex="0" notap id="core_animated_pages" class="drag-element">
<section id="section2" layout horizontal center center-justified active>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="section3">
</section>
<section id="section4">
</section>
</core-animated-pages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment