Last active
August 29, 2015 14:06
-
-
Save pengyuwei/2bb9d82f4853c39feb35 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
box-sizing: border-box; | |
height: 582px; | |
left: 0px; | |
top: 80px; | |
position: absolute; | |
} | |
#section1 { | |
left: 0px; | |
top: 80px; | |
position: absolute; | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon { | |
height: 256px; | |
width: 256px; | |
z-index: 100; | |
left: 40px; | |
top: 100px; | |
position: absolute; | |
} | |
#div { | |
box-sizing: border-box; | |
position: absolute; | |
height: 80px; | |
padding: 24px; | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
left: 0px; | |
top: 0px; | |
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); | |
} | |
#paper_button { | |
left: 290px; | |
top: 710px; | |
position: absolute; | |
} | |
#paper_calculator { | |
width: 400px; | |
height: 560px; | |
left: 1660px; | |
top: 580px; | |
} | |
#paper_checkbox { | |
left: 560px; | |
top: 680px; | |
position: absolute; | |
width: 0px; | |
height: 10px; | |
} | |
</style> | |
<div id="div" class="bottom" hero hero-id="bottom"> | |
<span id="span">General Knowledge</span> | |
</div> | |
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top"> | |
</section> | |
<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> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox> | |
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment