Skip to content

Instantly share code, notes, and snippets.

@MarsWilliams
Created November 15, 2014 23:07
Show Gist options
  • Save MarsWilliams/17d41370b30dc95f795c to your computer and use it in GitHub Desktop.
Save MarsWilliams/17d41370b30dc95f795c 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-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(255, 70, 56);
}
#core_drawer_panel {
position: absolute;
top: 190px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(115, 252, 214);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(255, 255, 255);
}
#core_card {
position: absolute;
width: 300px;
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;
left: 84px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
position: absolute;
width: 300px;
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;
left: 454px;
top: 70px;
background-color: rgb(255, 255, 255);
}
#paper_button {
left: 1160px;
top: 380px;
}
#paper_fab {
left: 220px;
top: 30px;
position: absolute;
background-color: rgb(255, 251, 0);
}
</style>
<core-toolbar id="core_toolbar" class="tall" animate>
<paper-shadow z="5" animated id="paper_shadow"></paper-shadow>
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="account-circle" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<div id="div1" class="bottom indent">canary</div>
</core-toolbar>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="section" drawer>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
</section>
<section id="section1" main>
<core-card id="core_card" layout vertical></core-card>
<core-card id="core_card1" layout vertical>
</core-card>
</section>
</core-drawer-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