Skip to content

Instantly share code, notes, and snippets.

@stanleylhs
Created June 26, 2014 04:27
Show Gist options
  • Save stanleylhs/db26ae56920a6a88a4a4 to your computer and use it in GitHub Desktop.
Save stanleylhs/db26ae56920a6a88a4a4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.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-header-panel/core-header-panel.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;
}
#notification_alert {
left: 470px;
top: 430px;
position: absolute;
}
#notification_alert1 {
left: 910px;
top: 660px;
position: absolute;
}
#notification_alert2 {
left: 950px;
top: 620px;
position: absolute;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 100%;
width: 100%;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_icon_button {
width: 100%;
height: 100%;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert2"></notification-alert>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">Header</div>
</core-toolbar>
<section id="section"></section>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
</core-header-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