Skip to content

Instantly share code, notes, and snippets.

@domination
Last active August 29, 2015 14:26
Show Gist options
  • Save domination/f8df5f6054d3007c1c8e to your computer and use it in GitHub Desktop.
Save domination/f8df5f6054d3007c1c8e 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="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<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="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 1110px;
top: 570px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 320px;
top: 130px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#core_icon_button2 {
position: absolute;
top: 10px;
left: 198px;
width: 100%;
height: 100%;
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_toolbar1 {
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_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1130px;
top: 110px;
position: absolute;
}
#paper_input {
left: 380px;
top: 680px;
position: absolute;
}
#section3 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 660px;
top: 340px;
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);
}
#paper_ripple {
width: 300px;
height: 300px;
left: 80px;
top: 520px;
position: absolute;
}
#paper_slider {
left: 150px;
top: 210px;
position: absolute;
}
#section5 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 80px;
top: 490px;
position: absolute;
}
#section6 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div3 {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div5 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#core_scaffold {
position: absolute;
top: 37px;
right: 0px;
bottom: 0px;
left: -55px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar2 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu1 {
font-size: 16px;
}
#core_submenu2 {
left: 1200px;
top: 790px;
position: absolute;
}
</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>
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button active icon="more-vert" id="core_icon_button2" class="selected"></core-icon-button>
<div id="div1" class="bottom indent">Title</div>
</core-toolbar>
<section id="section" content></section>
</core-scroll-header-panel>
<core-toolbar id="core_toolbar1">
<core-icon-button icon="menu" id="core_icon_button3"></core-icon-button>
<div id="div2" flex>Toolbar</div>
</core-toolbar>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section1" active>Page One</section>
<section id="section2">Page Two</section>
</core-pages>
<paper-input label="Type something..." id="paper_input"></paper-input>
<section id="section3" 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="section4" flex relative>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar2"></core-toolbar>
<core-menu valueattr="label" id="core_menu1" theme="core-light-theme">
<core-item id="core_item11" icon="settings" label="Item1" horizontal center layout></core-item>
<core-item id="core_item12" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div6" tool>Title</div>
</core-scaffold>
</section>
</section>
<paper-ripple id="paper_ripple"></paper-ripple>
<paper-slider id="paper_slider"></paper-slider>
<section id="section5" layout vertical>
<section id="section6" 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="div3" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div4" hero class="dummy"></div>
<div id="div5" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<core-submenu id="core_submenu2" icon="settings" label="Topics">
<core-item id="core_item13" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item14" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment