Last active
August 29, 2015 14:09
-
-
Save jgato/f29ecfb7424770a45c51 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-menu/core-submenu.html"> | |
<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-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
.content { | |
margin: 16px; | |
} | |
.rightColumn, .leftColumn { | |
display: inline-block; | |
width: 49%; | |
vertical-align: top; | |
} | |
.card-image h1, .card-image h2, .card-image h3, .card-image h4, .card-image h5, .card-image h6 { | |
position: absolute; | |
bottom: 0px; | |
width: 100%; | |
color: white; | |
margin: 0px; | |
padding: 6px; | |
border: none; | |
background: rgba(0, 0, 0, 0.65098); | |
} | |
.card { | |
border-width: 1px 1px 3px; | |
border-style: solid; | |
border-color: rgb(170, 170, 170) rgb(170, 170, 170) rgb(187, 187, 187); | |
padding: 0px; | |
margin: 15px; | |
overflow: hidden; | |
background: rgb(255, 255, 255); | |
} | |
.card h1 { | |
margin: 0px; | |
padding: 10px 10px 0px; | |
} | |
.card p { | |
margin: 0px; | |
padding: 10px; | |
} | |
.card-image { | |
width: 100%; | |
height: 200px; | |
padding: 0px; | |
margin: 0px; | |
position: relative; | |
overflow: hidden; | |
background-position: 50% 50%; | |
background-repeat: no-repeat; | |
} | |
.image1 { | |
background-image: url(http://uploads.webflow.com/52d4399e020acdcb61000001/52fd4c1ec5f87e8c21000a0f_Flat-Color-Abstract-City-Background_3.png); | |
} | |
.image2 { | |
background-image: url(http://lawebdelestudiante.es/wp-content/uploads/2013/01/A350Airbus.jpg); | |
} | |
.card-image .banner { | |
height: 50px; | |
width: 50px; | |
top: 0px; | |
right: 0px; | |
position: absolute; | |
background-image: url(https://www.polymer-project.org/tools/designer/components/images/new.png); | |
background-position: 100% 0%; | |
background-repeat: no-repeat; | |
} | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 330px; | |
top: 210px; | |
position: absolute; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: -10px; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu1 { | |
font-size: 16px; | |
} | |
#core_toolbar1 { | |
right: 0px; | |
left: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
left: 0px; | |
top: 0px; | |
height: 100%; | |
position: absolute; | |
width: 100%; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 420px; | |
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: 14px; | |
top: 26px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_header_panel1 { | |
width: 300px; | |
height: 400px; | |
} | |
#core_toolbar2 { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu2 { | |
font-size: 16px; | |
left: 12px; | |
top: 82px; | |
position: absolute; | |
} | |
#core_icon { | |
left: 672px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_icon1 { | |
left: 16px; | |
top: 10px; | |
position: absolute; | |
width: 32px; | |
height: 32px; | |
} | |
#core_input1 { | |
padding: 15px; | |
left: 44px; | |
top: 5px; | |
position: absolute; | |
width: 160px; | |
height: 20px; | |
} | |
#paper_fab { | |
overflow: visible; | |
left: 694px; | |
top: 960px; | |
position: absolute; | |
} | |
#core_menu_button1 { | |
left: 258px; | |
top: 10px; | |
position: absolute; | |
} | |
#core_item11 { | |
width: 240px; | |
height: 40px; | |
left: 0px; | |
top: 140px; | |
position: static; | |
} | |
#core_menu3 { | |
font-size: 16px; | |
left: 1230px; | |
top: 510px; | |
} | |
#core_icon_button1 { | |
left: 258px; | |
top: 10px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 12px; | |
top: 10px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
} | |
#div4 { | |
font-size: 16px; | |
padding-bottom: 8px; | |
position: static; | |
left: 50px; | |
top: 50px; | |
} | |
#core_icon3 { | |
left: 10px; | |
top: 260px; | |
position: absolute; | |
} | |
#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: 344px; | |
top: 66px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_field1 { | |
left: 1120px; | |
top: 560px; | |
} | |
#div1 { | |
left: 82px; | |
top: 20px; | |
position: absolute; | |
} | |
</style> | |
<core-menu selected="0" id="core_menu"> | |
</core-menu> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<core-input id="core_input1">Admin</core-input> | |
<core-icon src="http://www.fao.org/fileadmin/templates/red-icean/img/nouser.png" icon="search" id="core_icon1"></core-icon> | |
</core-toolbar> | |
<core-menu selected="Item2" valueattr="label" id="core_menu1" theme="core-light-theme"> | |
</core-menu> | |
<core-menu selected="0" selectedindex="0" id="core_menu2"> | |
<core-submenu opened active id="core_submenu" icon="settings" label="Pipelines"> | |
<core-item id="core_item" label="FloraHolland" horizontal center layout active></core-item> | |
<core-item id="core_item1" label="AirBus" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Participants"> | |
<core-item id="core_item2" label="Road Carrier" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Customs" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Freight Forwarder" horizontal center layout active>r</core-item> | |
</core-submenu> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Pipe Lines</div> | |
<core-toolbar id="core_toolbar1"> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div1" flex>Pipe Lines</div> | |
</core-toolbar> | |
<section id="section"> | |
<div class="card"> | |
<div id="div3" class="card-image image2"> | |
<div class="banner"></div> | |
<h2 id="h2">Airbus Supply Chain</h2> | |
</div> | |
<div class="content"> | |
<h2> | |
It will address a global supply chain for Airbus, an aerospace manufacturer which | |
imports parts for aircrafts from different parts of the world. In this demonstrator, we consider suppliers located in | |
the United States (US)</h2> | |
</div> | |
<div class="content"> | |
<div class="leftColumn"> | |
<h1> Actors </h1> | |
<core-item id="core_item11" icon="settings" src="https://cdn3.iconfinder.com/data/icons/black-easy/512/538474-user_512x512.png" label="DHL" horizontal center layout></core-item> | |
<core-item id="core_item11" icon="settings" src="https://cdn3.iconfinder.com/data/icons/black-easy/512/538474-user_512x512.png" label="P&G" horizontal center layout></core-item> | |
<core-item id="core_item11" icon="settings" src="https://cdn3.iconfinder.com/data/icons/black-easy/512/538474-user_512x512.png" label="ZLC" horizontal center layout></core-item> | |
</div> | |
<div class="rightColumn"> | |
<h1> Events </h1> | |
<core-item id="core_item12" src="https://cdn2.iconfinder.com/data/icons/flat-ui-icons-24-px/24/location-24-512.png" label="GPS" horizontal center layout></core-item> | |
<core-item id="core_item13" src="https://cdn1.iconfinder.com/data/icons/healthcare-and-medicine-simplicity/512/time_sheduled-512.png" label="ETA" horizontal center layout></core-item> | |
<core-item id="core_item14" src="http://cdn.flaticon.com/png/256/16789.png" label="Temperature" horizontal center layout></core-item> | |
</div> | |
</div> | |
</div> | |
<div class="card"> | |
<div id="div3" class="card-image image1"> | |
<div class="banner"></div> | |
<h2 id="h2">New supply chain</h2> | |
</div> | |
<div id="div4" class="content"> | |
<paper-input-decorator label="Enter description..." floatinglabel id="paper_input_decorator" layout vertical> | |
<paper-autogrow-textarea> | |
<textarea id="textarea" placeholder="Enter description..."></textarea> | |
</paper-autogrow-textarea> | |
</paper-input-decorator> | |
<div class="leftColumn"> | |
<h1> Actors </h1> | |
<br></br> | |
<div> | |
<paper-checkbox label="DHL" id="paper_checkbox"></paper-checkbox> | |
</div> | |
<div> | |
<paper-checkbox checked label="P&G" id="paper_checkbox1"></paper-checkbox> | |
</div> | |
<div> | |
<paper-checkbox checked label="ZLC" id="paper_checkbox2"></paper-checkbox> | |
</div> | |
</div> | |
<div class="rightColumn"> | |
<h1> Events </h1> | |
<br></br> | |
<br></br> | |
<div> | |
<paper-checkbox checked label="GPS" id="paper_checkbox"></paper-checkbox> | |
</div> | |
<div> | |
<paper-checkbox checked label="ETA" id="paper_checkbox1"></paper-checkbox> | |
</div> | |
<div> | |
<paper-checkbox label="Temperature" id="paper_checkbox2"></paper-checkbox> | |
</div> | |
</div> | |
</div> | |
</div> | |
<paper-fab icon="create" id="paper_fab" class="blue"></paper-fab> | |
</section> | |
</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