Skip to content

Instantly share code, notes, and snippets.

@raghava
Created June 27, 2014 23:48
Show Gist options
  • Save raghava/d07cb673b6909da86d56 to your computer and use it in GitHub Desktop.
Save raghava/d07cb673b6909da86d56 to your computer and use it in GitHub Desktop.
designer
<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="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#ace_element {
width: 400px;
height: 300px;
left: 1070px;
top: 1040px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1110px;
top: 1040px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 1080px;
top: 1070px;
}
#core_header_panel {
position: absolute;
width: 100%;
height: 100%;
left: 10px;
top: 0px;
}
#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));
}
#yt_search_video {
width: 850px;
height: 430px;
}
</style>
<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">YouTube Search</div>
</core-toolbar>
<section id="section">
<yt-search-video imfeelinglucky="{{ $.core_toolbar.pocoyo }}" muted id="yt_search_video"></yt-search-video>
</section>
</core-header-panel>
</template>
<script>
Polymer('my-element', {
pocoyo: 'pocoyo'
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment