Skip to content

Instantly share code, notes, and snippets.

@francocorreasosa
Last active August 29, 2015 14:09
Show Gist options
  • Save francocorreasosa/d768127bac09ca15ddc3 to your computer and use it in GitHub Desktop.
Save francocorreasosa/d768127bac09ca15ddc3 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-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-item/paper-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
width: 98%;
height: auto;
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: 0px;
top: 70px;
padding: 0px;
margin: 10px;
position: relative;
background-color: rgb(255, 255, 255);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 1050px;
top: 400px;
background-color: rgb(238, 238, 238);
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
width: 100%;
height: 60px;
background-color: rgb(79, 125, 201);
}
#div {
width: 290px;
height: 30px;
left: -2px;
top: 20px;
position: absolute;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1060px;
top: 430px;
}
#paper_fab {
overflow: visible;
left: 93%;
top: 85%;
position: absolute;
}
#idea-title {
padding: 10px;
margin: 0px;
width: auto;
}
</style>
<core-toolbar id="core_toolbar">
<div id="div" center center-justified>Ideas</div>
</core-toolbar>
<paper-fab icon="add" id="paper_fab"></paper-fab>
<core-card id="core_card" layout vertical>
<paper-item label="My Awesome idea" id="idea-title" center horizontal layout></paper-item>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment