Skip to content

Instantly share code, notes, and snippets.

@ArtemSyzonenko
Created March 31, 2015 11:09
Show Gist options
  • Save ArtemSyzonenko/ca8c3af8dfc48bb943c8 to your computer and use it in GitHub Desktop.
Save ArtemSyzonenko/ca8c3af8dfc48bb943c8 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.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">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
left: 980px;
top: 590px;
position: absolute;
}
#section1 {
left: 1500px;
top: 760px;
position: absolute;
}
#section2 {
left: 1430px;
top: 760px;
position: absolute;
}
#section3 {
left: 560px;
top: 270px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1030px;
top: 60px;
position: absolute;
}
#input {
padding: 15px;
left: 100px;
top: 130px;
position: absolute;
}
#section4 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 480px;
top: 50px;
position: absolute;
}
#section5 {
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);
}
#core_menu_button {
left: 650px;
top: 750px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section6 {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<section id="section"></section>
<section id="section1"></section>
<section id="section2"></section>
<section id="section3"></section>
<input id="input" placeholder="type something..." is="core-input">
<section id="section4" layout vertical>
<section id="section5" 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>
</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>
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative>
<core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout></core-item>
<core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item>
<core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item>
</core-menu-button>
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
<div id="div3" flex></div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<div id="div4" class="bottom indent">Title</div>
</core-toolbar>
<section id="section6" content></section>
</core-scroll-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment