Last active
August 29, 2015 14:16
-
-
Save 7NT/15a65b1c820c25fb0a85 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-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"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="jb-lobby"> | |
<template> | |
<style> | |
body /deep/ core-toolbar { | |
background-color: rgb(15, 167, 88); | |
} | |
core-toolbar { | |
color: rgb(255, 255, 255); | |
fill: currentcolor; | |
} | |
core-menu { | |
fill: currentcolor; | |
} | |
#core_scaffold { | |
right: 0px; | |
bottom: 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_field { | |
left: 28px; | |
top: 10px; | |
width: 250px; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_tabs { | |
width: 480px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#paper_button { | |
left: 923px; | |
top: 10px; | |
position: absolute; | |
} | |
</style> | |
<core-scaffold id="core_scaffold" end> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="p_toolbar"> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<input id="core_input" flex placeholder="Search player..."> | |
<speech-mic transcript="good" completetranscript="good" id="speech_mic"></speech-mic> | |
</core-field> | |
</core-toolbar> | |
<core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item> | |
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout active></core-item> | |
</core-menu> | |
</core-header-panel> | |
<paper-icon-button icon="polymer" id="paper_icon_button" tool start></paper-icon-button> | |
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout tool> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
<template repeat="{{r in rooms}}"> | |
<paper-tab id="paper_tab{{r.name}}">{{r.name}}</paper-tab> | |
</template> | |
</paper-tabs> | |
<paper-button raised id="paper_button" tool>Login...</paper-button> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
ready: function (){ | |
this.rooms=[ | |
{name:"News"}, | |
{name:"Lobby"}, | |
{name:"Tourney"}, | |
{name:"Team Game"} | |
] | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment