Skip to content

Instantly share code, notes, and snippets.

@jonaspm
Last active November 11, 2015 00:43
Show Gist options
  • Save jonaspm/e12c082540baf6b34aaf to your computer and use it in GitHub Desktop.
Save jonaspm/e12c082540baf6b34aaf to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 310px;
top: 40px;
position: absolute;
}
#toolbar {
box-sizing: border-box;
height: 15%;
position: relative;
color: rgb(255, 255, 255);
font-size: 48px;
background-color: rgb(0, 187, 211);
}
#tiles-container {
padding-left: 3px;
height: 85%;
}
#tile-profile {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(204, 204, 204);
}
#core_icon {
height: 128px;
width: 128px;
}
#div {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(170, 170, 170);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section2 {
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#core_icon1 {
height: 128px;
width: 128px;
}
#div1 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(255, 235, 59);
}
#div2 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(185, 246, 202);
}
#core_icon2 {
height: 128px;
width: 128px;
}
#div3 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(15, 157, 88);
}
#div4 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(255, 138, 128);
}
#core_icon3 {
height: 128px;
width: 128px;
}
#div5 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(219, 68, 55);
}
#div6 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(130, 177, 255);
}
#core_icon4 {
height: 128px;
width: 128px;
}
#div7 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#div8 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(179, 136, 255);
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div9 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
#core_drawer_panel {
position: absolute;
top: -20px;
right: 0px;
bottom: 0px;
left: -10px;
width: 100%;
height: 100%;
}
#section7 {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section8 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#section1 {
height: 100%;
box-sizing: border-box;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
background-color: rgb(221, 221, 221);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 0px;
top: 0px;
position: absolute;
}
</style>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment