Last active
September 24, 2015 08:15
-
-
Save rcanu/4ec9aa32302b165592e3 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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-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="../google-map/google-map.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../google-map/google-map-directions.html"> | |
<polymer-element name="trip-card"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
padding: 8px; | |
background-color: orange; | |
} | |
core-card { | |
position: relative; | |
border-radius: 2px; | |
margin-bottom: 8px; | |
box-sizing: border-box; | |
padding: 16px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card_active { | |
padding: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
h1, h2, h3, p { | |
margin: 0px; | |
padding: 0px; | |
} | |
#div1 { | |
border-left-width: 1px; | |
border-left-style: solid; | |
border-left-color: rgb(200, 200, 200); | |
padding-left: 8px; | |
} | |
#paper_progress { | |
width: 100%; | |
} | |
#seats_left { | |
text-align: right; | |
} | |
#paper_button { | |
height: 50px; | |
background-color: rgb(15, 157, 88); | |
} | |
#google_map { | |
width: 100%; | |
height: 150px; | |
display: block; | |
} | |
#trip_details { | |
padding: 16px; | |
background-color: rgb(255, 255, 255); | |
} | |
paper-button { | |
margin: 8px; | |
color: white; | |
font-size: 16px; | |
} | |
core-icon#icon_from { | |
color: rgb(15, 157, 88); | |
} | |
core-icon#icon_to { | |
color: red; | |
} | |
#core_card { | |
background-color: rgb(208, 237, 255); | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(255, 38, 0); | |
} | |
#section { | |
height: 1000px; | |
padding: 8px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
</style> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div2">HappyRide</div> | |
</core-toolbar> | |
<section id="section"> | |
<core-card id="core_card_active" vertical layout> | |
<google-map latitude="14.589585341085275" longitude="121.02090165039068" disabledefaultui fittomarkers id="google_map"></google-map> | |
<div id="trip_details" horizontal layout> | |
<div id="div" flex two> | |
<p>From</p> | |
<core-icon icon="room" id="icon_from"></core-icon> | |
<h3 id="p1">Antipolo</h3> | |
<h1 id="h11">08:30AM</h1> | |
<h2>Aug 25</h2> | |
</div> | |
<div id="div1" flex two> | |
<p id="p2">To</p> | |
<core-icon icon="room" id="icon_to"></core-icon> | |
<h3 id="p">Makati</h3> | |
<h1 id="h1">9:30AM</h1> | |
<h2>Aug 25</h2> | |
</div> | |
<div flex one> | |
<p>5 left</p> | |
<h1>P50</h1> | |
</div> | |
</div> | |
<paper-button recenteringtouch id="paper_button" center center-justified horizontal layout>Reserve</paper-button> | |
<google-map-directions map="{{ $.google_map.map }}" startaddress="Antipolo" endaddress="Makati" id="google_map_directions"></google-map-directions> | |
</core-card> | |
<core-card id="core_card" class="padded" vertical layout> | |
<div horizontal layout> | |
<div id="div" flex two> | |
<h3 id="p1">Antipolo</h3> | |
<h1 id="h11">08:30AM</h1> | |
</div> | |
<div id="div1" flex two> | |
<h3 id="p">Makati</h3> | |
<h1 id="h1">9:30AM</h1> | |
</div> | |
<div flex one> | |
<p id="p4">5 left</p> | |
<h1>P50</h1> | |
</div> | |
</div> | |
</core-card> | |
<core-card id="core_card" class="padded" vertical layout> | |
<div horizontal layout> | |
<div id="div" flex two> | |
<h3 id="p1">Antipolo</h3> | |
<h1 id="h11">08:30AM</h1> | |
</div> | |
<div id="div1" flex two> | |
<h3 id="p">Makati</h3> | |
<h1 id="h1">9:30AM</h1> | |
</div> | |
<div flex one> | |
<p>5 left</p> | |
<h1>P50</h1> | |
</div> | |
</div> | |
</core-card> | |
<core-card id="core_card" class="padded" vertical layout> | |
<div horizontal layout> | |
<div id="div" flex two> | |
<h3 id="p1">Antipolo</h3> | |
<h1 id="h11">08:30AM</h1> | |
</div> | |
<div id="div1" flex two> | |
<h3 id="p">Makati</h3> | |
<h1 id="h1">9:30AM</h1> | |
</div> | |
<div flex one> | |
<p>5 left</p> | |
<h1>P50</h1> | |
</div> | |
</div> | |
</core-card> | |
</section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment