Skip to content

Instantly share code, notes, and snippets.

@tbfleming
Created July 22, 2014 00:54
Show Gist options
  • Save tbfleming/ec94bba4762084e502ad to your computer and use it in GitHub Desktop.
Save tbfleming/ec94bba4762084e502ad 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="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
right: 0px;
bottom: 0px;
left: 0px;
top: 0px;
position: absolute;
}
#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_input1 {
padding: 15px;
}
#core_input {
padding: 15px;
}
#core_selector3 {
width: 100%;
height: 50px;
}
.item.core-selected {
background: rgb(238, 238, 238);
}
#paper_tabs1 {
width: 480px;
color: rgb(255, 255, 255);
background-color: rgb(0, 188, 212);
}
#YOYOYO {
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<core-scaffold id="core_scaffold" one flex>
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="Item2" valueattr="label" id="core_menu" theme="core-light-theme">
</core-menu>
<table id="table">
<tbody id="tbody">
<tr id="tr">
<td id="td">
<label id="label" for="core_input1">
<b id="b">Blah</b>
</label>
</td>
<td id="td1">
<input id="core_input1" placeholder="Type something..." inputvalue="lkjk" value="lkjk">
</td>
</tr>
<tr id="tr1">
<td id="td2">a</td>
<td id="td3">b
</td>
</tr>
</tbody>
</table>
</core-header-panel>
<div id="div" tool>Box</div>
<div id="YOYOYO" horizontal layout>
<paper-tabs noink selected="1" selectedindex="{{ xxxx }}" id="paper_tabs1">
<paper-tab id="paper_tab5">ITEM ONE</paper-tab>
<paper-tab id="paper_tab6" active>ITEM TWO</paper-tab>
<paper-tab id="paper_tab7">ITEM THREE</paper-tab>
<paper-tab id="paper_tab8">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab9">ITEM FIVE</paper-tab>
</paper-tabs>
</div>
<core-pages selected="{{ xxxx }}" selectedindex="1" notap id="core_pages">
<section id="section">Page One</section>
<section id="section1" active>Page Two</section>
</core-pages>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
</core-scaffold>
</template>
<script>
Polymer('my-element', {
xxxx: 1
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment