Skip to content

Instantly share code, notes, and snippets.

@cwdoh
Created July 25, 2014 15:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cwdoh/ba7362f1ae72ffb68c2b 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-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 460px;
top: 220px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 20em;
width: 100%;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#paper_item {
height: 10em;
width: 100%;
background-color: rgb(255, 38, 0);
}
#paper_item1 {
width: 100%;
height: 10em;
background-color: rgb(0, 143, 0);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">차 좀 빼주세요!</div>
</core-toolbar>
<section id="section">
<paper-item label="네, 지금 빼드릴께요!" icon="favorite" id="paper_item" class="white" center horizontal layout></paper-item>
<paper-item label="죄송해요. 지금은 곤란해요." icon="favorite" id="paper_item1" center horizontal layout></paper-item>
</section>
</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