Created
June 30, 2014 15:15
-
-
Save c0d3rm0nk3y/1c3a5492c5bbee45af73 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../core-input/core-input.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<polymer-element name="monkey-app"> | |
<template> | |
<style> | |
#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; | |
} | |
#core_menu1 { | |
font-size: 16px; | |
} | |
#core_card { | |
width: 280px; | |
height: 240px; | |
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: 15px; | |
background-color: rgb(255, 255, 255); | |
} | |
#card_container { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_card1 { | |
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; | |
margin: 15px; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_progress { | |
margin: 15px 0px; | |
} | |
#word { | |
margin-top: 35px; | |
margin-bottom: 35px; | |
} | |
#core_input { | |
padding: 15px; | |
background-color: rgb(255, 255, 255); | |
} | |
#author { | |
font-style: italic; | |
} | |
#controlsContainer { | |
width: auto; | |
} | |
#progress { | |
margin: 15px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<core-input placeholder="Type something..." type="{{ $.speech_mic.transcript }}" id="core_input"></core-input> | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-toolbar> | |
<core-menu selected="Item1" 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="av:news" id="core_submenu"> | |
<core-item label="Top Stories" icon="google" id="core_item" on-tap="gNewsTapped" horizontal center layout active></core-item> | |
</core-submenu> | |
<core-submenu label="Podcasts" icon="favorite" id="core_submenu1"> | |
<core-item label="TWIT Google" id="core_item2" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Monkey App</div> | |
<div id="contentRegion" horizontal layout center-justified> | |
<core-card id="core_card" layout vertical center-justified> | |
<div id="container" layout horizontal> | |
<div id="prevButtonDiv" layout vertical center justified-center center-justified> | |
<paper-icon-button icon="chevron-left" id="prevArticle"></paper-icon-button> | |
</div> | |
<div id="contentContainer" layout center vertical> | |
<h1 id="title">{{ title }}</h1> | |
<h5 id="author">{{ author }}</h5> | |
<p id="word">{{ word }}</p> | |
<div id="controlsContainer" layout center vertical center-justified> | |
<paper-progress value="5" ratio="5" id="progress"></paper-progress> | |
<div id="buttonControlContainer" layout center horizontal> | |
<paper-icon-button icon="menu" id="paper_icon_button1"></paper-icon-button> | |
<paper-icon-button icon="arrow-drop-up" id="paper_icon_button1"></paper-icon-button> | |
<paper-icon-button icon="arrow-drop-down" id="paper_icon_button1"></paper-icon-button> | |
</div> | |
</div> | |
</div> | |
<div id="nextButtonDiv" layout vertical center justified-center center-justified> | |
<paper-icon-button icon="chevron-right" id="paper_icon_button1"></paper-icon-button> | |
</div> | |
</div> | |
</core-card> | |
</div> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer('monkey-app', { | |
title: 'Pres dog', | |
author: 'rush limbaugh cheese', | |
word: 'wednesday', | |
gNewsTapped: function () {} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment