Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../code-mirror/code-mirror.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="../speech-mic/speech-mic.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-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">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #code_mirror {
- width: 400px;
- height: 300px;
- left: 560px;
- top: 160px;
- position: absolute;
- }
- #cool_clock {
- width: 400px;
- height: 300px;
- left: 990px;
- top: 350px;
- position: absolute;
- }
- #google_map {
- width: 400px;
- height: 400px;
- display: block;
- left: 990px;
- top: 140px;
- position: absolute;
- }
- #yt_search_video {
- width: 300px;
- height: 300px;
- left: 990px;
- top: 540px;
- position: absolute;
- }
- #speech_mic {
- left: 750px;
- top: 520px;
- position: absolute;
- }
- #core_field {
- left: 230px;
- top: 16px;
- position: absolute;
- }
- #core_icon {
- left: 240px;
- top: 26px;
- position: absolute;
- }
- #core_header_panel {
- width: 300px;
- height: 400px;
- left: 150px;
- top: 360px;
- position: absolute;
- }
- #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));
- }
- #input {
- padding: 15px;
- left: 10px;
- top: 16px;
- position: absolute;
- }
- </style>
- <code-mirror value="<polymer-element name='my-element'>
- <template></template>
- <script>
- Polymer('my-element', {});
- </script>
- </polymer-element>" id="code_mirror"><polymer-element name='my-element'>
- <template></template>
- <script>
- Polymer('my-element', {});
- </script>
- </polymer-element></code-mirror>
- <cool-clock id="cool_clock"></cool-clock>
- <google-map latitude="37.341647980360804" longitude="-121.91130232421875" id="google_map"></google-map>
- <yt-search-video id="yt_search_video"></yt-search-video>
- <speech-mic id="speech_mic"></speech-mic>
- <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-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
- <core-input id="core_input" flex></core-input>
- </core-field>
- <core-icon icon="search" id="core_icon"></core-icon>
- <input id="input" placeholder="type something..." is="core-input">
- </section>
- </core-header-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement