Skip to content

Instantly share code, notes, and snippets.

@fmulyono
Created August 5, 2014 03:05
Show Gist options
  • Save fmulyono/177c5ba7450ed85f245d to your computer and use it in GitHub Desktop.
Save fmulyono/177c5ba7450ed85f245d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#core_header_panel {
width: 470px;
height: 570px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#section {
height: 1000px;
background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 30px;
top: 90px;
position: absolute;
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 50px;
top: 120px;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section"></section>
</core-header-panel>
<core-card id="core_card" layout vertical></core-card>
</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