Skip to content

Instantly share code, notes, and snippets.

@smolleyes
Last active August 29, 2015 14:22
Show Gist options
  • Save smolleyes/6f76614c9bd6ba056598 to your computer and use it in GitHub Desktop.
Save smolleyes/6f76614c9bd6ba056598 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-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.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_header_panel {
width: 100%;
left: 0px;
top: 0px;
opacity: 1;
position: absolute;
padding: 0px;
margin: 0px;
height: 90px;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1050px;
top: 460px;
}
#core_toolbar {
color: rgb(255, 255, 255);
height: 90px;
background-color: rgb(253, 253, 253);
}
#img {
padding: 10px;
position: absolute;
left: 0px;
top: 0px;
}
#section {
position: absolute;
left: 0px;
top: 90px;
width: 100%;
background-color: rgb(2, 2, 2);
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 0, 0);
}
#core_animated_pages {
width: 100%;
height: 582px;
overflow: hidden;
left: 0px;
top: 140px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_card {
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
right: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<img id="img" src="http://batexpert.fr/img/logo.png"></img>
<div id="div" flex>
<section id="section">
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" start horizontal layout center>
<paper-tab id="paper_tab" inline center-center active flex horizontal layout>La société</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Cadre réglementaire</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>Repérage amiante</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>constat plomb</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>Coordination sps</paper-tab>
<paper-tab id="paper_tab5" inline flex center-center horizontal layout>Contacts</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</section>
</section>
</div>
</core-toolbar>
</core-header-panel>
<core-animated-pages transitions="animated" selected="{{ $.paper_tabs.selected }}" lastselected="0" selectedindex="0" notap id="core_animated_pages">
<section id="section2" center horizontal layout center-justified active>
<core-card id="core_card"></core-card>
<core-card id="core_card_2" layout vertical></core-card>
<core-card id="core_card_3" layout vertical></core-card>
<core-card id="core_card_4" layout vertical></core-card>
</section>
<section id="section3">
<p>test2</p>
</section>
<section id="section4">
<p>test3</p>
</section>
<section id="section5">
<p id="p">test4</p>
</section>
<section id="section6">
<p>test5</p>
</section>
<section id="section7">
<p>test6</p>
</section>
</core-animated-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