Skip to content

Instantly share code, notes, and snippets.

@phynet
Last active August 29, 2015 14:05
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 phynet/0d8fb5396a5f60266ef9 to your computer and use it in GitHub Desktop.
Save phynet/0d8fb5396a5f60266ef9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.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-header-panel/core-header-panel.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../yt-video/yt-search-video.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;
}
#core_menu {
font-size: 16px;
left: 350px;
top: 100px;
position: absolute;
}
#section1 {
left: 220px;
top: 170px;
position: absolute;
}
#section2 {
left: 20px;
top: 20px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_input {
padding: 15px;
}
#core_item {
left: 990px;
top: 440px;
}
#core_input1 {
padding: 15px;
}
#section3 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 360px;
top: 20px;
position: absolute;
}
#section4 {
background-color: rgb(255, 255, 141);
}
#div1 {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div3 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#yt_search_video {
width: 300px;
height: 300px;
}
</style>
<core-menu selected="0" id="core_menu">
</core-menu>
<section id="section1">
</section>
<section id="section2">
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section">
<core-input willvalidate placeholder="Type something..." id="core_input"></core-input>
<core-input willvalidate placeholder="{{ $.section2.Type }}" autofocus id="core_input1"></core-input>
</section>
</core-header-panel>
</section>
<section id="section3" layout vertical>
<section id="section4" class="top" flex layout horizontal center center-justified hero hero-id="top">
<yt-search-video id="yt_search_video"></yt-search-video>
</section>
<div id="div1" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div2" hero class="dummy"></div>
<div id="div3" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment