Skip to content

Instantly share code, notes, and snippets.

@smiller171
Created June 25, 2014 20:29
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 smiller171/ce039d686c6e9ebd2a7c to your computer and use it in GitHub Desktop.
Save smiller171/ce039d686c6e9ebd2a7c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.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: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#notification_alert {
left: 810px;
top: 250px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#core_menu1 {
font-size: 16px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<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="Item1" valueattr="label" id="core_menu" theme="core-light-theme">
</core-menu>
<core-menu selected="0" selectedindex="0" id="core_menu1">
<core-submenu active label="Topics" icon="settings" id="core_submenu">
<core-item label="Topic 1" id="core_item2" horizontal center layout></core-item>
<core-item label="Topic 2" id="core_item3" horizontal center layout></core-item>
</core-submenu>
<core-submenu label="Favorites" icon="settings" id="core_submenu1">
<core-item label="Favorite 1" id="core_item4" horizontal center layout></core-item>
<core-item label="Favorite 2" id="core_item5" horizontal center layout></core-item>
<core-item label="Favorite 3" id="core_item6" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</core-header-panel>
<div id="div" tool>This is a test</div>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</section>
</section>
</core-scaffold>
</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