Skip to content

Instantly share code, notes, and snippets.

@JovieBrett
Created July 24, 2014 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JovieBrett/666c27c69298289654fb to your computer and use it in GitHub Desktop.
Save JovieBrett/666c27c69298289654fb 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-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_selector {
width: 100%;
height: 50px;
left: 1590px;
top: 790px;
}
#core_toolbar {
right: 0px;
left: -10px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(210, 63, 49);
}
#core_drawer_panel {
position: absolute;
top: 60px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_field {
left: 1450px;
top: 670px;
}
#core_item {
left: 1550px;
top: 680px;
}
#core_menu {
font-size: 16px;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Admission</div>
</core-toolbar>
<core-drawer-panel id="core_drawer_panel">
<section id="section" drawer>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu active label="Chapter 1" icon="settings" valueattr="name" id="core_submenu">
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item>
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item>
</core-submenu>
<core-submenu label="Chapter 2" icon="settings" valueattr="name" id="core_submenu1">
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item>
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item>
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="section1" main></section>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
</core-drawer-panel>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment