Skip to content

Instantly share code, notes, and snippets.

@rmclain
Last active August 29, 2015 14:14
Show Gist options
  • Save rmclain/9decc7ff3c449e35f4a5 to your computer and use it in GitHub Desktop.
Save rmclain/9decc7ff3c449e35f4a5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.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;
top: 0px;
left: 0px;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 280px;
top: 40px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: relative;
height: 80px;
background-color: rgb(255, 51, 51);
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
left: 630px;
top: 520px;
}
</style>
<section id="section" layout vertical>
<section id="section1" 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>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon1"></core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
</section>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
</div>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element><paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed class="drag-element"></paper-fab>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment