Skip to content

Instantly share code, notes, and snippets.

@AubreyHewes
Last active February 16, 2018 02:56
Show Gist options
  • Save AubreyHewes/1f2fa37e61376d409f1b to your computer and use it in GitHub Desktop.
Save AubreyHewes/1f2fa37e61376d409f1b to your computer and use it in GitHub Desktop.
designer
<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-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background-color: rgb(255, 255, 255);
}
#core_menu {
font-size: 16px;
left: -10px;
top: -10px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
</style>
<core-toolbar id="core_toolbar" class="medium-tall">
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<div id="div" flex>Who dun it?</div>
<paper-icon-button icon="search" id="paper_icon_button1"></paper-icon-button>
<paper-icon-button icon="more-vert" id="paper_icon_button2"></paper-icon-button>
<div id="div1" class="bottom fit" horizontal layout>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" flex horizontal center layout>
<paper-tab id="paper_tab2" inline center-center horizontal layout flex active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab" inline center-center horizontal layout flex>ITEM TWO</paper-tab>
<paper-tab id="paper_tab1" inline center-center horizontal layout flex>ITEM THREE</paper-tab>
</paper-tabs>
</div>
</core-toolbar>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment