Last active
August 29, 2015 14:17
-
-
Save rgegriff/27b78e19ce7fd453b2ab to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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="../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="../speech-mic/speech-mic.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 1440px; | |
top: 690px; | |
} | |
#core_pages { | |
width: 100%; | |
height: 100%; | |
border: 1px solid silver; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 0px; | |
top: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section2 { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_field { | |
left: 79px; | |
top: 75px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
} | |
</style> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section" active> | |
<core-card id="core_card" layout vertical> | |
<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="section2"> | |
<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 id="core_input" flex></core-input> | |
<input id="input" placeholder="type something..." is="core-input">{{ $.speech_mic.transcript }} | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-field> | |
</section> | |
</core-header-panel> | |
</core-card> | |
</section> | |
<section id="section1">Page Two</section> | |
</core-pages> | |
</template> | |
<script> | |
Polymer({ | |
showRoad: function () { | |
this.$.google_map.maptype = "roadmap"; | |
}, | |
showSat: function () { | |
this.$.google_map.maptype = "satelite"; | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment