Last active
August 29, 2015 14:04
-
-
Save Larceniii/d4061126a9cea8767d62 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-button/paper-button.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; | |
left: 0px; | |
top: 0px; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
opacity: 1; | |
} | |
#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; | |
} | |
#core_field { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_item1 { | |
opacity: 1; | |
} | |
#core_pages { | |
width: 100%; | |
height: 100%; | |
border: 1px solid silver; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
background-color: rgb(235, 247, 234); | |
} | |
#core_card { | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
margin: 25px; | |
width: 600px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon1 { | |
height: 24px; | |
width: 24px; | |
} | |
#core_field1 { | |
padding: 5px; | |
margin: 5px; | |
background-color: rgb(235, 235, 235); | |
} | |
#core_card1 { | |
width: 600px; | |
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); | |
} | |
#checkout_button { | |
padding: 5px; | |
opacity: 1; | |
width: 250px; | |
margin: 10px 0px -25px; | |
color: white; | |
fill: rgb(255, 255, 255); | |
font-size: 19px; | |
background-color: rgb(125, 195, 107); | |
} | |
#paper_checkbox { | |
width: 90%; | |
margin: 0px; | |
} | |
.print_recipt { | |
fill: rgb(255, 255, 255); | |
bottom: -20px; | |
position: relative; | |
left: -20px; | |
background: rgb(125, 195, 107); | |
} | |
.return_button { | |
fill: rgb(255, 255, 255); | |
bottom: 35px; | |
position: relative; | |
right: 20px; | |
} | |
#core_item3 { | |
padding: 0px 5px; | |
border: 1px solid black; | |
width: 275px; | |
} | |
#paper_icon_button3 { | |
left: 1630px; | |
top: 700px; | |
} | |
#paper_toggle_button { | |
left: 1690px; | |
top: 800px; | |
} | |
#paper_icon_button2 { | |
left: 1620px; | |
top: 760px; | |
} | |
#paper_fab1 { | |
position: relative; | |
} | |
#return_order { | |
left: 300px; | |
position: relative; | |
margin: -20px; | |
} | |
#clear_order { | |
position: relative; | |
left: 300px; | |
top: 0px; | |
margin: -25px; | |
} | |
#reprint_recipt { | |
left: -300px; | |
} | |
#paper_fab { | |
left: -300px; | |
} | |
#core_field2 { | |
left: 1640px; | |
top: 530px; | |
} | |
#checkout-page { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
opacity: 1; | |
} | |
#pp_receipt1 { | |
left: 1580px; | |
top: 630px; | |
} | |
#paper_button { | |
left: 1680px; | |
top: 670px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" value="{{ $.speech_mic.transcript }}" flex></core-input> | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-field> | |
</core-toolbar> | |
<core-menu selected="Check Out" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" label="Check Out" icon="shopping-cart" size="24" on-tap="{{ showRoad }}" horizontal center layout reverse start-justified active></core-item> | |
<core-item id="core_item1" label="Process Return" icon="reply-all" size="24" on-tap="{{ showSat }}" horizontal center layout start-justified reverse></core-item> | |
<core-item id="core_item2" label="Store Settings" icon="store" size="24" horizontal center layout reverse start-justified></core-item> | |
<core-item id="core_item4" label="Inventory" icon="settings" size="24" horizontal center layout reverse></core-item> | |
<core-item id="core_item5" label="Logout" icon="lock-outline" size="24" horizontal center layout reverse></core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Logged in as USER1</div> | |
<section id="section"></section> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="checkout-page" class="checkout-page" center vertical layout active> | |
<core-card id="core_card" vertical layout center> | |
<paper-fab icon="close" id="clear_order" class="return_button2"></paper-fab> | |
<core-field id="core_field1" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="swap-vert" id="core_icon1"></core-icon> | |
<core-input id="core_input1" flex></core-input> | |
</core-field> | |
<core-item id="core_item3" label="#1 Example Item $2.90" icon="remove-circle-outline" size="24" horizontal center layout center-justified></core-item> | |
<paper-button id="checkout_button" label="CHECKOUT" raisedbutton icon="check-circle-outline"></paper-button> | |
<div id="div1" layout horizontal> | |
</div> | |
<paper-fab icon="receipt" id="paper_fab" class="print_recipt"></paper-fab> | |
</core-card> | |
<core-card id="core_card1" vertical layout center> | |
<paper-fab icon="reply-all" id="return_order" class="return_button2"></paper-fab> | |
<paper-item id="paper_item" label="RECEIPT LIST" icon="list" center horizontal layout></paper-item> | |
<paper-fab icon="print" id="reprint_recipt" class="print_recipt"></paper-fab> | |
</core-card> | |
</section> | |
<section id="section2">Page Two</section> | |
<pp-receipt id="pp_receipt"></pp-receipt> | |
</core-pages> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
showRoad: function () { | |
this.$.google_map.mapType = 'roadmap'; | |
}, | |
showSat: function () { | |
this.$.google_map.mapType = 'satellite'; | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment