Skip to content

Instantly share code, notes, and snippets.

@al222cv
Last active August 29, 2015 14: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 al222cv/761ab1a0056f7fed5d7d to your computer and use it in GitHub Desktop.
Save al222cv/761ab1a0056f7fed5d7d 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="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(0, 188, 212);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#section1 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section2 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#paper_icon_button {
left: 1518px;
top: 10px;
position: absolute;
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 1710px;
top: 640px;
}
#core_toolbar1 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background: linear-gradient(rgba(0, 188, 212, 0.6), rgba(0, 188, 212, 0.6)), url(http://www.brittany-ferries.co.uk/media/12510/armorique-cruise-ferry/galleryticker_full/armorique-cruise-ferry_base1.jpg);
}
#core_card {
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;
background-color: rgb(255, 255, 255);
}
#section3 {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#section4 {
max-width: 800px;
width: 100%;
margin: auto;
padding: 40px;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
max-width: 840px;
margin: auto;
background-color: rgb(0, 188, 212);
}
#core_card1 {
width: 100%;
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;
padding: 0px 16px;
background-color: rgb(255, 255, 255);
}
.text-display-4 {
font-size: 112px;
font-weight: 300;
line-height: 128px;
letter-spacing: -5px;
}
.text-display-3 {
font-size: 56px;
font-weight: 400;
line-height: 64px;
}
.text-display-2 {
font-size: 45px;
font-weight: 400;
line-height: 64px;
}
.text-display-1 {
font-size: 34px;
font-weight: 400;
line-height: 52px;
}
.text-headline {
font-size: 24px;
font-weight: 400;
line-height: 44px;
}
.text-title {
font-size: 20px;
font-weight: 600;
line-height: 44px;
}
.text-subhead {
font-size: 16px;
font-weight: 400;
line-height: 32px;
}
.text-body {
font-size: 14px;
font-weight: 400;
line-height: 25px;
}
#section5 {
background-color: rgb(0, 188, 212);
}
</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="div">Ferry Systems</div>
<paper-icon-button icon="shopping-cart" id="paper_icon_button"></paper-icon-button>
</core-toolbar>
<section id="section">
<core-drawer-panel transition selected="main" rightdrawer id="core_drawer_panel" touch-action>
<section id="section1" drawer>
<core-toolbar id="core_toolbar1" class="tall">
<div id="div1" class="bottom" flex>Booking summary</div>
</core-toolbar>
</section>
<section id="section2" main>
<core-card id="core_card" layout vertical></core-card>
<section id="section3" layout vertical>
<section id="section5">
<paper-shadow z="1"></paper-shadow>
<paper-tabs selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">ROUTES</paper-tab>
<paper-tab id="paper_tab1" active>DEPARTURES</paper-tab>
<paper-tab id="paper_tab1" active>ONBOARD</paper-tab>
<paper-tab id="paper_tab1" active>CHECKOUT</paper-tab>
<paper-tab id="paper_tab1" active>PAY</paper-tab>
</paper-tabs>
</section>
<section id="section4" flex relative>
<core-card id="core_card1" layout vertical>
<h3 class="text-subhead">Routes and dates</h3>
<div layout horizontal>
<paper-input inputvalueformirror="Göteborg - Fredrikshamn&nbsp;" inputhasvalue="Göteborg - Fredrikshamn" label="Route" floatinglabel willvalidate inputvalue="Göteborg - Fredrikshamn" value="Göteborg - Fredrikshamn" id="paper_input" layout vertical flex></paper-input>
<paper-input inputvalueformirror="2014-11-07&nbsp;" inputhasvalue="2014-11-07" label="Date" floatinglabel willvalidate inputvalue="2014-11-07" value="2014-11-07" id="paper_input1" layout vertical></paper-input>
</div>
</core-card>
</section>
</section>
</section>
</core-drawer-panel>
</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