Skip to content

Instantly share code, notes, and snippets.

@maxenglander
Last active August 29, 2015 14:14
Show Gist options
  • Save maxenglander/5cc7ff9e3686d13f28dd to your computer and use it in GitHub Desktop.
Save maxenglander/5cc7ff9e3686d13f28dd 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="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
left: 0px;
top: 0px;
padding: 0px;
margin: 0px;
opacity: 1;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: relative;
background-color: rgb(79, 125, 201);
}
#div1 {
left: 520px;
top: 90px;
position: absolute;
}
#paper_slider {
left: 1030px;
top: 440px;
}
#div2 {
left: 1110px;
top: 520px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1160px;
top: 530px;
}
#core_icon_button {
left: 0px;
top: 0px;
position: relative;
}
#core_icon {
left: 1060px;
top: 380px;
}
#core_icon_button1 {
left: 0px;
top: 0px;
position: relative;
}
#core_card {
position: relative;
width: 100%;
height: 40%;
border-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: 0px;
padding: 0px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel {
position: absolute;
top: 480px;
right: 0px;
bottom: 0px;
left: 1130px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1060px;
top: 420px;
}
#core_card1 {
width: 100%;
height: 40%;
border-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: 0px;
position: relative;
padding: 0px;
background-color: rgb(255, 255, 255);
}
</style>
<div id="div1" layout horizontal>
</div>
<core-toolbar id="core_toolbar">
<div id="div" flex>dallytally</div>
<core-icon-button icon="assessment" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
<core-icon-button icon="settings" id="core_icon_button" theme="core-light-theme"></core-icon-button>
</core-toolbar>
<core-card id="core_card" layout vertical center center-justified>
<h2 id="h2">Ready to get back to work?</h2>
<paper-button raised recenteringtouch id="paper_button">Get back to work</paper-button>
</core-card>
<core-card id="core_card1" layout vertical center center-justified>
<h2>Need more time to dally?</h2>
<paper-button raised recenteringtouch id="paper_button1">BUY MORE DALLY TIME</paper-button>
</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