Created
June 29, 2014 15:41
-
-
Save c0d3rm0nk3y/d4913f829018c9214c35 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-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-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#paper_input { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_menu1 { | |
font-size: 16px; | |
} | |
#section { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_card { | |
width: 400px; | |
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; | |
margin: 20px; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_progress { | |
margin: 5px; | |
width: 90%; | |
} | |
#word { | |
margin: 55px; | |
} | |
#slower { | |
position: relative; | |
left: 5px; | |
} | |
#faster { | |
position: absolute; | |
top: 3px; | |
right: 3px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<paper-input label="Type something..." value="{{ $.speech_mic.transcript }}" id="paper_input"></paper-input> | |
<speech-mic completetranscript="testing testing testing" id="speech_mic"></speech-mic> | |
</core-toolbar> | |
<core-menu selected="Item2" valueattr="label" id="core_menu" theme="core-light-theme"> | |
</core-menu> | |
<core-menu selected="0" selectedindex="0" id="core_menu1"> | |
<core-submenu active selected="0" label="News" icon="settings" id="core_submenu2"> | |
<core-item label="Google News" icon="google" id="core_item4" horizontal center layout active></core-item> | |
</core-submenu> | |
<core-submenu label="Podcast" icon="settings" id="core_submenu3"> | |
<core-item label="Favorite 1" id="core_item6" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Monkey News</div> | |
<section id="section" layout vertical center> | |
<core-card id="core_card" layout vertical> | |
<h1 id="h1" layout vertical center>title</h1> | |
<paper-progress value="5" ratio="5" id="paper_progress" center>article content</paper-progress> | |
<h4 id="word" layout vertical center>WORD</h4> | |
<core-icon-button icon="arrow-drop-down" id="slower" on-tap></core-icon-button> | |
<core-icon-button icon="arrow-drop-up" id="faster" on-tap></core-icon-button> | |
</core-card> | |
</section> | |
</core-scaffold> | |
</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