Skip to content

Instantly share code, notes, and snippets.

@ericNeufeld
Created January 6, 2015 23:03
Show Gist options
  • Save ericNeufeld/3088bafcc89711aff7c2 to your computer and use it in GitHub Desktop.
Save ericNeufeld/3088bafcc89711aff7c2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background-color: rgb(240, 240, 240);
}
#core_toolbar {
right: 0px;
left: 50px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: #ffffff;
top: 90px;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
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: 240px;
top: 220px;
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
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: 620px;
top: 220px;
}
#core_card2 {
width: 320px;
height: 390px;
background-color: rgb(255, 255, 255);
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;
}
#paper_tab {
width: 120px;
height: 40px;
left: 240px;
top: 100px;
position: absolute;
}
#paper_tab1 {
width: 120px;
height: 40px;
left: 800px;
top: 590px;
position: absolute;
background-color: rgb(255, 0, 0);
}
</style>
<core-card id="core_card" layout vertical></core-card>
<core-card id="core_card1" layout vertical></core-card>
<core-card id="core_card2" layout vertical></core-card>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>TAB</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Sonje</paper-tab>
</template>
<script>
Polymer({
});
</script>
</polymer-element><core-toolbar id="core_toolbar" class="drag-element">
<core-icon-button icon="menu"></core-icon-button>
<div flex>Toolbar</div>
</core-toolbar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment