Skip to content

Instantly share code, notes, and snippets.

@catalsdevelop
Last active August 29, 2015 14:12
Show Gist options
  • Save catalsdevelop/b32882ba6018a108e12d to your computer and use it in GitHub Desktop.
Save catalsdevelop/b32882ba6018a108e12d 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="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../topeka-elements/avatars.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;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 220px;
top: 30px;
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;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
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_radio_group {
width: 100px;
}
#core_selector {
left: 100px;
top: 280px;
position: absolute;
}
#core_icon1 {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
#core_icon2 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-radius: 50%;
overflow: hidden;
}
#core_icon3 {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
</style>
<section id="section" layout vertical>
<section id="section1" class="top" flex center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
<paper-radio-group selected="Large" valueattr="label" selectedindex="2" id="paper_radio_group">
<paper-radio-button label="Small" id="paper_radio_button"></paper-radio-button>
<paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button checked label="Large" id="paper_radio_button2"></paper-radio-button>
</paper-radio-group>
<core-selector selected="1" selectedindex="1" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon2" designmeta="topeka-avatar" active></core-icon>
<core-icon icon="avatars:avatar-3" id="core_icon3" designmeta="topeka-avatar"></core-icon>
</core-selector>
</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">
<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