Skip to content

Instantly share code, notes, and snippets.

@thebeebs
Created November 7, 2014 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebeebs/85b9c6df7686e02f18e5 to your computer and use it in GitHub Desktop.
Save thebeebs/85b9c6df7686e02f18e5 to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../topeka-elements/category-images.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-icons/av-icons.html" rel="import">
<link href="../paper-fab/paper-fab.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
width: 100%;
height: 100%;
position: absolute;
box-sizing: border-box;
}
#core_header_panel {
left: 180px;
top: 50px;
width: 300px;
height: 400px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
background: linear-gradient(rgb(214, 227, 231), lightblue);
height: 1000px;
}
#section1 {
left: 560px;
top: 60px;
width: 420px;
height: 582px;
position: absolute;
box-sizing: border-box;
}
#section2 {
background-color: rgb(255, 255, 141);
}
#core_icon {
width: 256px;
height: 256px;
z-index: 100;
}
#div1 {
padding: 24px;
height: 80px;
color: rgb(255, 255, 255);
font-size: 32px;
position: relative;
box-sizing: border-box;
background-color: rgb(255, 235, 59);
}
#div3 {
right: 24px;
bottom: 50px;
color: rgb(255, 255, 255);
position: absolute;
}
#paper_fab {
overflow: visible;
background-color: rgb(255, 64, 129);
}
</style>
<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="section"></section>
</core-header-panel>
<section id="section1" layout vertical>
<section id="section2" class="top" layout center horizontal flex center-justified hero-id="top" hero>
<core-icon icon="category-images:knowledge" id="core_icon" designmeta="topeka-image" cross-fade-delayed></core-icon>
</section>
<div id="div1" class="bottom" hero-id="bottom" hero>
<span id="span">General Knowledge</span>
</div>
<div id="div2" class="dummy" hero></div>
<div id="div3" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment