Skip to content

Instantly share code, notes, and snippets.

@sebastianhomeier
Last active August 29, 2015 14:20
Show Gist options
  • Save sebastianhomeier/2c096f149f5599678573 to your computer and use it in GitHub Desktop.
Save sebastianhomeier/2c096f149f5599678573 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">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: 0px;
position: absolute;
height: 50px;
width: 100%;
opacity: 1;
background-color: rgb(255, 87, 34);
}
#paper_tabs paper-ripple {
color: white;
}
#core_header_panel {
width: 1580px;
height: 840px;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
height: 150px;
background-color: rgb(54, 58, 60);
}
#section3 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(255, 255, 255);
}
#div {
left: 718px;
top: 30px;
margin: 0px auto;
}
#core_card {
width: 600px;
height: 600px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
top: 100px;
margin: 0px auto;
position: relative;
padding: 20px 30px;
background-color: rgb(255, 255, 255);
}
#core_icon {
width: 24px;
height: 24px;
margin: 10px;
color: rgb(255, 87, 34);
background-color: rgb(255, 255, 255);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<h1>Zinsrechner</h1>
</core-toolbar>
<section id="section3">
<paper-tabs selected="2" selectedindex="2" id="paper_tabs" center vertical layout horizontal>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>Aktueller Kredit</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Anschlusskredit</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout active>Sondertilgungen</paper-tab>
</paper-tabs>
<core-card id="core_card" layout vertical>
<h2 id="h2" wrap start-justified center horizontal layout>Aktueller Kredit</h2>
<core-icon icon="assignment" id="core_icon"></core-icon>
</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