Skip to content

Instantly share code, notes, and snippets.

@ilan-schemoul
Last active August 29, 2015 14:10
Show Gist options
  • Save ilan-schemoul/f2ce51a24814f7bc8f91 to your computer and use it in GitHub Desktop.
Save ilan-schemoul/f2ce51a24814f7bc8f91 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.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-header-panel/core-header-panel.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: relative;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_pages {
width: 100%;
height: 100%;
border: 1px solid silver;
left: 0px;
top: 0px;
position: relative;
background-color: rgb(179, 229, 252);
}
#core_header_panel {
height: 60px;
left: 0px;
top: 0px;
position: relative;
background-color: rgb(79, 125, 201);
}
#core_toolbar {
color: rgb(255, 255, 255);
top: 0px;
left: 0px;
width: 100%;
height: 100%;
padding: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 0px;
left: 119px;
top: -1px;
position: absolute;
height: 100%;
background-color: rgb(79, 125, 201);
}
#paper_tab1 {
position: relative;
}
#paper_tab2 {
position: relative;
}
#div {
position: relative;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages" center-justified>
<core-header-panel mode="standard" id="core_header_panel" active>
<core-toolbar id="core_toolbar">
<div id="div">L'iné</div>
</core-toolbar>
<paper-tabs noslide hidescrollbutton selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
</paper-tabs>
</core-header-panel>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment