Skip to content

Instantly share code, notes, and snippets.

@carlvlewis
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlvlewis/1518c70d2a06792357f4 to your computer and use it in GitHub Desktop.
Save carlvlewis/1518c70d2a06792357f4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.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="../paper-progress/paper-progress.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 940px;
top: 50px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 300px;
top: 140px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#section1 {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#paper_progress {
left: 840px;
top: 490px;
position: absolute;
}
#paper_progress1 {
left: 1330px;
top: 800px;
}
#chart_js {
width: 300px;
height: 200px;
left: 730px;
top: 350px;
position: absolute;
}
#section2 {
left: 305px;
top: 25px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 125px;
top: 35px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#div {
left: 800px;
top: 420px;
position: absolute;
}
#div1 {
left: 1320px;
top: 810px;
}
#paper_tab2 {
width: 120px;
height: 40px;
left: 670px;
top: 130px;
position: absolute;
}
#paper_toast {
left: 990px;
top: 610px;
position: absolute;
}
#paper_toast1 {
left: 890px;
top: 510px;
position: absolute;
}
#paper_toast2 {
left: 930px;
top: 390px;
position: absolute;
}
#section6 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 500px;
top: 350px;
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);
}
#section8 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 230px;
top: 160px;
position: absolute;
}
#section9 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div3 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab1 {
background-color: rgb(255, 64, 129);
}
</style>
<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 id="section" layout vertical>
<paper-tabs noink nobar 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-tabs>
<section id="section1" flex relative>
<section id="section2"></section>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section3" layout horizontal center center-justified active></section>
<section id="section4">
</section>
<section id="section5">
</section>
</core-animated-pages>
</section>
</section>
<paper-progress id="paper_progress"></paper-progress>
<chart-js id="chart_js"></chart-js>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>TAB</paper-tab>
<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>
<section id="section6" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section7" flex relative>
</section>
</section>
<section id="section8" layout vertical>
<section id="section9" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div1" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div2" hero class="dummy"></div>
<div id="div3" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab1" cross-fade-delayed></paper-fab>
</div>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment