Skip to content

Instantly share code, notes, and snippets.

@Jigarsolanki
Created July 7, 2014 00:35
Show Gist options
  • Save Jigarsolanki/e4eb47039082144a0024 to your computer and use it in GitHub Desktop.
Save Jigarsolanki/e4eb47039082144a0024 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-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1160px;
top: 470px;
}
#core_drawer_panel {
position: absolute;
top: 490px;
right: 0px;
bottom: 0px;
left: 1160px;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 80px;
top: -20px;
position: absolute;
}
#smoothie_chart {
left: 1220px;
top: 590px;
}
#speech_mic {
left: 1220px;
top: 590px;
}
#notification_alert {
left: 750px;
top: 380px;
position: absolute;
}
</style>
<core-scroll-header-panel condenses noreveal headerheight="192" condensedheaderheight="64" id="core_scroll_header_panel">
</core-scroll-header-panel>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
</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