Skip to content

Instantly share code, notes, and snippets.

@prakash122
Created February 18, 2015 03:32
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 prakash122/10ba4ba08a5e697e6f73 to your computer and use it in GitHub Desktop.
Save prakash122/10ba4ba08a5e697e6f73 to your computer and use it in GitHub Desktop.
designer
<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">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 1060px;
top: 470px;
position: absolute;
}
#section1 {
left: 700px;
top: 150px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: absolute;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
left: 690px;
top: 80px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 230px;
top: 160px;
position: absolute;
}
#div3 {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section3 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
#paper_button {
left: 920px;
top: 510px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 690px;
top: 220px;
position: absolute;
}
#paper_fab1 {
left: 490px;
top: 70px;
position: absolute;
}
</style>
<section id="section" layout vertical>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<section id="section2" layout vertical>
<div id="div3" hero>
<span id="span1">Question</span>
</div>
<section id="section3" hero flex>
<span id="span2">Answer here</span>
</section>
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<section id="section1" class="top" flex layout horizontal center-justified hero hero-id="top" center>
</section>
<paper-button id="paper_button">button</paper-button>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<paper-calculator responsivewidth="2000px" expression="89" id="paper_calculator"></paper-calculator>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment