Skip to content

Instantly share code, notes, and snippets.

@patmccormick
Last active August 29, 2015 14:12
Show Gist options
  • Save patmccormick/a2490ce9c5a155fe85fd to your computer and use it in GitHub Desktop.
Save patmccormick/a2490ce9c5a155fe85fd 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-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 239, 184);
}
#core_toolbar {
color: rgb(9, 84, 153);
position: static;
left: 0px;
top: 0px;
opacity: 0.6;
background-color: rgb(254, 253, 253);
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 1240px;
top: 830px;
}
#restaurant_logo {
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#text_name {
width: 100%;
height: 100%;
position: relative;
}
#core_field {
padding: 12px;
position: relative;
top: 12px;
height: 90%;
}
</style>
<core-header-panel mode="waterfall-tall" shadow id="core_header_panel" center vertical layout center-justified>
<core-toolbar id="core_toolbar" class="animate tall" vertical layout center center-justified>
<div id="restaurant_logo" center center-justified>
<img id="img" src></img>
</div>
<div id="text_name" center-justified center>Restaurant Name</div>
</core-toolbar>
<core-field id="core_field" theme="core-light-theme" center vertical layout center-justified wrap horizontal>
<core-input id="core_input" flex>This is where the quote appears.</core-input>
</core-field>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment