Skip to content

Instantly share code, notes, and snippets.

@HilmarDemant
Created June 18, 2014 14:35
Show Gist options
  • Save HilmarDemant/17bd44c9e821672e6a2d to your computer and use it in GitHub Desktop.
Save HilmarDemant/17bd44c9e821672e6a2d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../core-pages/core-pages.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-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-layout/core-layout.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 130px;
top: 60px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 630px;
top: 60px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 100px;
top: 270px;
position: absolute;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 430px;
top: 40px;
position: absolute;
}
#section2 {
width: 200px;
height: 300px;
}
#section3 {
width: 200px;
height: 300px;
}
#section4 {
width: 200px;
height: 300px;
}
#core_toolbar {
right: 0px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
}
#core_scaffold {
right: 0px;
bottom: 0px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_toolbar1 {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#core_menu {
font-size: 16px;
}
#core_drawer_panel {
right: 0px;
bottom: 0px;
}
#section5 {
background-color: rgb(250, 250, 250);
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
}
#section6 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_card {
display: block;
width: 300px;
height: 300px;
padding: 4px;
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
}
#core_card1 {
display: block;
width: 300px;
height: 300px;
padding: 4px;
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
}
#core_card2 {
display: block;
width: 300px;
height: 300px;
padding: 4px;
background-color: rgb(255, 255, 255);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
}
#core_layout {
width: 400px;
height: 400px;
}
#three_js_camera {
left: 600px;
top: 280px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 400px;
top: 60px;
position: absolute;
}
</style>
<chart-js kind="Radar" datastring="28,48,40,19,96,27,100,890,900,1000" id="chart_js"></chart-js>
<cool-clock skin="Sand" id="cool_clock"></cool-clock>
<google-map id="google_map"></google-map>
<three-js-camera id="three_js_camera"></three-js-camera>
<yt-search-video id="yt_search_video" class="hgbnchjf">hhkkjh</yt-search-video>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<section id="section2">
<section id="section3">
<core-toolbar id="core_toolbar">
<core-icon-button active="{{ $.google_map }}" icon="menu" id="core_icon_button" class="selected">fgdfg</core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
</section>
</section>
<section id="section4"></section>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar1"></core-toolbar>
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item label="Item1" icon="settings" id="core_item" horizontal center layout active></core-item>
<core-item label="Item2" icon="settings" id="core_item1" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div1" tool>Title</div>
<core-drawer-panel id="core_drawer_panel">
<section id="section5" drawer>
<three-js-camera id="three_js_camera1"></three-js-camera>
</section>
<section id="section6" main horizontal layout>
<core-card id="core_card"></core-card>
<core-card id="core_card1"></core-card>
<core-card id="core_card2"></core-card>
<core-layout iscontainer id="core_layout" class="core-h"></core-layout>
</section>
</core-drawer-panel>
</core-scaffold>
</section>
<section id="section1">Page Two</section>
</core-pages>
</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