Skip to content

Instantly share code, notes, and snippets.

@thoward
Created February 24, 2015 22:27
Show Gist options
  • Save thoward/91b3c6e9c6d98839f57a to your computer and use it in GitHub Desktop.
Save thoward/91b3c6e9c6d98839f57a 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-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 1020px;
top: 450px;
}
#topeka_profile {
width: 300px;
height: 300px;
left: 1120px;
top: 430px;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 1080px;
top: 420px;
}
#core_icon {
height: 256px;
width: 256px;
left: 1120px;
top: 400px;
}
#topeka_datasource {
left: 1070px;
top: 410px;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 1100px;
top: 470px;
}
#core_drawer_panel {
position: absolute;
top: -10px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 344px;
top: 30px;
background-color: rgb(255, 255, 255);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1170px;
top: 510px;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 10px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#section2 {
left: 74px;
top: 90px;
position: absolute;
}
#section3 {
left: 0px;
top: 10px;
position: absolute;
}
</style>
<core-drawer-panel transition selected="drawer" id="core_drawer_panel" touch-action>
<section id="section" drawer></section>
<section id="section1" main>
<core-card id="core_card" layout vertical></core-card>
<section id="section2"></section>
</section>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<section id="section3"></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