Skip to content

Instantly share code, notes, and snippets.

@windlessuser
Created February 19, 2015 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save windlessuser/89a07e8eb7c61e365227 to your computer and use it in GitHub Desktop.
Save windlessuser/89a07e8eb7c61e365227 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
#drop_off {
width: auto;
}
#drop_off_card {
position: relative;
top: 10px;
right: 10px;
left: 10px;
width: 100%;
height: 50px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
#map_card {
position: relative;
top: 20px;
width: 100%;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 10px;
right: 10px;
background-color: rgb(255, 255, 255);
}
#google_map {
display: block;
}
#pick_up_card {
position: relative;
width: 100%;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 10px;
right: 10px;
top: 30px;
background-color: rgb(255, 255, 255);
}
#residential_checkbox {
width: 12%;
}
#paper_checkbox {
width: 12%;
}
#get_button {
color: rgb(255, 255, 255);
background-color: rgb(17, 29, 240);
}
</style>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar">ErrandBoy</core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="Home" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Errand" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>What's your job?</div>
<core-card id="drop_off_card" layout vertical flex>
<paper-input label="Drop off Address" floatinglabel id="drop_off" flex></paper-input>
</core-card>
<core-card id="map_card" layout vertical>
<google-map latitude="37.69903557262177" longitude="-122.60963509680897" zoom="9" id="google_map" flex></google-map>
</core-card>
<core-card id="pick_up_card" layout vertical>
<paper-input label="Pick up Address..." floatinglabel id="paper_input"></paper-input>
<paper-checkbox label="Residential" id="residential_checkbox"></paper-checkbox>
<paper-checkbox label="Business" id="paper_checkbox"></paper-checkbox>
<paper-input label="Unit# (optional)..." floatinglabel id="paper_input1"></paper-input>
<paper-input label="Instrunctions" floatinglabel id="paper_input2"></paper-input>
<paper-button id="get_button">Get my Stuff!!!</paper-button>
</core-card>
</core-scaffold>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment