Skip to content

Instantly share code, notes, and snippets.

@stephankoelle
Created July 8, 2014 05:12
Show Gist options
  • Save stephankoelle/9c659bb8b879b7948551 to your computer and use it in GitHub Desktop.
Save stephankoelle/9c659bb8b879b7948551 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.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-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#speech_mic {
left: 770px;
top: 600px;
position: absolute;
}
#cool_clock {
width: 180px;
height: 180px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 160px;
top: 120px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_card {
width: 300px;
height: 300px;
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;
background-color: rgb(255, 255, 255);
}
#core_icon {
height: 24px;
width: 24px;
}
#core_animated_pages1 {
width: 420px;
height: 582px;
overflow: hidden;
left: 590px;
top: 120px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#core_header_panel {
width: 300px;
height: 400px;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section6 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
}
#paper_tab {
width: 120px;
height: 40px;
}
</style>
<speech-mic id="speech_mic"></speech-mic>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
<cool-clock skin="Stone" id="cool_clock"></cool-clock>
<core-card id="core_card" layout vertical>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input placeholder="text input" id="core_input" flex></core-input>
</core-field>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section7" active>Page One</section>
<section id="section8">Page Two</section>
</core-pages>
</core-card>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
<core-animated-pages selectedindex="0" notap id="core_animated_pages1">
<section id="section3" layout horizontal center center-justified active>
<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="section6">
<paper-tab id="paper_tab">TAB</paper-tab>
</section>
</core-header-panel>
</section>
<section id="section4">
</section>
<section id="section5">
</section>
</core-animated-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