Skip to content

Instantly share code, notes, and snippets.

@dannyhanes
Last active August 29, 2015 14:11
Show Gist options
  • Save dannyhanes/d9c35039cb0f72b7c5db to your computer and use it in GitHub Desktop.
Save dannyhanes/d9c35039cb0f72b7c5db 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-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.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_card {
position: absolute;
width: 500px;
height: 100px;
border-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);
}
#core_card1 {
position: absolute;
width: 500px;
height: 100px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
top: 115px;
margin: 15px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
position: absolute;
width: 500px;
height: 100px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
top: 230px;
margin: 15px;
background-color: rgb(255, 255, 255);
}
#topeka_profile {
width: 300px;
height: 300px;
left: 1020px;
top: 920px;
position: absolute;
}
#topeka_profile1 {
width: 300px;
height: 300px;
left: 1430px;
top: 950px;
}
#topeka_category {
width: 300px;
height: 300px;
left: 970px;
top: 790px;
position: absolute;
}
#topeka_datasource {
left: 1430px;
top: 960px;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1430px;
top: 890px;
}
#topeka_categories {
width: 300px;
height: 300px;
left: 1360px;
top: 950px;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 1400px;
top: 980px;
background-color: rgb(0, 188, 212);
}
#paper_slider {
left: 1410px;
top: 1030px;
}
#paper_radio_group {
left: 1400px;
top: 980px;
}
#paper_radio_button {
left: 1470px;
top: 930px;
}
#paper_progress {
left: 1440px;
top: 880px;
}
#paper_icon_button {
left: 1450px;
top: 770px;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 1370px;
top: 740px;
}
#core_icon {
margin: 15px;
width: 45px;
height: 45px;
top: 15px;
}
#core_tooltip {
left: 1490px;
top: 1060px;
}
#input {
padding: 15px;
left: 1370px;
top: 1060px;
}
#notification_alert {
left: 1440px;
top: 980px;
}
#paper_toast {
left: 1430px;
top: 1110px;
}
#paper_item {
left: 1310px;
top: 740px;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1360px;
top: 960px;
}
#core_drawer_panel {
position: absolute;
top: 930px;
right: 0px;
bottom: 0px;
left: 1410px;
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 1340px;
top: 840px;
}
#core_menu1 {
font-size: 16px;
left: 1420px;
top: 1050px;
}
#core_menu_button {
left: 2400px;
top: 970px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1420px;
top: 1030px;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1390px;
top: 960px;
}
#core_ajax {
left: 1400px;
top: 780px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 1230px;
top: 800px;
background-color: rgb(238, 238, 238);
}
#core_icon1 {
left: 1440px;
top: 970px;
}
#core_icon_button {
left: 1360px;
top: 1010px;
}
#section {
width: 50px;
left: 100px;
position: absolute;
top: 45px;
}
</style>
<core-scaffold drawerwidth="400px" responsivewidth="800px" id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar">Home</core-toolbar>
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="Things" horizontal center layout active></core-item>
<core-item id="core_item1" icon="settings" label="Account" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>SmartThings</div>
<core-card id="core_card" layout vertical>
<core-icon icon="view-module" id="core_icon"></core-icon>
<section id="section">
<font id="font" size="8">Things</font>
</section>
</core-card>
<core-card id="core_card1" layout vertical>
<section id="section1">sdfsdfsdf</section>
</core-card>
<core-card id="core_card2" layout vertical></core-card>
</core-scaffold>
<font size="40">
</font>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment