Last active
August 29, 2015 14:09
-
-
Save jgato/c93d38d2c47ed60d4d79 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
<polymer-element name="my-element"> | |
<template> | |
<script src="../webcomponentsjs/webcomponents.js"></script> | |
<link rel="import" href="core-header-panel.html"></link> | |
<style shim-shadowdom> | |
body { | |
font-family: sans-serif; | |
} | |
core-header-panel { | |
float: left; | |
width: 360px; | |
height: 400px; | |
margin: 5px; | |
} | |
core-header-panel[mode="cover"]::shadow #mainContainer { | |
left: 70px; | |
} | |
.core-header { | |
height: 60px; | |
line-height: 60px; | |
font-size: 18px; | |
padding: 0px 10px; | |
color: rgb(255, 255, 255); | |
-webkit-transition: height 0.2s; | |
transition: height 0.2s; | |
background-color: rgb(79, 125, 201); | |
} | |
.core-header.tall { | |
height: 180px; | |
} | |
.core-header.medium-tall { | |
height: 120px; | |
} | |
.content { | |
height: 2000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_header_panel { | |
width: 370px; | |
height: 430px; | |
left: 480px; | |
top: 100px; | |
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)); | |
} | |
</style> | |
<core-header-panel mode="waterfall-tall" id="core_header_panel"> | |
<core-toolbar id="core_toolbar" class="animate"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div1">Header</div> | |
</core-toolbar> | |
<section id="section"></section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
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="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
: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_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: 354px; | |
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_toolbar3 { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(246, 75, 75); | |
} | |
#core_icon { | |
left: 672px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_icon1 { | |
left: 16px; | |
top: 10px; | |
position: absolute; | |
width: 32px; | |
height: 32px; | |
} | |
#core_input { | |
padding: 15px; | |
} | |
#core_input1 { | |
padding: 15px; | |
left: 44px; | |
top: 5px; | |
position: absolute; | |
width: 160px; | |
height: 20px; | |
} | |
#paper_fab { | |
overflow: visible; | |
left: 664px; | |
top: 506px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 258px; | |
top: 10px; | |
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_button2 { | |
left: 258px; | |
top: 10px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 722px; | |
top: 10px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
} | |
#div4 { | |
font-size: 16px; | |
padding-bottom: 8px; | |
position: static; | |
left: 50px; | |
top: 50px; | |
} | |
#core_icon2 { | |
left: 10px; | |
top: 240px; | |
position: absolute; | |
} | |
#core_icon3 { | |
left: 10px; | |
top: 260px; | |
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"> | |
<div id="div1" flex>Pipe Lines</div> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
</core-toolbar> | |
<section id="section"> | |
<core-card id="core_card" layout vertical> | |
<core-header-panel mode="standard" id="core_header_panel1"> | |
<core-toolbar id="core_toolbar2"> | |
<div id="div2">AirBus</div> | |
<core-menu-button id="core_menu_button1" icon="more-vert" selected="0" selectedindex="0" relative> | |
</core-menu-button> | |
<core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button> | |
</core-toolbar> | |
<paper-input-decorator label="Description" floatinglabel disabled id="paper_input_decorator" layout vertical> | |
<textarea id="textarea" placeholder>Address a global supply chain for Airbus. Suppliers located in the United States...</textarea> | |
</paper-input-decorator> | |
<core-label id="core-label-0" horizontal layout="Actors"> Actors </core-label> | |
<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> | |
<core-label id="core-label-0" horizontal layout="Actors"> Events </core-label> | |
<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> | |
</core-header-panel> | |
</core-card> | |
<paper-fab icon="create" id="paper_fab" class="blue"></paper-fab> | |
<core-card id="core_card1" layout vertical> | |
<core-toolbar id="core_toolbar3" class="green"> | |
<div id="div3" flex>New pipe line</div> | |
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" selectedindex="0" relative> | |
</core-menu-button> | |
<core-icon-button icon="menu" id="core_icon_button2" theme="core-light-theme"></core-icon-button> | |
</core-toolbar> | |
<paper-input label="Enter description..." floatinglabel id="paper_input"></paper-input> | |
<div id="div5">Actors</div> | |
<paper-item label="Add actor" icon="add" id="paper_item" center horizontal layout></paper-item> | |
<div id="div5">Events</div> | |
<br></br> | |
<paper-checkbox label="GPS" id="paper_checkbox"></paper-checkbox> | |
<paper-checkbox label="ETA" id="paper_checkbox1"></paper-checkbox> | |
<paper-checkbox label="Temperature" id="paper_checkbox2"></paper-checkbox> | |
</core-card> | |
</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