Skip to content

Instantly share code, notes, and snippets.

@victorpedrocs
Last active August 29, 2015 14:09
Show Gist options
  • Save victorpedrocs/59b249622ef91da64ab1 to your computer and use it in GitHub Desktop.
Save victorpedrocs/59b249622ef91da64ab1 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-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: relative;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: -8px;
top: -2px;
position: absolute;
width: 220px;
height: 640px;
}
#core_header_panel {
width: 1190px;
height: 750px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_submenu1 {
left: -4px;
top: -4px;
position: absolute;
width: 230px;
height: 640px;
}
#core_submenu3 {
width: 130px;
height: 240px;
}
#section1 {
width: 930px;
height: 640px;
border: 5px solid rgb(204, 204, 204);
left: 230px;
top: 6px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_tab {
opacity: 1;
background-color: rgb(252, 252, 252);
}
#institutoMultiDisciplinarTree {
width: 310px;
height: 350px;
z-index: 1000000;
}
#section2 {
width: 100%;
height: 100%;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div" center-justified wrap three flex center>Anuário UFRRJ</div>
</core-toolbar>
<section id="section">
<section id="section1" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="institutoMultidisciplinarTab" active start>Instituto Multidisciplinar</paper-tab>
</paper-tabs>
<section id="section2" flex relative>
</section>
</section>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu1" icon="arrow-drop-down" label="UFRRJ">
<core-item id="core_item2" label="Instituto Zootecnia" horizontal center layout></core-item>
<core-item id="core_item3" label="Instituto de Agronomia" horizontal center layout active></core-item>
<core-item id="core_item4" label="Instituto de Florestas" horizontal center layout></core-item>
<core-submenu opened active id="institutoMultiDisciplinarTree" name="treeNode" icon="arrow-drop-down" label="instituto MultiDisciplinar">
<core-item id="core_item5" label="DCC" horizontal center layout active></core-item>
<core-item id="core_item6" label="DTL" horizontal center layout></core-item>
<core-item id="core_item7" label="DAT" horizontal center layout active></core-item>
</core-submenu>
</core-submenu>
</core-menu>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment