Last active
August 29, 2015 14:11
-
-
Save bferreirainfo/1b7495b1792ebf9930bf to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../core-scaffold/core-scaffold.html" rel="import"> | |
<link href="../core-header-panel/core-header-panel.html" rel="import"> | |
<link href="../core-menu/core-menu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<link href="../core-menu-button/core-menu-button.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<link href="../paper-tabs/paper-tabs.html" rel="import"> | |
<link href="../paper-tabs/paper-tab.html" rel="import"> | |
<link href="../core-animated-pages/core-animated-pages.html" rel="import"> | |
<link href="../core-animated-pages/transitions/hero-transition.html" rel="import"> | |
<link href="../core-animated-pages/transitions/cross-fade.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-down.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-up.html" rel="import"> | |
<link href="../core-animated-pages/transitions/tile-cascade.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#core_menu_button { | |
left: 260px; | |
top: 70px; | |
position: absolute; | |
} | |
#section { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#core-animated-pages { | |
position: absolute; | |
top: 48px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
background-color: rgb(0, 188, 212); | |
} | |
#div1 { | |
background-color: rgb(90, 181, 23); | |
} | |
#div2 { | |
background-color: rgb(20, 128, 186); | |
} | |
#div3 { | |
background-color: rgb(129, 3, 109); | |
} | |
#div4 { | |
background-color: rgb(237, 3, 10); | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"></core-toolbar> | |
<core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" horizontal center layout icon="settings" label="Item1"></core-item> | |
<core-item id="core_item1" horizontal center layout icon="settings" label="Item2" active></core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<core-menu-button opened id="core_menu_button" selected="0" icon="more-vert" relative> | |
</core-menu-button> | |
<section id="section1" layout vertical is="auto-binding"> | |
<paper-tabs selected="{{ selected }}" selectedindex="0" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>Seg</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Ter</paper-tab> | |
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>Qua</paper-tab> | |
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>Qui</paper-tab> | |
</paper-tabs> | |
<core-animated-pages transitions="slide-from-right" selected="{{ selected }}" lastselected="1" selectedindex="0" notap id="core-animated-pages" horizontal layout one flex> | |
<section id="chat" one flex vertical layout active> | |
<div id="div1" layout vertical center center-justified one flex></div> | |
</section> | |
<section id="section4" one flex horizontal layout> | |
<div id="div2" layout vertical center center-justified one flex></div> | |
</section> | |
<section id="section5" one flex horizontal layout> | |
<div id="div3" layout vertical center center-justified one flex></div> | |
</section> | |
<section id="section6" one flex horizontal layout> | |
<div id="div4" layout vertical center center-justified one flex></div> | |
</section> | |
</core-animated-pages> | |
</section> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
selected: 0 | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment