Skip to content

Instantly share code, notes, and snippets.

@Sgouws
Created July 10, 2014 19:08
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 Sgouws/81cf44d385a16f8af7c7 to your computer and use it in GitHub Desktop.
Save Sgouws/81cf44d385a16f8af7c7 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="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
}
#core_header_panel {
width: 100%;
height: 60px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(79, 125, 201);
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
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: 690px;
top: 380px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
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: 380px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_field {
left: 1430px;
top: 660px;
}
#h3 {
padding: 10px;
}
#core_card2 {
position: absolute;
width: 300px;
height: 300px;
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: 690px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#google_map {
width: 90%;
height: 90%;
display: block;
position: absolute;
top: 5%;
left: 5%;
}
#core_card3 {
position: absolute;
width: 610px;
height: 300px;
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: 70px;
top: 380px;
background-color: rgb(255, 255, 255);
}
#core_card4 {
position: absolute;
width: 300px;
height: 300px;
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: 1000px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_card5 {
position: absolute;
width: 300px;
height: 300px;
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: 70px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_icon_button {
left: 1440px;
top: 670px;
}
#core_icon {
height: 24px;
width: 24px;
left: 1470px;
top: 710px;
}
#core_menu {
font-size: 16px;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<section id="section">
<core-toolbar id="core_toolbar">
<div id="div">GDA</div>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab1" active>Shops</paper-tab>
<paper-tab id="paper_tab2">Clients</paper-tab>
<paper-tab id="paper_tab3">Orders</paper-tab>
<paper-tab id="paper_tab4">Products</paper-tab>
</paper-tabs>
</core-toolbar>
</section>
</core-header-panel>
<core-card id="core_card5" layout vertical>
<core-menu selected="2" selectedindex="2" id="core_menu">
<core-submenu label="Add shop" icon="add" id="core_submenu">
</core-submenu>
<core-submenu label="Place Order" icon="drive-form" id="core_submenu1">
</core-submenu>
<core-submenu active label="View specific shop" icon="info" id="core_submenu1">
</core-submenu>
</core-menu>
</core-card>
<core-card id="core_card1" layout vertical>
<h3 id="h3" center>Sales this month</h3>
</core-card>
<core-card id="core_card2" layout vertical>
<h3 id="h3" center>Orders pending</h3>
</core-card>
<core-card id="core_card4" layout vertical>
<h3 id="h3" center>Top stores and areas</h3>
</core-card>
<core-card id="core_card" layout vertical>
<google-map id="google_map"></google-map>
</core-card>
<core-card id="core_card3" layout vertical>
<h3 id="h3" center>Current shops</h3>
</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