Last active
August 29, 2015 14:09
-
-
Save vipulnsward/bba5121a25daee71182e 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="../chart-js/chart-js.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../topeka-elements/theme.html"> | |
<link rel="import" href="../topeka-elements/topeka-resources.html"> | |
<link rel="import" href="../topeka-elements/topeka-category.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#chart_js { | |
width: 480px; | |
height: 320px; | |
left: 120px; | |
top: 110px; | |
position: absolute; | |
} | |
#core_icon { | |
left: 830px; | |
top: 400px; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 750px; | |
top: 530px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 840px; | |
top: 470px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 930px; | |
top: 210px; | |
position: absolute; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 130px; | |
top: 110px; | |
position: absolute; | |
} | |
#section1 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
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); | |
} | |
#section2 { | |
box-sizing: border-box; | |
width: 420px; | |
height: 630px; | |
left: 630px; | |
top: 20px; | |
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_fab1 { | |
left: 200px; | |
top: 160px; | |
position: absolute; | |
} | |
#div4 { | |
left: 130px; | |
top: 210px; | |
position: absolute; | |
} | |
#section4 { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: -50px; | |
top: 70px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#topeka_category { | |
width: 300px; | |
height: 300px; | |
left: -585px; | |
top: -143px; | |
position: absolute; | |
} | |
</style> | |
<chart-js id="chart_js"></chart-js> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative> | |
<core-item id="core_item5" icon="content-cut" label="Cut" horizontal center layout></core-item> | |
<core-item id="core_item6" icon="content-copy" label="Copy" horizontal center layout></core-item> | |
<core-item id="core_item7" icon="content-paste" label="Paste" horizontal center layout></core-item> | |
</core-menu-button> | |
<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_icon1" cross-fade-delayed designmeta="topeka-image"></core-icon> | |
</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> | |
<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> | |
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab> | |
<div id="div4" layout horizontal> | |
<paper-fab icon="check" id="paper_fab2"></paper-fab> | |
</div> | |
<section id="section4" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section5" flex relative> | |
<topeka-category id="topeka_category" vertical layout></topeka-category> | |
</section> | |
</section> | |
</section> | |
</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