Skip to content

Instantly share code, notes, and snippets.

@marcmmx
Last active August 29, 2015 14:13
Show Gist options
  • Save marcmmx/31edfcb63ffa10fd8b4b to your computer and use it in GitHub Desktop.
Save marcmmx/31edfcb63ffa10fd8b4b 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">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1230px;
top: 620px;
}
#core_header_panel {
width: 1040px;
height: 960px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section2 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_header_panel2 {
width: 300px;
height: 400px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar2 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section1 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#section3 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 0px;
top: 0px;
position: absolute;
}
#section4 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div3 {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div5 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#section5 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 0px;
top: 0px;
position: absolute;
}
#section6 {
background-color: rgb(255, 255, 141);
}
#core_icon1 {
height: 256px;
width: 256px;
z-index: 100;
}
#div6 {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div8 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab1 {
background-color: rgb(255, 64, 129);
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section2"></section>
</core-header-panel>
<core-header-panel mode="standard" id="core_header_panel1">
<core-toolbar id="core_toolbar1">
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button>
<div id="div1">Header</div>
</core-toolbar>
<section id="section"></section>
</core-header-panel>
<core-header-panel mode="standard" id="core_header_panel2">
<core-toolbar id="core_toolbar2">
<core-icon-button icon="menu" id="core_icon_button2"></core-icon-button>
<div id="div2">Header</div>
</core-toolbar>
<section id="section1"></section>
</core-header-panel>
<section id="section3" layout vertical>
<section id="section4" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div3" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div4" hero class="dummy"></div>
<div id="div5" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<section id="section5" layout vertical>
<section id="section6" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon1" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div6" class="bottom" hero hero-id="bottom">
<span id="span1">General Knowledge</span>
</div>
<div id="div7" hero class="dummy"></div>
<div id="div8" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab1" cross-fade-delayed></paper-fab>
</div>
</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