Skip to content

Instantly share code, notes, and snippets.

@bostondevin
Last active August 29, 2015 14:10
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 bostondevin/1d9ef3584858b9ee3944 to your computer and use it in GitHub Desktop.
Save bostondevin/1d9ef3584858b9ee3944 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-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 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;
}
#section {
box-sizing: border-box;
width: 100%;
height: 400px;
position: static;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
position: static;
width: 100%;
background-color: rgb(0, 188, 212);
}
#paper_tab4 {
opacity: 0.9;
}
#section1 {
width: 50%;
padding: 20px;
}
#section2 {
width: 50%;
padding: 20px;
}
#core_icon {
height: 256px;
width: 256px;
left: 47.5px;
top: 138px;
position: absolute;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 87.5px;
top: 168px;
position: absolute;
}
</style>
<core-scaffold responsivewidth="400px" id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="Item1" horizontal center layout active></core-item>
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Mission Control</div>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" center horizontal layout>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab5" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
</paper-tabs>
<section id="section" layout horizontal>
<section id="section1">
ddd
</section>
<section id="section2">
<core-icon icon="category-images:food" id="core_icon" designmeta="topeka-image"></core-icon>
</section>
</section>
</core-scaffold>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment