Skip to content

Instantly share code, notes, and snippets.

@thgh
Last active August 29, 2015 14:03
Show Gist options
  • Save thgh/d6e6b404e3c3606d03aa to your computer and use it in GitHub Desktop.
Save thgh/d6e6b404e3c3606d03aa 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#phone {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 60px;
top: 80px;
position: absolute;
background-color: rgb(229, 220, 222);
}
#core_header_panel {
height: 134px;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 0, 128);
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(255, 0, 128);
}
#paper_tab2 {
opacity: 1;
}
#core_card {
height: 100px;
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;
margin: 8px;
padding: 16px;
background-color: rgb(255, 255, 255);
}
h1 {
font-size: 20px;
}
</style>
<section id="phone" vertical layout>
<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">GEOMARKETING</div>
</core-toolbar>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ACTIONS</paper-tab>
<paper-tab id="paper_tab1">HISTORY</paper-tab>
<paper-tab id="paper_tab2">ACCOUNT</paper-tab>
</paper-tabs>
</core-header-panel>
<section id="cardlist">
<core-card id="core_card" layout vertical>
<h1 id="h1">50% Korting</h1>
<p id="p">Bij aankoop van een nieuwe knuffelbeer</p>
</core-card>
</section>
</section>
</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