Created
July 8, 2014 21:39
-
-
Save smiller171/a5b5d2744369313c303a 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-menu/core-submenu.html"> | |
<link rel="import" href="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<link rel="import" href="../paper-button/paper-button.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"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
background-color: rgb(214, 41, 46); | |
} | |
#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_card { | |
width: 60%; | |
height: 100%; | |
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; | |
padding: 5%; | |
margin: 15%; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_field { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_scroll_header_panel { | |
width: 380px; | |
height: 460px; | |
left: 1060px; | |
top: 500px; | |
} | |
#core_selector { | |
width: 100%; | |
height: 50px; | |
left: 1100px; | |
top: 590px; | |
} | |
#core_field1 { | |
left: 1010px; | |
top: 550px; | |
} | |
#core_scaffold1 { | |
position: absolute; | |
top: 430px; | |
right: 0px; | |
bottom: 0px; | |
left: 990px; | |
} | |
#section { | |
left: 1020px; | |
top: 490px; | |
} | |
#core_menu1 { | |
font-size: 16px; | |
width: 100%; | |
} | |
#core_submenu2 { | |
width: 100%; | |
} | |
#paper_radio_group { | |
width: 100%; | |
} | |
#paper_button { | |
left: 60%; | |
background-color: rgb(12, 155, 186); | |
} | |
#core_card1 { | |
width: 90%; | |
height: 100%; | |
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: 5%; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_menu2 { | |
font-size: 16px; | |
} | |
</style> | |
<core-scaffold responsivewidth="{{ $.core_header_panel.width }}" id="core_scaffold" horizontal layout> | |
<div id="div" tool>VapeTech</div> | |
<core-card id="core_card" horizontal layout start> | |
<core-menu selected="0" selectedindex="0" id="core_menu1"> | |
<core-submenu active selected="1" label="What are you looking for?" valueattr="name" id="core_submenu2"> | |
<paper-radio-group selected="Battery" valueattr="label" selectedindex="0" id="paper_radio_group" vertical layout> | |
<paper-radio-button checked label="Battery" id="paper_radio_button"></paper-radio-button> | |
<paper-radio-button label="Tank" id="paper_radio_button1"></paper-radio-button> | |
<paper-radio-button label="Starter Kit" id="paper_radio_button2"></paper-radio-button> | |
</paper-radio-group> | |
<paper-button label="Next" id="paper_button" end end-justified></paper-button> | |
</core-submenu> | |
</core-menu> | |
</core-card> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar" horizontal layout> | |
<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 placeholder="Not yet functional" value="{{ $.speech_mic.transcript }}" id="core_input" flex></core-input> | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-field> | |
</core-toolbar> | |
<core-menu selected="Browse" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme"> | |
<core-item label="Component Finder" icon="launch" size="24" id="core_item" horizontal center layout></core-item> | |
<core-submenu active selected="0" label="Browse" icon="settings" valueattr="name" id="core_submenu"> | |
<core-submenu active selected="1" label="Batteries" valueattr="name" id="core_submenu1"> | |
<core-item label="All" size="24" id="core_item3" horizontal center layout></core-item> | |
<core-item label="eGo" size="24" id="core_item4" horizontal center layout active></core-item> | |
<core-item label="510" size="24" id="core_item1" horizontal center layout></core-item> | |
</core-submenu> | |
</core-submenu> | |
</core-menu> | |
</core-header-panel> | |
<core-card id="core_card1" layout vertical> | |
<core-menu selected="0" selectedindex="0" id="core_menu2"> | |
<core-submenu label="Topics" icon="settings" valueattr="name" id="core_submenu3"> | |
<core-item label="Topic 1" size="24" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Topic 2" size="24" id="core_item5" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</core-card> | |
</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