Skip to content

Instantly share code, notes, and snippets.

@sscholle
Last active August 29, 2015 14:06
Show Gist options
  • Save sscholle/d157a5c22723b5e9986a to your computer and use it in GitHub Desktop.
Save sscholle/d157a5c22723b5e9986a to your computer and use it in GitHub Desktop.
designer
<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-menu/core-submenu.html">
<link rel="import" href="../core-input/core-input.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;
}
#core_menu1 {
font-size: 16px;
}
#core_card {
width: auto;
height: auto;
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;
background-color: rgb(255, 255, 255);
}
#core_card1 {
width: auto;
height: auto;
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;
background-color: rgb(255, 255, 255);
}
#core_field {
left: 1150px;
top: 670px;
}
#core_input {
padding: 15px;
}
#core_input1 {
padding: 15px;
}
</style>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-card id="core_card" layout vertical>
<core-menu selected="0" selectedindex="0" id="core_menu1">
<core-submenu active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item2" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item4" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item5" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item6" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</core-card>
<core-card id="core_card1" layout vertical>
<core-input willvalidate placeholder="ID" inputvalue="undefined" value="undefined" id="core_input"></core-input>
<core-input willvalidate placeholder="TYPE" inputvalue="undefined" value="undefined" id="core_input1"></core-input>
</core-card>
</core-header-panel>
<div id="div" tool><game-name></div>
</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