Last active
August 29, 2015 14:08
-
-
Save robrotheram/92578b9519886cdb2f02 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#topeka_datasource { | |
left: 640px; | |
top: 300px; | |
position: absolute; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 270px; | |
right: 0px; | |
bottom: 0px; | |
left: -260px; | |
} | |
#section { | |
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); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
left: 190px; | |
top: -90px; | |
position: absolute; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_drawer_panel1 { | |
position: absolute; | |
top: -270px; | |
right: 0px; | |
bottom: 0px; | |
left: 260px; | |
} | |
#section2 { | |
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); | |
} | |
#section3 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_drawer_panel2 { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#section4 { | |
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); | |
} | |
#section5 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#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: 214px; | |
top: 20px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource> | |
<core-drawer-panel transition id="core_drawer_panel" touch-action> | |
<section id="section" drawer></section> | |
<core-drawer-panel transition id="core_drawer_panel1" touch-action> | |
<section id="section2" drawer></section> | |
<section id="section3" main></section> | |
</core-drawer-panel> | |
</core-drawer-panel> | |
<section id="section1" main></section> | |
<core-drawer-panel transition id="core_drawer_panel2" touch-action> | |
<section id="section4" drawer></section> | |
<section id="section5" main> | |
<core-card id="core_card" 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